Skip to content

Commit

Permalink
start training loop (#3005)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpatel2000 authored Feb 13, 2024
1 parent 4205425 commit 953ee88
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions composer/trainer/trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -2086,6 +2086,7 @@ def _train_loop(self) -> None:
# asserted to be not None when Trainer.fit() is called
raise RuntimeError('max_duration must be specified when initializing the Trainer')

log.debug('Starting training loop')
while self.state.timestamp < self.state.max_duration:
if int(self.state.timestamp.batch_in_epoch) == 0:
self.engine.run_event(Event.EPOCH_START)
Expand Down

0 comments on commit 953ee88

Please sign in to comment.