From 9ba28043b5de4b3b88c6136cdb3b537f56797b64 Mon Sep 17 00:00:00 2001 From: Rui Qiao <161574667+ruisearch42@users.noreply.github.com> Date: Tue, 25 Feb 2025 17:53:43 -0800 Subject: [PATCH] [misc] Show driver IP info when Ray fails to allocate driver worker (#13858) Signed-off-by: Rui Qiao --- vllm/executor/ray_distributed_executor.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/vllm/executor/ray_distributed_executor.py b/vllm/executor/ray_distributed_executor.py index 673d0fc5d23e1..bcad274bab496 100644 --- a/vllm/executor/ray_distributed_executor.py +++ b/vllm/executor/ray_distributed_executor.py @@ -229,9 +229,10 @@ class RayDistributedExecutor(DistributedExecutorBase): logger.debug("driver_dummy_worker: %s", self.driver_dummy_worker) if not self.use_ray_spmd_worker and self.driver_dummy_worker is None: raise ValueError( - "Ray does not allocate any GPUs on the driver node. Consider " - "adjusting the Ray placement group or running the driver on a " - "GPU node.") + "Ray does not allocate any GPUs on the driver node." + f"Driver IP: {driver_ip}, worker IPs: {worker_ips}." + "Consider adjusting the Ray placement group or running " + "the driver on a GPU node.") ip_counts: Dict[str, int] = {} for ip in worker_ips: