Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shunting314/13aec768bda986056d0fb40dce53396e to your computer and use it in GitHub Desktop.
Save shunting314/13aec768bda986056d0fb40dce53396e to your computer and use it in GitHub Desktop.
diff --git a/torch/_inductor/fx_passes/joint_graph.py b/torch/_inductor/fx_passes/joint_graph.py
index ad134decd22..1d7bf8dc203 100644
--- a/torch/_inductor/fx_passes/joint_graph.py
+++ b/torch/_inductor/fx_passes/joint_graph.py
@@ -320,7 +320,7 @@ def joint_graph_passes(graph: torch.fx.GraphModule):
from .post_grad import remove_noop_ops
- remove_noop_ops(graph.graph)
+ # remove_noop_ops(graph.graph)
if config.joint_graph_constant_folding:
with GraphTransformObserver(
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment