mirror of
https://git.datalinker.icu/vllm-project/vllm.git
synced 2025-12-20 04:46:41 +08:00
[misc] Show driver IP info when Ray fails to allocate driver worker (#13858)
Signed-off-by: Rui Qiao <ruisearch42@gmail.com>
This commit is contained in:
parent
24679788ed
commit
9ba28043b5
@ -229,9 +229,10 @@ class RayDistributedExecutor(DistributedExecutorBase):
|
|||||||
logger.debug("driver_dummy_worker: %s", self.driver_dummy_worker)
|
logger.debug("driver_dummy_worker: %s", self.driver_dummy_worker)
|
||||||
if not self.use_ray_spmd_worker and self.driver_dummy_worker is None:
|
if not self.use_ray_spmd_worker and self.driver_dummy_worker is None:
|
||||||
raise ValueError(
|
raise ValueError(
|
||||||
"Ray does not allocate any GPUs on the driver node. Consider "
|
"Ray does not allocate any GPUs on the driver node."
|
||||||
"adjusting the Ray placement group or running the driver on a "
|
f"Driver IP: {driver_ip}, worker IPs: {worker_ips}."
|
||||||
"GPU node.")
|
"Consider adjusting the Ray placement group or running "
|
||||||
|
"the driver on a GPU node.")
|
||||||
|
|
||||||
ip_counts: Dict[str, int] = {}
|
ip_counts: Dict[str, int] = {}
|
||||||
for ip in worker_ips:
|
for ip in worker_ips:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user