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
5353c9b0
Unverified
Commit
5353c9b0
authored
Mar 11, 2026
by
Itay Alroy
Committed by
GitHub
Mar 11, 2026
Browse files
platforms: Fix Ray DP startup crash (#36665)
Signed-off-by:
Itay Alroy
<
ialroy@nvidia.com
>
parent
13e79fc8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
vllm/platforms/interface.py
vllm/platforms/interface.py
+5
-0
No files found.
vllm/platforms/interface.py
View file @
5353c9b0
...
...
@@ -638,6 +638,11 @@ class Platform:
"""Raises if this request is unsupported on this platform"""
def
__getattr__
(
self
,
key
:
str
):
# Pickle checks dunder methods like __getstate__. If we return None
# for them, pickle treats it like a real value and tries to call it.
if
key
.
startswith
(
"__"
)
and
key
.
endswith
(
"__"
):
raise
AttributeError
(
key
)
device
=
getattr
(
torch
,
self
.
device_type
,
None
)
if
device
is
not
None
and
hasattr
(
device
,
key
):
attr
=
getattr
(
device
,
key
)
...
...
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