Skip to content

Commit b1ecf65

Browse files
authored
skip the sparse rowwise fp8 cutlass kernel test on ROCm (#1906)
Update [ghstack-poisoned]
1 parent 6b76adb commit b1ecf65

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test_ops_rowwise_scaled_linear_sparse_cutlass.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
_float8_cutlass_quant_sparse,
1919
)
2020
from torchao.sparsity.utils import create_semi_structured_tensor
21+
from torchao.testing.utils import skip_if_rocm
2122

2223
DTYPES = [torch.float16, torch.bfloat16]
2324
XQ_WQ_DTYPES = [
@@ -104,6 +105,7 @@ def run_test_for_op(
104105
)
105106

106107

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

0 commit comments

Comments
 (0)