Skip to content

Commit a25e233

Browse files
kimishpatelmalfet
authored andcommitted
Disabling xnnpack except for dynamic quantlized linear (pytorch#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 d59a822 commit a25e233

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

export_et.py

-1
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)