Skip to content

Commit 1052b0c

Browse files
committed
removed two ouputs so need to update index"
1 parent e2b4cc9 commit 1052b0c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_fake_tensor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1044,7 +1044,7 @@ def forward(self, arg1, arg2, arg3):
10441044
# We expect the cross ref to succed for the first output to fail
10451045
# for the rng state, see Note [Seed and Offset]
10461046
self.assertTrue("output[0]" not in str(e))
1047-
self.assertTrue("found mismatched tensor metadata for output[6]: Devices cpu and cuda:0 are not equal!" in str(e))
1047+
self.assertTrue("found mismatched tensor metadata for output[4]: Devices cpu and cuda:0 are not equal!" in str(e))
10481048

10491049
@skipIfRocm
10501050
@unittest.skipIf(not RUN_CUDA, "requires cuda")

0 commit comments

Comments
 (0)