Skip to content

Commit 64840c3

Browse files
authored
Disabling xnnpack except for dynamic quantlized linear (#391)
Summary: In executorch this path was slower compared to using optimized ops. We did not debug that further, but for now just disabled it. Test Plan: CI Reviewers: Subscribers: Tasks: Tags:
1 parent f5aa396 commit 64840c3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

export_et.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,6 @@ def export_model(model, device, output_path, args=None) -> str: # noqa: C901
9797
edge_compile_config=edge_config,
9898
)
9999
edge_manager = edge_manager.to_backend(XnnpackDynamicallyQuantizedPartitioner())
100-
edge_manager = edge_manager.to_backend(XnnpackPartitioner())
101100
export_program = edge_manager.to_executorch(
102101
ExecutorchBackendConfig(
103102
extract_constant_segment=True,

0 commit comments

Comments
 (0)