[Bugfix][Build/CI] Fix sparse CUTLASS compilation on CUDA [12.0, 12.2) (#11311)
Signed-off-by: Tyler Michael Smith <tyler@neuralmagic.com>
This commit is contained in:
@@ -552,6 +552,11 @@ def cutlass_scaled_mm_azp(a: torch.Tensor,
|
||||
return out
|
||||
|
||||
|
||||
def cutlass_sparse_scaled_mm_supported(cuda_device_capability: int) -> bool:
|
||||
return torch.ops._C.cutlass_sparse_scaled_mm_supported(
|
||||
cuda_device_capability)
|
||||
|
||||
|
||||
def cutlass_sparse_compress(a: torch.Tensor) \
|
||||
-> Tuple[torch.Tensor, torch.Tensor]:
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user