Skip to content

Commit 868c2ed

Browse files
GregoryComerfacebook-github-bot
authored andcommitted
Disable XNNPACK workspace sharing by default
Summary: Disable workspace sharing by default. There is currently a crash that occurs when workspace sharing is enabled when freeing the delegate. This change will increase ET memory usage, but needs to be done until we address the root cause. After we are confident that it is fixed, we will revert this change. Differential Revision: D64352037
1 parent aa852cc commit 868c2ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backends/xnnpack/targets.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ def _get_preprocessor_flags():
66
Disable if someone explictly specified a config option,
77
else Enable otherwise
88
"""
9-
if native.read_config("executorch", "xnnpack_workspace_sharing", "1") == "0":
9+
if native.read_config("executorch", "xnnpack_workspace_sharing", "0") == "0":
1010
return []
1111

1212
# Enable if not disabled through config

0 commit comments

Comments
 (0)