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
cc0f2a0e
Unverified
Commit
cc0f2a0e
authored
Nov 28, 2025
by
maang-h
Committed by
GitHub
Nov 28, 2025
Browse files
[Doc] Improve abnormal information string (#29655)
Signed-off-by:
maang
<
maang_h@163.com
>
parent
48059895
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
vllm/v1/engine/utils.py
vllm/v1/engine/utils.py
+5
-9
No files found.
vllm/v1/engine/utils.py
View file @
cc0f2a0e
...
@@ -371,8 +371,7 @@ class CoreEngineActorManager:
...
@@ -371,8 +371,7 @@ class CoreEngineActorManager:
)
)
assert
len
(
nodes
)
>
0
,
"No nodes with resources found in Ray cluster."
assert
len
(
nodes
)
>
0
,
"No nodes with resources found in Ray cluster."
assert
dp_master_ip_key
in
nodes
[
0
],
(
assert
dp_master_ip_key
in
nodes
[
0
],
(
"The DP master node (ip: %s) is missing or dead"
,
f
"The DP master node (ip:
{
dp_master_ip
}
) is missing or dead"
dp_master_ip
,
)
)
device_str
=
current_platform
.
ray_device_key
device_str
=
current_platform
.
ray_device_key
n_node_devices
:
list
[
int
]
=
[
n_node_devices
:
list
[
int
]
=
[
...
@@ -446,8 +445,7 @@ class CoreEngineActorManager:
...
@@ -446,8 +445,7 @@ class CoreEngineActorManager:
if
key
!=
"node:__internal_head__"
and
key
.
startswith
(
"node:"
)
if
key
!=
"node:__internal_head__"
and
key
.
startswith
(
"node:"
)
]
]
assert
len
(
node_ip_keys
)
==
1
,
(
assert
len
(
node_ip_keys
)
==
1
,
(
"Zero or multiple node IP keys found in node resources: %s"
,
f
"Zero or multiple node IP keys found in node resources:
{
node_ip_keys
}
"
node_ip_keys
,
)
)
node_ip_key
=
node_ip_keys
[
0
]
node_ip_key
=
node_ip_keys
[
0
]
node_ip
=
node_ip_key
.
split
(
":"
)[
1
]
node_ip
=
node_ip_key
.
split
(
":"
)[
1
]
...
@@ -464,11 +462,9 @@ class CoreEngineActorManager:
...
@@ -464,11 +462,9 @@ class CoreEngineActorManager:
if
node_ip
==
dp_master_ip
:
if
node_ip
==
dp_master_ip
:
if
dp_size_available
<
dp_size_local
:
if
dp_size_available
<
dp_size_local
:
raise
ValueError
(
raise
ValueError
(
"Not enough resources to allocate %s DP ranks "
f
"Not enough resources to allocate
{
dp_size_local
}
DP ranks "
"on DP master node %s, possible to fit %s DP ranks"
,
f
"on DP master node
{
dp_master_ip
}
, possible to fit "
dp_size_local
,
f
"
{
dp_size_available
}
DP ranks."
dp_master_ip
,
dp_size_available
,
)
)
dp_size_to_allocate
=
dp_size_local
dp_size_to_allocate
=
dp_size_local
elif
pack_strategy
==
"strict"
:
elif
pack_strategy
==
"strict"
:
...
...
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