From 0ec051a4c8bf7ee603ce198b63b63aa73ecfa5d8 Mon Sep 17 00:00:00 2001 From: yurekami Date: Thu, 25 Dec 2025 03:26:53 +0900 Subject: [PATCH] fix: include prefill_context_parallel_size in world_size breakdown MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Address review feedback: the world_size calculation includes prefill_context_parallel_size, so include it in the breakdown when it's > 1 to make the message fully accurate. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 Signed-off-by: yurekami --- vllm/v1/executor/ray_utils.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/vllm/v1/executor/ray_utils.py b/vllm/v1/executor/ray_utils.py index 2936855c84db5..ec0884c014f38 100644 --- a/vllm/v1/executor/ray_utils.py +++ b/vllm/v1/executor/ray_utils.py @@ -334,12 +334,15 @@ def initialize_ray_cluster( "placement group allocation failures. For multi-node Ray " "clusters, ensure your cluster has %d GPUs available across " "all nodes. (world_size = tensor_parallel_size=%d × " - "pipeline_parallel_size=%d)", + "pipeline_parallel_size=%d%s)", parallel_config.world_size, available_gpus, parallel_config.world_size, parallel_config.tensor_parallel_size, parallel_config.pipeline_parallel_size, + (f" × prefill_context_parallel_size=" + f"{parallel_config.prefill_context_parallel_size}" + if parallel_config.prefill_context_parallel_size > 1 else ""), ) if ray.is_initialized():