Skip to content

Commit

Permalink
Ignore language/test_cublas.py directly in test-triton.sh (#2908)
Browse files Browse the repository at this point in the history
Part of #2030

This change does not affect the pass rate.

---------

Signed-off-by: Anatoly Myachev <[email protected]>
  • Loading branch information
anmyachev authored Dec 3, 2024
1 parent 613ab8b commit 3cda01c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/test/unit/runtime/test_cublas.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def is_cuda():
def test_cublas(m, n, k, dtype_str, device):
dtype = getattr(torch, dtype_str)
if not is_cuda():
pytest.xfail("test_cublas is only supported on CUDA")
pytest.skip("test_cublas is only supported on CUDA")
if dtype == torch.float8_e4m3fn and torch.cuda.get_device_capability()[0] < 9:
pytest.skip("fp8 is only supported on CUDA with cc >= 90")

Expand Down
2 changes: 1 addition & 1 deletion scripts/test-triton.sh
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ run_core_tests() {

# run runtime tests serially to avoid race condition with cache handling.
TRITON_DISABLE_LINE_INFO=1 TRITON_TEST_SUITE=runtime \
pytest --verbose --device xpu runtime/
pytest --verbose --device xpu runtime/ --ignore=runtime/test_cublas.py

TRITON_TEST_SUITE=debug \
pytest --verbose -n ${PYTEST_MAX_PROCESSES:-8} test_debug.py --forked --device xpu
Expand Down

0 comments on commit 3cda01c

Please sign in to comment.