Skip to content

Commit a688e0a

Browse files
authored
[rocm6.3_internal_testing] Fixed error string assertion in test_invalid_devices (#1607)
Fixes pytorch#8974
1 parent 079b3a2 commit a688e0a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torch/testing/_internal/distributed/nn/api/remote_module_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ def test_invalid_devices(self):
616616
if TEST_WITH_ROCM:
617617
errorString = (r"HIP error: invalid device ordinal\n"
618618
r"HIP kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect.\n"
619-
r"For debugging consider passing AMD_SERIALIZE_KERNEL=3.")
619+
r"For debugging consider passing AMD_SERIALIZE_KERNEL=3")
620620
else:
621621
errorString = r"CUDA error: invalid device ordinal"
622622
with self.assertRaisesRegex(

0 commit comments

Comments
 (0)