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
cd9e5b83
Unverified
Commit
cd9e5b83
authored
Oct 03, 2025
by
Nikhil G
Committed by
GitHub
Oct 03, 2025
Browse files
Fix V1 engine serialization error with Ray distributed executor (#26148)
Signed-off-by:
Nikhil Ghosh
<
nikhil@anyscale.com
>
parent
300a59c4
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
vllm/executor/ray_utils.py
vllm/executor/ray_utils.py
+6
-0
No files found.
vllm/executor/ray_utils.py
View file @
cd9e5b83
...
...
@@ -16,6 +16,7 @@ from vllm.logger import init_logger
from
vllm.platforms
import
current_platform
from
vllm.sequence
import
ExecuteModelRequest
,
IntermediateTensors
from
vllm.utils
import
get_ip
from
vllm.v1.outputs
import
AsyncModelRunnerOutput
from
vllm.v1.worker.worker_base
import
WorkerWrapperBase
if
TYPE_CHECKING
:
...
...
@@ -142,6 +143,11 @@ try:
# but may still be finished requests.
assert
not
output
or
not
output
.
req_ids
output
=
scheduler_output
,
None
# Ensure outputs crossing Ray compiled DAG are serializable.
# AsyncModelRunnerOutput holds CUDA events and cannot be
# pickled.
if
isinstance
(
output
,
AsyncModelRunnerOutput
):
output
=
output
.
get_output
()
return
output
def
override_env_vars
(
self
,
vars
:
Dict
[
str
,
str
]):
...
...
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