[FP8] Add other Blackwell compute-capabiilities to expected fail test_honor_sm_carveout (#165159)

CUTLASS SM hint also isn't working for other Blackwells, need green context for carveout

Pull Request resolved: https://github.com/pytorch/pytorch/pull/165159
Approved by: https://github.com/Skylion007
This commit is contained in:
eqy
2025-10-16 18:35:01 +00:00
committed by PyTorch MergeBot
parent 7d87d7052e
commit a214371008

View File

@ -1211,7 +1211,7 @@ class TestFP8Matmul(TestCase):
self.assertEqual(no_carveout, no_carveout_again)
capability = torch.cuda.get_device_capability()
if capability == (10, 0):
if capability in {(10, 0), (10, 3), (12, 0), (12, 1)}:
# expected failure
# CUTLASS only supports SM carveout via green contexts on SM100
self.assertEqual(no_carveout, carveout_66)