Skip to content

Commit ce767cb

Browse files
GregoryComerfacebook-github-bot
authored andcommitted
Disable XNNPACK workspace sharing by default (#6199)
Summary: Pull Request resolved: #6199 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. Reviewed By: kirklandsign Differential Revision: D64352037 fbshipit-source-id: 7fcebcea01d9b41d7fb4b884c37902f8617a31f9
1 parent 8101bf1 commit ce767cb

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)