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

Method checkpoint_steps

axlearn/common/checkpointer.py:1019–1020  ·  view source on GitHub ↗
(cls, base_dir: str)

Source from the content-addressed store, hash-verified

1017
1018 @classmethod
1019 def checkpoint_steps(cls, base_dir: str) -> list[int]:
1020 return [parse_step_from_dir(path) for path in cls.checkpoint_paths(base_dir)]
1021
1022 @classmethod
1023 def cleanup_checkpoint(cls, ckpt_dir: str, *, sync: bool = True):

Callers 1

Calls 2

parse_step_from_dirFunction · 0.85
checkpoint_pathsMethod · 0.45

Tested by

no test coverage detected