Skip to content

Commit 3bf0165

Browse files
ruisearch42shreyankg
authored andcommitted
[misc] Show driver IP info when Ray fails to allocate driver worker (vllm-project#13858)
Signed-off-by: Rui Qiao <ruisearch42@gmail.com>
1 parent 5e5fc5f commit 3bf0165

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

vllm/executor/ray_distributed_executor.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,9 +229,10 @@ def _init_workers_ray(self, placement_group: "PlacementGroup",
229229
logger.debug("driver_dummy_worker: %s", self.driver_dummy_worker)
230230
if not self.use_ray_spmd_worker and self.driver_dummy_worker is None:
231231
raise ValueError(
232-
"Ray does not allocate any GPUs on the driver node. Consider "
233-
"adjusting the Ray placement group or running the driver on a "
234-
"GPU node.")
232+
"Ray does not allocate any GPUs on the driver node."
233+
f"Driver IP: {driver_ip}, worker IPs: {worker_ips}."
234+
"Consider adjusting the Ray placement group or running "
235+
"the driver on a GPU node.")
235236

236237
ip_counts: Dict[str, int] = {}
237238
for ip in worker_ips:

0 commit comments

Comments
 (0)