Ray Train Mid-Epoch Resumption
2 steps1 pieces2 Sources
Anyscale announced on November 24, 2026, that Ray Train and Ray Data have introduced mid-epoch resumption. This feature allows the data loader's state to be saved as part of the standard model checkpoint, ensuring that when a job restarts after a failure, it picks up exactly where it left off rather than replaying already processed data.
In distributed training, failures are common. Traditionally, restoring only model weights forces systems to either restart the entire epoch—causing data imbalance by training on some rows twice—or manually skip batches, which is unreliable with streaming loaders that do not guarantee row order. Both approaches lead to wasted GPU time. Mid-epoch resumption solves this by tracking unique row IDs consumed by each worker and saving them alongside the model state.
The implementation requires minimal changes to existing training scripts: developers must enable dataset checkpointing, save the data iterator's state dictionary during each model checkpoint, and pass that state back when restoring. This ensures the model and data loader remain synchronized, preserving the 'exactly-once' training guarantee even across interruptions.
According to Anyscale's internal benchmarks, using mid-epoch resumption for a job that failed at 75% completion resulted in a 9% faster overall runtime and 9% lower dollar cost compared to skipping batches to resume. The savings scale with the size of the epoch, making the feature particularly valuable for long-running training tasks on massive datasets. The capability will ship with open-source Ray version 2.61 and is currently available in the Anyscale Runtime starting with Ray 2.50.
How it got here
November 24, 2026: Anyscale announces mid-epoch resumption for Ray Train and Ray Data, allowing data loader state to be checkpointed alongside model weights.
anyscale.com ↗Current Status: Feature available in Anyscale Runtime (starting with Ray 2.50); planned for open-source Ray 2.61.