From ecd539e76c447d1f05f86a056b218b7913722744 Mon Sep 17 00:00:00 2001 From: Irene Dea Date: Tue, 10 Sep 2024 21:57:41 +0000 Subject: [PATCH] fix train --- llmfoundry/command_utils/train.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/llmfoundry/command_utils/train.py b/llmfoundry/command_utils/train.py index 73fa4c8d5a..554e3144ea 100644 --- a/llmfoundry/command_utils/train.py +++ b/llmfoundry/command_utils/train.py @@ -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: