Skip to content

Commit 2b7a092

Browse files
youkaichaojimpang
authored and
jimpang
committed
[v1] fix parallel config rank (vllm-project#13445)
Signed-off-by: youkaichao <[email protected]>
1 parent 813880c commit 2b7a092

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

vllm/v1/worker/worker_base.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ def __init__(
4141
# Configuration storage
4242
super().__init__(vllm_config=vllm_config)
4343

44+
self.parallel_config.rank = rank
4445
self.local_rank = local_rank
4546
self.rank = rank
4647
self.distributed_init_method = distributed_init_method

0 commit comments

Comments
 (0)