Skip to content

Commit

Permalink
fix train
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea committed Sep 10, 2024
1 parent f0363d4 commit ecd539e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion llmfoundry/command_utils/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -584,7 +584,12 @@ def train(cfg: DictConfig) -> Trainer:
)

hf_checkpointer_callback = hf_checkpointer_callbacks[0]
hf_checkpointer_callback._save_checkpoint(trainer.state, trainer.logger)
hf_checkpointer_callback._save_checkpoint(
trainer.state,
trainer.logger,
upload_to_save_folder=True,
register_to_mflow=False,
)
return trainer

if train_cfg.only_composer_checkpoint:
Expand Down

0 comments on commit ecd539e

Please sign in to comment.