Skip to content

skip the sparse rowwise fp8 cutlass kernel test on ROCm #1906

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

Merged
merged 1 commit into from
Mar 17, 2025
Merged
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
2 changes: 2 additions & 0 deletions test/test_ops_rowwise_scaled_linear_sparse_cutlass.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
_float8_cutlass_quant_sparse,
)
from torchao.sparsity.utils import create_semi_structured_tensor
from torchao.testing.utils import skip_if_rocm

DTYPES = [torch.float16, torch.bfloat16]
XQ_WQ_DTYPES = [
Expand Down Expand Up @@ -99,6 +100,7 @@ def run_test_for_op(
)


@skip_if_rocm("does not yet work on ROCm")
@pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA not available")
@pytest.mark.skipif(not SM90OrLater, reason="FP8 is only supported on H100+ devices")
@pytest.mark.parametrize(
Expand Down
Loading