Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
vllm_cscc
Commits
5326c898
Unverified
Commit
5326c898
authored
Dec 27, 2025
by
Kunshang Ji
Committed by
GitHub
Dec 26, 2025
Browse files
[XPU][CI]skip test_preprocess_error_handling due to fork/spawn issue (#31381)
Signed-off-by:
Kunshang Ji
<
kunshang.ji@intel.com
>
parent
87f1b8ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
tests/v1/engine/test_preprocess_error_handling.py
tests/v1/engine/test_preprocess_error_handling.py
+3
-2
No files found.
tests/v1/engine/test_preprocess_error_handling.py
View file @
5326c898
...
@@ -15,9 +15,10 @@ MODEL_NAME = "hmellor/tiny-random-LlamaForCausalLM"
...
@@ -15,9 +15,10 @@ MODEL_NAME = "hmellor/tiny-random-LlamaForCausalLM"
def
test_preprocess_error_handling
(
monkeypatch
:
pytest
.
MonkeyPatch
):
def
test_preprocess_error_handling
(
monkeypatch
:
pytest
.
MonkeyPatch
):
"""Test that preprocessing errors are handled gracefully."""
"""Test that preprocessing errors are handled gracefully."""
if
current_platform
.
is_rocm
():
if
current_platform
.
is_rocm
()
or
current_platform
.
is_xpu
()
:
pytest
.
skip
(
pytest
.
skip
(
"Skipped on ROCm: this test only works with 'fork', but ROCm uses 'spawn'."
"Skipped on ROCm/XPU: this test only works with 'fork', "
"but ROCm/XPU uses 'spawn'."
)
)
assert
not
torch
.
cuda
.
is_initialized
(),
(
assert
not
torch
.
cuda
.
is_initialized
(),
(
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment