8000 [FP8][CUTLASS] xFail `honor_sm_carveout` on `sm100` by eqy · Pull Request #152378 · pytorch/pytorch · GitHub
[go: up one dir, main page]

Skip to content

[FP8][CUTLASS] xFail honor_sm_carveout on sm100 #152378

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 10 additions & 2 deletions test/test_matmul_cuda.py
Original file line number Diff line number Diff line change
Expand Up @@ -1424,8 +1424,16 @@ def test_honor_sm_carveout(self) -> None:
]

self.assertEqual(no_carveout, no_carveout_again)
self.assertNotEqual(no_carveout, carveout_66)
self.assertNotEqual(carveout_66, carveout_0)
capability = torch.cuda.get_device_capability()
if capability == (10, 0):
# expected failure
# CUTLASS only supports SM carveout via green contexts on SM100
self.assertEqual(no_carveout, carveout_66)
self.assertEqual(carveout_66, carveout_0)
else:
# correct behavior
self.assertNotEqual(no_carveout, carveout_66)
self.assertNotEqual(carveout_66, carveout_0)

def test_pack_uint4(self):
"""
Expand Down
Loading
0