Skip to content

Commit d6324b6

Browse files
committed
Reword comment
1 parent c2e4640 commit d6324b6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lightning/pytorch/loops/training_epoch_loop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ def advance(self, data_fetcher: _DataFetcher) -> None:
267267
self.batch_progress.is_last_batch = data_fetcher.done
268268

269269
# we increment prior to on_batch_end so checkpoints can see progress correctly
270-
# failure to do this will lead to incorrect restarts
270+
# failure to do this will lead to incorrect total batch completed progress counts
271271
self.batch_progress.increment_completed()
272272

273273
call._call_callback_hooks(trainer, "on_train_batch_end", batch_output, batch, batch_idx)

0 commit comments

Comments
 (0)