Skip to content

Commit

Permalink
log level
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpatel2000 committed Oct 10, 2024
1 parent 813d50e commit 26c971a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions llmfoundry/command_utils/train.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,9 @@ def train(cfg: DictConfig) -> Trainer:
logging.getLogger(__name__).setLevel(
train_cfg.python_log_level.upper(),
) # Train script
logging.getLogger('streaming').setLevel(
train_cfg.python_log_level.upper(),
) # Streaming module

_initialize_dist_with_barrier(dist_timeout=train_cfg.dist_timeout)

Expand Down

0 comments on commit 26c971a

Please sign in to comment.