[RL] Release weight-transfer communicators without stopping inference (#61060)
Signed-off-by: aoshen02 <aoshen@inferact.ai> Signed-off-by: fh3 <a@b>
This commit is contained in:
@@ -1318,6 +1318,10 @@ class AsyncLLM(EngineClient):
|
||||
"init_weight_transfer_engine", kwargs={"init_info": request.init_info}
|
||||
)
|
||||
|
||||
async def shutdown_weight_transfer_engine(self) -> None:
|
||||
"""Release the trainer connection without shutting down inference."""
|
||||
await self.collective_rpc("shutdown_weight_transfer_engine")
|
||||
|
||||
async def start_weight_update(self) -> None:
|
||||
"""Start a new weight update."""
|
||||
await self.collective_rpc("start_weight_update")
|
||||
|
||||
Reference in New Issue
Block a user