Skip to content

Commit c4ec988

Browse files
Arm backend: add missing buck deps for transform passes in arm_pass_manager (#19191)
### Summary arm_pass_manager.py imports three transform modules that were missing from the arm_pass_manager_base buck target deps: - fuse_cascaded_transpose_or_permute_ops - postpone_permute_below_squeeze_view - remove_permutes_around_elementwise_ops This caused ModuleNotFoundError at import time, breaking ARM backend test collection. Differential Revision: D102650122 cc @digantdesai @freddan80 @per @zingo @oscarandersson8218 @mansnils @Sebastian-Larsson @robell Co-authored-by: Matthias Cremon <matthiascremon@meta.com>
1 parent a88b7d1 commit c4ec988

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

backends/arm/_passes/TARGETS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ runtime.python_library(
2525
"//executorch/backends/arm:common",
2626
"//executorch/backends/arm/tosa:utils",
2727
"//executorch/backends/arm/tosa/dialect:lib",
28+
"//executorch/backends/transforms:fuse_cascaded_transpose_or_permute_ops",
29+
"//executorch/backends/transforms:postpone_permute_below_squeeze_view",
30+
"//executorch/backends/transforms:remove_permutes_around_elementwise_ops",
2831
"//executorch/exir:lib",
2932
],
3033
)

0 commit comments

Comments
 (0)