Skip to content

Commit

Permalink
Set streaming log level (#1582)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpatel2000 authored Oct 10, 2024
1 parent 813d50e commit 5b0a53e
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 5b0a53e

Please sign in to comment.