feat: add direct routing strategy to DP worker (#6884)
This commit is contained in:
@@ -407,9 +407,10 @@ class NixlKVReceiver(CommonKVReceiver):
|
||||
mgr: NixlKVManager,
|
||||
bootstrap_addr: str,
|
||||
bootstrap_room: Optional[int] = None,
|
||||
data_parallel_rank: Optional[int] = None,
|
||||
):
|
||||
self.started_transfer = False
|
||||
super().__init__(mgr, bootstrap_addr, bootstrap_room)
|
||||
super().__init__(mgr, bootstrap_addr, bootstrap_room, data_parallel_rank)
|
||||
|
||||
def init(self, kv_indices: npt.NDArray[np.int64], aux_index: Optional[int] = None):
|
||||
for bootstrap_info in self.bootstrap_infos:
|
||||
|
||||
Reference in New Issue
Block a user