Skip to content

Commit

Permalink
Update scripts/train/train.py
Browse files Browse the repository at this point in the history
Co-authored-by: Daniel King <[email protected]>
  • Loading branch information
milocress and dakinggg committed Mar 2, 2024
1 parent 551d9f7 commit 6d71ef8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/train/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ def main(cfg: DictConfig) -> Trainer:
cfg,
'save_latest_filename',
must_exist=False,
default_value='latest-rank{rank}_sharded_magic_keyword.pt'
default_value='latest-sharded-rank{rank}'
if is_state_dict_sharded else 'latest-rank{rank}.pt')
save_overwrite: bool = pop_config(cfg,
'save_overwrite',
Expand Down

0 comments on commit 6d71ef8

Please sign in to comment.