mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
[FP8][CUDA] Fix stale expected error message (#136581)
CC @nWEIdia as I think we have seen internal failures on this Pull Request resolved: https://github.com/pytorch/pytorch/pull/136581 Approved by: https://github.com/mikaylagawarecki
This commit is contained in:
@ -655,7 +655,7 @@ class TestFP8MatmulCuda(TestCase):
|
||||
|
||||
with self.assertRaisesRegex(
|
||||
RuntimeError,
|
||||
re.escape("For RowWise scaling the second input is required to be a float8_e4m3fn dtype."),
|
||||
re.escape("Expected b.dtype() == at::kFloat8_e4m3fn to be true, but got false."),
|
||||
):
|
||||
torch._scaled_mm(
|
||||
x_fp8,
|
||||
|
Reference in New Issue
Block a user