From d8385aac08c6105b5b3ff8e392a59d2078fb28c5 Mon Sep 17 00:00:00 2001 From: thchenqti Date: Wed, 25 Jun 2025 17:08:35 +0800 Subject: [PATCH] red --- backends/qualcomm/_passes/remove_redundancy.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backends/qualcomm/_passes/remove_redundancy.py b/backends/qualcomm/_passes/remove_redundancy.py index 22d476ef21b..502d3248aaf 100644 --- a/backends/qualcomm/_passes/remove_redundancy.py +++ b/backends/qualcomm/_passes/remove_redundancy.py @@ -50,7 +50,7 @@ def _dim_order_op_condition(self, node): def _to_copy_op_condition(self, node): return "memory_format" in node.kwargs - def _default_condition(self, ndoe): + def _default_condition(self, node): return True def _remove(self, graph_module: torch.fx.GraphModule) -> torch.fx.GraphModule: