Skip to content

Commit

Permalink
Disabling xnnpack except for dynamic quantlized linear (#391)
Browse files Browse the repository at this point in the history
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:
  • Loading branch information
kimishpatel authored Apr 22, 2024
1 parent f5aa396 commit 64840c3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion export_et.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,6 @@ def export_model(model, device, output_path, args=None) -> str: # noqa: C901
edge_compile_config=edge_config,
)
edge_manager = edge_manager.to_backend(XnnpackDynamicallyQuantizedPartitioner())
edge_manager = edge_manager.to_backend(XnnpackPartitioner())
export_program = edge_manager.to_executorch(
ExecutorchBackendConfig(
extract_constant_segment=True,
Expand Down

0 comments on commit 64840c3

Please sign in to comment.