From c681a9c48002c5b7b1c847e264427ae6c9fbbd04 Mon Sep 17 00:00:00 2001 From: Irene Dea Date: Wed, 23 Oct 2024 06:22:41 +0000 Subject: [PATCH] Use default composer run name instead of llm --- llmfoundry/command_utils/train.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/llmfoundry/command_utils/train.py b/llmfoundry/command_utils/train.py index cb287b029c..e599961998 100644 --- a/llmfoundry/command_utils/train.py +++ b/llmfoundry/command_utils/train.py @@ -312,9 +312,9 @@ def train(cfg: DictConfig) -> Trainer: # Optional parameters will be set to default values if not specified. env_run_name: Optional[str] = os.environ.get('RUN_NAME', None) - run_name: str = ( + run_name: Optional[str] = ( train_cfg.run_name if train_cfg.run_name else env_run_name - ) or 'llm' + ) is_state_dict_sharded: bool = ( fsdp_config.get('state_dict_type', 'full') == 'sharded' ) if fsdp_config else False