diff --git a/vllm/v1/worker/worker_base.py b/vllm/v1/worker/worker_base.py index bc7e76c38ae..51d2da2344b 100644 --- a/vllm/v1/worker/worker_base.py +++ b/vllm/v1/worker/worker_base.py @@ -41,6 +41,7 @@ def __init__( # Configuration storage super().__init__(vllm_config=vllm_config) + self.parallel_config.rank = rank self.local_rank = local_rank self.rank = rank self.distributed_init_method = distributed_init_method