[v1] fix parallel config rank (#13445)
Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
@@ -41,6 +41,7 @@ class WorkerBase(WorkerBaseV0):
|
|||||||
# Configuration storage
|
# Configuration storage
|
||||||
super().__init__(vllm_config=vllm_config)
|
super().__init__(vllm_config=vllm_config)
|
||||||
|
|
||||||
|
self.parallel_config.rank = rank
|
||||||
self.local_rank = local_rank
|
self.local_rank = local_rank
|
||||||
self.rank = rank
|
self.rank = rank
|
||||||
self.distributed_init_method = distributed_init_method
|
self.distributed_init_method = distributed_init_method
|
||||||
|
|||||||
Reference in New Issue
Block a user