MCPcopy Create free account
hub / github.com/apple/axlearn / stop

Method stop

axlearn/common/checkpointer_orbax.py:614–616  ·  view source on GitHub ↗

See `BaseCheckpointer.stop` for details.

(self, *, has_exception: bool = False)

Source from the content-addressed store, hash-verified

612 target_structure=self._get_spec(step=step, state=state)["index"],
613 validation=cfg.validation_type,
614 )
615 return step, restored_state
616
617 def wait_until_finished(self):
618 """See `BaseCheckpointer.wait_until_finished` docstring for details."""
619 self._manager.wait_until_finished()

Callers

nothing calls this directly

Calls 1

closeMethod · 0.45

Tested by

no test coverage detected