Skip to content

Commit 3cda01c

Browse files
authored
Ignore language/test_cublas.py directly in test-triton.sh (#2908)
Part of #2030 This change does not affect the pass rate. --------- Signed-off-by: Anatoly Myachev <[email protected]>
1 parent 613ab8b commit 3cda01c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

python/test/unit/runtime/test_cublas.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def is_cuda():
1818
def test_cublas(m, n, k, dtype_str, device):
1919
dtype = getattr(torch, dtype_str)
2020
if not is_cuda():
21-
pytest.xfail("test_cublas is only supported on CUDA")
21+
pytest.skip("test_cublas is only supported on CUDA")
2222
if dtype == torch.float8_e4m3fn and torch.cuda.get_device_capability()[0] < 9:
2323
pytest.skip("fp8 is only supported on CUDA with cc >= 90")
2424

scripts/test-triton.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@ run_core_tests() {
189189

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

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

0 commit comments

Comments
 (0)