Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
norm
vllm
Commits
c0d00f5b
Unverified
Commit
c0d00f5b
authored
Jul 28, 2023
by
Xudong Zhang
Committed by
GitHub
Jul 27, 2023
Browse files
[Fix] fix import error of RayWorker (#604) (#605)
parent
58a072be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
vllm/engine/ray_utils.py
vllm/engine/ray_utils.py
+1
-0
No files found.
vllm/engine/ray_utils.py
View file @
c0d00f5b
...
@@ -27,6 +27,7 @@ try:
...
@@ -27,6 +27,7 @@ try:
except
ImportError
:
except
ImportError
:
ray
=
None
ray
=
None
TorchDistributedWorker
=
None
TorchDistributedWorker
=
None
RayWorker
=
None
# pylint: disable=invalid-name
if
TYPE_CHECKING
:
if
TYPE_CHECKING
:
from
ray.util.placement_group
import
PlacementGroup
from
ray.util.placement_group
import
PlacementGroup
...
...
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