[XPU][UT] skip fp8_per_channel test on XPU (#54861)
Signed-off-by: mayuyuace <qiming1.zhang@intel.com>
Qiming Zhang committed
Sep 1, 2026 at 22:17 UTC
aae36577fb370c365b46ea67ee8566db376cb639
1 file changed
+5
-2
tests/quantization/test_online.py
+5
-2
@@ -202,8 +202,11 @@ def test_online_quantization(
202
monkeypatch.setenv("VLLM_ROCM_USE_AITER", "1" if use_rocm_aiter else "0")
203
rocm_aiter_ops.refresh_env_variables()
204
205
- if current_platform.is_xpu() and quant_scheme == "fp8_per_block":
206
- pytest.skip("Skip test for online fp8_per_block on XPU platform.")
205
+ if current_platform.is_xpu() and quant_scheme in (
206
+ "fp8_per_block",
207
+ "fp8_per_channel",
208
+ ):
209
+ pytest.skip(f"Skip test for online {quant_scheme} on XPU platform.")
210
211
model_name = "ibm-granite/granite-3.0-1b-a400m-base"
212
model, vllm_config = load_model_without_vllm_runner(