We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91b34be commit b07715dCopy full SHA for b07715d
src/transformers/trainer.py
@@ -2603,6 +2603,7 @@ def _inner_training_loop(
2603
steps_skipped = 0
2604
if steps_trained_in_current_epoch > 0:
2605
epoch_dataloader = skip_first_batches(epoch_dataloader, steps_trained_in_current_epoch)
2606
+ epoch_dataloader.iteration = epochs_trained
2607
steps_skipped = steps_trained_in_current_epoch
2608
steps_trained_in_current_epoch = 0
2609
rng_to_sync = True
0 commit comments