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
b6c75e1c
Unverified
Commit
b6c75e1c
authored
Sep 11, 2024
by
Michael Goin
Committed by
GitHub
Sep 11, 2024
Browse files
Fix the AMD weight loading tests (#8390)
parent
b71c956d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
vllm/config.py
vllm/config.py
+1
-1
No files found.
vllm/config.py
View file @
b6c75e1c
...
@@ -883,7 +883,7 @@ class ParallelConfig:
...
@@ -883,7 +883,7 @@ class ParallelConfig:
from
vllm.executor
import
ray_utils
from
vllm.executor
import
ray_utils
backend
=
"mp"
backend
=
"mp"
ray_found
=
ray_utils
.
ray_is_available
()
ray_found
=
ray_utils
.
ray_is_available
()
if
(
torch
.
cuda
.
is_available
()
if
(
current_platform
.
is_cuda
()
and
cuda_device_count_stateless
()
<
self
.
world_size
):
and
cuda_device_count_stateless
()
<
self
.
world_size
):
if
not
ray_found
:
if
not
ray_found
:
raise
ValueError
(
"Unable to load Ray which is "
raise
ValueError
(
"Unable to load Ray which is "
...
...
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