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
1adddb14
Unverified
Commit
1adddb14
authored
Jul 25, 2024
by
SangBin Cho
Committed by
GitHub
Jul 25, 2024
Browse files
[Core] Fix ray forward_dag error mssg (#6792)
parent
b7215de2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
vllm/executor/ray_gpu_executor.py
vllm/executor/ray_gpu_executor.py
+1
-2
No files found.
vllm/executor/ray_gpu_executor.py
View file @
1adddb14
...
...
@@ -29,6 +29,7 @@ class RayGPUExecutor(DistributedGPUExecutor):
uses_ray
:
bool
=
True
def
_init_executor
(
self
)
->
None
:
self
.
forward_dag
:
Optional
[
"ray.dag.CompiledDAG"
]
=
None
# If the env var is set, it uses the Ray's compiled DAG API
# which optimizes the control plane overhead.
# Run vLLM with VLLM_USE_RAY_COMPILED_DAG=1 to enable it.
...
...
@@ -60,8 +61,6 @@ class RayGPUExecutor(DistributedGPUExecutor):
# Create the parallel GPU workers.
self
.
_init_workers_ray
(
placement_group
)
self
.
forward_dag
:
Optional
[
"ray.dag.CompiledDAG"
]
=
None
def
_configure_ray_workers_use_nsight
(
self
,
ray_remote_kwargs
)
->
Dict
[
str
,
Any
]:
# If nsight profiling is enabled, we need to set the profiling
...
...
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