A high-throughput and memory-efficient inference and serving engine for LLMs
Mirrored from https://github.com/tduncan-lum/Nvidia-Optimization-Stack---VLLM.git
Synced Nov 10, 22:45 UTC
[XPU][CI]skip test_preprocess_error_handling due to fork/spawn issue (#31381)
Signed-off-by: Kunshang Ji <kunshang.ji@intel.com>
Kunshang Ji committed
Dec 27, 2025 at 05:40 UTC
5326c89803566a131c928f7fdd2100b75c981a42
1 file changed
+3
-2
tests/v1/engine/test_preprocess_error_handling.py
+3
-2
@@ -15,9 +15,10 @@ MODEL_NAME = "hmellor/tiny-random-LlamaForCausalLM"
15
def test_preprocess_error_handling(monkeypatch: pytest.MonkeyPatch):
16
"""Test that preprocessing errors are handled gracefully."""
17
18
- if current_platform.is_rocm():
18
+ if current_platform.is_rocm() or current_platform.is_xpu():
19
pytest.skip(
20
- "Skipped on ROCm: this test only works with 'fork', but ROCm uses 'spawn'."
20
+ "Skipped on ROCm/XPU: this test only works with 'fork', "
21
+ "but ROCm/XPU uses 'spawn'."
22
)
23
24
assert not torch.cuda.is_initialized(), (