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
47826cac
Unverified
Commit
47826cac
authored
Nov 18, 2024
by
ℍ𝕠𝕝𝕝𝕠𝕨 𝕄𝕒𝕟
Committed by
GitHub
Nov 18, 2024
Browse files
[Bugfix] Ignore ray reinit error when current platform is ROCm or XPU (#10375)
Signed-off-by:
Hollow Man
<
hollowman@opensuse.org
>
parent
c4e46433
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/executor/ray_utils.py
vllm/executor/ray_utils.py
+1
-1
No files found.
vllm/executor/ray_utils.py
View file @
47826cac
...
@@ -234,7 +234,7 @@ def initialize_ray_cluster(
...
@@ -234,7 +234,7 @@ def initialize_ray_cluster(
if
current_platform
.
is_rocm
()
or
current_platform
.
is_xpu
():
if
current_platform
.
is_rocm
()
or
current_platform
.
is_xpu
():
# Try to connect existing ray instance and create a new one if not found
# Try to connect existing ray instance and create a new one if not found
try
:
try
:
ray
.
init
(
"auto"
)
ray
.
init
(
"auto"
,
ignore_reinit_error
=
True
)
except
ConnectionError
:
except
ConnectionError
:
logger
.
warning
(
logger
.
warning
(
"No existing RAY instance detected. "
"No existing RAY instance detected. "
...
...
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