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: