Skip to content

Commit

Permalink
fix eval after all (mosaicml#3445)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvpatel2000 committed Jul 21, 2024
1 parent 767bb82 commit 8c653d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions composer/core/event.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class Event(StringEnum):
# <BATCH_END>
# <BEFORE_EVAL_ALL>
# <EVAL_BEFORE_ALL>
for eval_dataloader in eval_dataloaders:
if should_eval(batch=True):
# <EVAL_START>
Expand All @@ -70,7 +70,7 @@ class Event(StringEnum):
# <EVAL_BATCH_END>
# <EVAL_END>
# <AFTER_EVAL_ALL>
# <EVAL_AFTER_ALL>
# <BATCH_CHECKPOINT>
# <EPOCH_END>
Expand Down

0 comments on commit 8c653d5

Please sign in to comment.