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
4c69e228
Unverified
Commit
4c69e228
authored
Mar 21, 2025
by
Rui Qiao
Committed by
GitHub
Mar 21, 2025
Browse files
[Misc] Increase RayDistributedExecutor RAY_CGRAPH_get_timeout (#15301)
Signed-off-by:
Rui Qiao
<
ruisearch42@gmail.com
>
parent
790b7975
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
0 deletions
+9
-0
vllm/executor/ray_distributed_executor.py
vllm/executor/ray_distributed_executor.py
+9
-0
No files found.
vllm/executor/ray_distributed_executor.py
View file @
4c69e228
...
@@ -561,6 +561,15 @@ class RayDistributedExecutor(DistributedExecutorBase):
...
@@ -561,6 +561,15 @@ class RayDistributedExecutor(DistributedExecutorBase):
envs
.
VLLM_USE_RAY_COMPILED_DAG_NCCL_CHANNEL
)
envs
.
VLLM_USE_RAY_COMPILED_DAG_NCCL_CHANNEL
)
logger
.
info
(
"VLLM_USE_RAY_COMPILED_DAG_OVERLAP_COMM = %s"
,
logger
.
info
(
"VLLM_USE_RAY_COMPILED_DAG_OVERLAP_COMM = %s"
,
envs
.
VLLM_USE_RAY_COMPILED_DAG_OVERLAP_COMM
)
envs
.
VLLM_USE_RAY_COMPILED_DAG_OVERLAP_COMM
)
# Enlarge the default value of "RAY_CGRAPH_get_timeout" to 300 seconds
# (it is 10 seconds by default). This is a Ray environment variable to
# control the timeout of getting result from a compiled graph execution,
# i.e., the distributed execution that includes model forward runs and
# intermediate tensor communications, in the case of vllm.
os
.
environ
.
setdefault
(
"RAY_CGRAPH_get_timeout"
,
"300"
)
# noqa: SIM112
logger
.
info
(
"RAY_CGRAPH_get_timeout is set to %s"
,
os
.
environ
[
"RAY_CGRAPH_get_timeout"
])
# noqa: SIM112
with
InputNode
()
as
input_data
:
with
InputNode
()
as
input_data
:
# Example DAG: PP=2, TP=4
# Example DAG: PP=2, TP=4
#
#
...
...
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