Skip to content

Commit 0807724

Browse files
Cortex-M backend: Refactor quantized_op_fusion_pass (#20179)
Move to use the AtenToCortexMPass instead. Signed-off-by: Adrian Lundell <adrian.lundell@arm.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
1 parent fe9bc95 commit 0807724

5 files changed

Lines changed: 380 additions & 373 deletions

File tree

backends/cortex_m/passes/BUCK

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ fbcode_target(_kind = runtime.python_library,
1313
name="replace_quant_nodes_pass",
1414
srcs=[
1515
"replace_quant_nodes_pass.py",
16-
"quantized_op_fusion_pass.py",
1716
],
1817
deps=[
1918
"//caffe2:torch",

backends/cortex_m/passes/__init__.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,5 @@ def _ensure_cortex_m_dependencies() -> None:
4141
from .decompose_hardswish_pass import DecomposeHardswishPass # noqa
4242
from .decompose_mean_pass import DecomposeMeanPass # noqa
4343
from .quantized_clamp_activation_pass import QuantizedClampActivationPass # noqa
44-
from .quantized_op_fusion_pass import QuantizedOpFusionPass # noqa
4544
from .replace_quant_nodes_pass import ReplaceQuantNodesPass # noqa
4645
from .cortex_m_pass_manager import CortexMPassManager # noqa # usort: skip

0 commit comments

Comments
 (0)