Skip to content

Commit

Permalink
Remove "ft-" prefix from checkpoint shards. (#2354)
Browse files Browse the repository at this point in the history
  • Loading branch information
EugenHotaj authored Feb 6, 2025
1 parent a8aeb13 commit 9b38360
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion torchtune/training/checkpointing/_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
TORCH_INDEX_FNAME = "pytorch_model.bin.index.json"

# standardize checkpointing
SHARD_FNAME = "ft-model-{cpt_idx}-of-{num_shards}"
SHARD_FNAME = "model-{cpt_idx}-of-{num_shards}"
RECIPE_STATE_DIRNAME = "recipe_state"

# Needed when setting up output dir in checkpointing
Expand Down

0 comments on commit 9b38360

Please sign in to comment.