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
78e5e62b
Unverified
Commit
78e5e62b
authored
Dec 22, 2025
by
Divakar Verma
Committed by
GitHub
Dec 23, 2025
Browse files
[AMD][CI] fix v1/engine test_preprocess_error_handling (#31192)
Signed-off-by:
Divakar Verma
<
divakar.verma@amd.com
>
parent
b57b9673
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
tests/v1/engine/test_preprocess_error_handling.py
tests/v1/engine/test_preprocess_error_handling.py
+6
-0
No files found.
tests/v1/engine/test_preprocess_error_handling.py
View file @
78e5e62b
...
...
@@ -5,6 +5,7 @@ import pytest
import
torch.cuda
from
vllm
import
LLM
,
SamplingParams
from
vllm.platforms
import
current_platform
from
vllm.v1.engine
import
EngineCoreRequest
from
vllm.v1.engine.core
import
EngineCore
...
...
@@ -14,6 +15,11 @@ MODEL_NAME = "hmellor/tiny-random-LlamaForCausalLM"
def
test_preprocess_error_handling
(
monkeypatch
:
pytest
.
MonkeyPatch
):
"""Test that preprocessing errors are handled gracefully."""
if
current_platform
.
is_rocm
():
pytest
.
skip
(
"Skipped on ROCm: this test only works with 'fork', but ROCm uses 'spawn'."
)
assert
not
torch
.
cuda
.
is_initialized
(),
(
"fork needs to be used for the engine "
"core process and this isn't possible if cuda is already 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