Skip to content

Skip failing tests for rowwise-scaled #2022

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
Apr 4, 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
3 changes: 3 additions & 0 deletions test/test_ops_rowwise_scaled_linear_cutlass.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
_int4_symm_cutlass_quant,
_int8_symm_cutlass_quant,
)
from torchao.testing.utils import get_compute_capability

DTYPES = [torch.float16, torch.bfloat16]
BATCH_SIZE = [1, 4, 8, 16, 32, 64]
Expand Down Expand Up @@ -87,6 +88,7 @@ def run_test_for_op(op, dtype, batch_size, size_mnk, use_bias):


@pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA not available")
@pytest.mark.skipif(get_compute_capability() != 8.0, reason="Only supported on A100")
@pytest.mark.parametrize("dtype, batch_size, size_mnk, use_bias", TEST_PARAMS)
def test_rowwise_scaled_linear_cutlass_s4s4(dtype, batch_size, size_mnk, use_bias):
run_test_for_op(
Expand All @@ -99,6 +101,7 @@ def test_rowwise_scaled_linear_cutlass_s4s4(dtype, batch_size, size_mnk, use_bia


@pytest.mark.skipif(not torch.cuda.is_available(), reason="CUDA not available")
@pytest.mark.skipif(get_compute_capability() != 8.0, reason="Only supported on A100")
@pytest.mark.parametrize("dtype, batch_size, size_mnk, use_bias", TEST_PARAMS)
def test_rowwise_scaled_linear_cutlass_s8s4(dtype, batch_size, size_mnk, use_bias):
run_test_for_op(
Expand Down
Loading