MCPcopy
hub / github.com/deepspeedai/DeepSpeedExamples / get_checkpoint_tracker_filename

Function get_checkpoint_tracker_filename

Megatron-LM/utils.py:167–168  ·  view source on GitHub ↗
(checkpoints_path)

Source from the content-addressed store, hash-verified

165
166
167def get_checkpoint_tracker_filename(checkpoints_path):
168 return os.path.join(checkpoints_path, 'latest_checkpointed_iteration.txt')
169
170
171def save_zero_checkpoint(args, iteration, optimizer):

Callers 2

save_checkpointFunction · 0.85
get_checkpoint_iterationFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected