Skip to content

Commit 8697fe4

Browse files
authored
Fix broken tests from elide view copy
Differential Revision: D69344570 Pull Request resolved: #8329
1 parent 71b8b75 commit 8697fe4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

exir/tests/test_memory_planning.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -756,18 +756,18 @@ def forward(self, input, label):
756756

757757
ep.dump_executorch_program(True)
758758

759-
# 155 just so happens to be the index of the user_grad output arg of
759+
# 147 just so happens to be the index of the user_grad output arg of
760760
# convolution_backward.out. This is fairly fragile.
761761
# Check that the None output is not memory planned.
762762
self.assertEqual(
763763
ep.executorch_program.execution_plan[0]
764-
.values[155]
764+
.values[147]
765765
.val.data_buffer_idx, # pyright: ignore
766766
0,
767767
)
768768
self.assertEqual(
769769
ep.executorch_program.execution_plan[0]
770-
.values[155]
770+
.values[147]
771771
.val.allocation_info, # pyright: ignore
772772
None,
773773
)

0 commit comments

Comments
 (0)