MCPcopy Create free account
hub / github.com/agentscope-ai/Trinity-RFT / sync_weight_nccl

Method sync_weight_nccl

trinity/trainer/trainer.py:340–341  ·  view source on GitHub ↗

Sync the model weight by NCCL. (For `NCCL` sync method)

(self)

Source from the content-addressed store, hash-verified

338
339 @abstractmethod
340 def sync_weight_nccl(self) -> None:
341 """Sync the model weight by NCCL. (For `NCCL` sync method)"""
342
343 @abstractmethod
344 async def upload_state_dict(self) -> None:

Callers 1

sync_weightMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected