Skip to content

Commit e57bf14

Browse files
xfail instead of skip matmul tests (#5397)
Small fix to improve pass rate after enabling matmul test in #5379
1 parent a12b4bc commit e57bf14

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

python/test/unit/language/test_matmul.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1218,14 +1218,14 @@ def test_mxfp8_mxfp4_matmul(M, N, K, BLOCK_M, BLOCK_N, BLOCK_K, NUM_STAGES, B_TR
12181218
pytest.skip("Float4 without scale is tested in test_block_scale_fp4")
12191219
elif is_xpu():
12201220
if not (WITH_A_SCALE and WITH_B_SCALE):
1221-
pytest.skip("None scale has not been tested on XPU backend")
1221+
pytest.xfail("None scale has not been tested on XPU backend")
12221222
if not (A_DATA_TYPE == "float8e5" and B_DATA_TYPE == "float4"):
1223-
pytest.skip(f"(A: {A_DATA_TYPE}, B: {B_DATA_TYPE}) has not been tested on XPU backend")
1223+
pytest.xfail(f"(A: {A_DATA_TYPE}, B: {B_DATA_TYPE}) has not been tested on XPU backend")
12241224
if (BLOCK_M, BLOCK_N,
12251225
BLOCK_K) == (128, 256,
12261226
256) and CONST_SCALE and triton.runtime.driver.active.utils.get_device_properties(
12271227
triton.runtime.driver.active.get_current_device())["max_shared_mem"] < 196608:
1228-
pytest.skip("XPU: Not enough shared memory")
1228+
pytest.xfail("XPU: Not enough shared memory")
12291229
if not PACK_B_ALONG_K and B_DATA_TYPE != "float4":
12301230
pytest.xfail("Pack along K can only be False for float4")
12311231

0 commit comments

Comments
 (0)