Skip to content

Commit

Permalink
fix a bug in timer (hpcaitech#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
feifeibear authored Jan 5, 2022
1 parent 7904baf commit 2c0c85d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion colossalai/trainer/_trainer.py
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ def _train_epoch(self,

self._call_timer(action='stop', item='Train-epoch', keep_in_history=True)
self._call_hooks('after_train_epoch')
self._call_timer(action='reset', item='Train-step')
self._call_timer(action='reset', item='Train-epoch')

def _eval(self,
test_dataloader: DataLoader,
Expand Down

0 comments on commit 2c0c85d

Please sign in to comment.