MCPcopy
hub / github.com/zai-org/CogView / get_checkpoint_tracker_filename

Function get_checkpoint_tracker_filename

utils.py:175–176  ·  view source on GitHub ↗
(checkpoints_path)

Source from the content-addressed store, hash-verified

173
174
175def get_checkpoint_tracker_filename(checkpoints_path):
176 return os.path.join(checkpoints_path, 'latest_checkpointed_iteration.txt')
177
178
179def 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