8000 Update on "[Inductor] Pattern matcher support for mutable ops with no… · pytorch/pytorch@044bd49 · GitHub
[go: up one dir, main page]

Skip to content

Commit 044bd49

Browse files
committed
Update on "[Inductor] Pattern matcher support for mutable ops with non-view inputs"
Fixes the non-view input use case in #152441. Pull-Request-resolved: #152767 cc voznesenskym penguinwu EikanWang jgong5 Guobing-Chen XiaobingSuper zhuhaozhe blzheng wenzhe-nrv jiayisunx ipiszy chenyang78 kadeng muchulee8 amjames chauhang aakhundov [ghstack-poisoned]
1 parent c4d23b8 commit 044bd49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/inductor/test_pattern_matcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1747,7 +1747,7 @@ def f2_replaced(x):
17471747
f2_replaced_inp = inp.clone().detach()
17481748
f2_out = f2(f2_inp)
17491749
f2_replaced_out = f2_replaced(f2_replaced_inp)
1750-
self.assertEqual(f1_inp, f1_replaced_inp)
1750+
self.assertEqual(f2_inp, f2_replaced_inp)
17511751
self.assertEqual(f2_out, f2_replaced_out)
17521752
self.assertEqual(count, 1)
17531753

0 commit comments

Comments
 (0)
0