ReadingResearchRadarInvestment framework
Sign in / Sign up
← Back to reading
TopicDisconfirmAI EditorialUpdated 2026-11-25 21:18

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

  1. 2026-11-24

    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 ↗
  2. 2026-11-24

    Current Status: Feature available in Anyscale Runtime (starting with Ray 2.50); planned for open-source Ray 2.61.

Sign in / Sign up
ReadingResearchRadarInvestment framework
docs.anyscale.com ↗

What is still unsettled

  • What is the specific performance overhead of reading and filtering row ID files during restoration compared to baseline batch-skipping methods?
  • How does the feature handle edge cases where the underlying storage system fails or becomes unavailable during the asynchronous writing of row ID checkpoints?

Sources

  • anyscale.comAnyscale Blog↗
  • docs.anyscale.comAnyscale Docs↗

Coverage in this topic

  • Ray Train Adds Mid-Epoch Resumption to Cut Training Failure Costs2026-11-25News

    Ray Train and Ray Data now checkpoint data loader state alongside model weights, allowing training jobs to resume exactly where they left off after a failure. Anyscale's benchmark shows this feature reduces overall runtime and cost by 9% compared to traditional batch-skipping methods.