[Bugfix] Register fp8 cutlass_group_gemm as supported for only SM90+SM100 (#33285)

Signed-off-by: mgoin <mgoin64@gmail.com>
This commit is contained in:
Michael Goin
2026-01-28 21:40:59 -05:00
committed by GitHub
parent 141cd43967
commit 1bd47d6e5a

View File

@@ -789,6 +789,8 @@ def cutlass_sparse_scaled_mm_supported(cuda_device_capability: int) -> bool:
def cutlass_group_gemm_supported(cuda_device_capability: int) -> bool:
if cuda_device_capability < 90 or cuda_device_capability >= 110:
return False
try:
return torch.ops._C.cutlass_group_gemm_supported(cuda_device_capability)
except AttributeError: