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

Method _index_exists

axlearn/common/checkpointer.py:1214–1216  ·  view source on GitHub ↗
(self, ckpt_dir: str)

Source from the content-addressed store, hash-verified

1212 self._storage.wait_until_finished()
1213
1214 def _index_exists(self, ckpt_dir: str):
1215 ckpt_index = os.path.join(ckpt_dir, "index")
1216 return fs.exists(ckpt_index)
1217
1218 def restore(
1219 self,

Callers 1

validate_and_restoreMethod · 0.95

Calls 1

joinMethod · 0.80

Tested by

no test coverage detected