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

Method save_checkpoint

trinity/explorer/explorer.py:473–478  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

471 return True
472
473 async def save_checkpoint(self) -> None:
474 # save explore checkpoint
475 self.state.save_explorer(
476 current_step=self.explore_step_num,
477 taskset_states=self.taskset.state_dict() if self.taskset else [],
478 )
479
480 async def sync_weight(self) -> None:
481 """Synchronize model weights."""

Callers 3

explore_stepMethod · 0.95
sync_weightMethod · 0.95

Calls 2

save_explorerMethod · 0.80
state_dictMethod · 0.45

Tested by

no test coverage detected