mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 21:14:14 +08:00
@ngimel is right, `ciflow/h100` doesn't actually appear to test the PR :( Pull Request resolved: https://github.com/pytorch/pytorch/pull/163354 Approved by: https://github.com/ngimel, https://github.com/Skylion007
This commit is contained in:
@ -1550,7 +1550,7 @@ class TestFP8Matmul(TestCase):
|
||||
|
||||
# only cuBLAS supports rowwise with fp32 output and cuBLAS only supports
|
||||
# rowwise on SM 9.0
|
||||
if torch.cuda.get_device_capability != (9, 0) and output_dtype == torch.float:
|
||||
if torch.cuda.get_device_capability() != (9, 0) and output_dtype == torch.float:
|
||||
with self.assertRaisesRegex(
|
||||
RuntimeError,
|
||||
"Only bf16 high precision output types are supported for row-wise scaling."
|
||||
|
Reference in New Issue
Block a user