Skip to content

Commit 3a0bf42

Browse files
JKSenthilfacebook-github-bot
authored andcommitted
update checkpoint manager docstring (#866)
Summary: Pull Request resolved: #866 fixes docstring reference to updated function name Reviewed By: diego-urgell Differential Revision: D59928251 fbshipit-source-id: 69d3f6a98c40b09333f021fd56ef7c21bf606701
1 parent f42e302 commit 3a0bf42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

torchtnt/utils/checkpoint.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ def should_save_checkpoint(self, checkpoint: CheckpointPath) -> bool:
473473
def append_checkpoint(self, ckpt: CheckpointPath) -> None:
474474
"""
475475
This will update the internal state to keep track of the checkpoint. This function should only be called
476-
when a checkpoint whose path was returned from `maybe_get_next_checkpoint_path` was successfully created.
476+
when a checkpoint whose path was returned from `generate_checkpoint_path` was successfully created.
477477
If a previous checkpoint should be removed to honor `keep_last_n_checkpoint`, it will be deleted on rank 0.
478478
479479
Args:

0 commit comments

Comments
 (0)