Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea committed Sep 9, 2024
1 parent 898812d commit 6d944a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llmfoundry/command_utils/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ def _sort_callbacks(trainer: Trainer):
"""

def _sort_key(c: Callback) -> int:
# CheckpointSaver goes first because the blocking time is shortest while upload is async.
# CheckpointSaver goes before HuggingFaceCheckpointer because the blocking time is shortest while upload is async.
if isinstance(c, CheckpointSaver):
return 1
if isinstance(c, HuggingFaceCheckpointer):
Expand Down

0 comments on commit 6d944a3

Please sign in to comment.