Skip to content

Commit 6d998fd

Browse files
authored
Prepare for recursive DCE PR
Differential Revision: D74258299 Pull Request resolved: #10730
1 parent e60958a commit 6d998fd

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

exir/tests/test_passes.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -682,7 +682,6 @@ def test_dce_recursive(self) -> None:
682682
inputs = eager_model.get_random_inputs()
683683
gm = export(eager_model, inputs, strict=True).graph_module
684684

685-
self.assertTrue(torch.ops.aten.sub.Tensor in collect_ops(gm))
686685
dead_code_elimination_pass(gm)
687686
gm.print_readable()
688687
self.assertFalse(torch.ops.aten.sub.Tensor in collect_ops(gm))

0 commit comments

Comments
 (0)