[Feat][Executor] Introduce RayExecutorV2 (#36836)
Signed-off-by: Jeffrey Wang <jeffreywang@anyscale.com>
This commit is contained in:
@@ -195,8 +195,8 @@ class WorkerWrapperBase:
|
||||
All workers have rpc_rank=0, but they have different ranks in the TP
|
||||
group.
|
||||
"""
|
||||
self.rpc_rank = rpc_rank
|
||||
self.global_rank = self.rpc_rank if global_rank is None else global_rank
|
||||
self.rpc_rank: int = rpc_rank
|
||||
self.global_rank: int = self.rpc_rank if global_rank is None else global_rank
|
||||
|
||||
# Initialized after init_worker is called
|
||||
self.worker: WorkerBase
|
||||
|
||||
Reference in New Issue
Block a user