Skip to content

Commit

Permalink
Use default composer run name instead of llm
Browse files Browse the repository at this point in the history
  • Loading branch information
irenedea committed Oct 23, 2024
1 parent 21c7ec8 commit c681a9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions llmfoundry/command_utils/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c681a9c

Please sign in to comment.