Systems / Reliability
verifiedElastic Training
If a job must have exactly 1,024 accelerators, losing one stops it. Elastic training lets the run continue on what is left — narrower, slower, but moving — and widen again when capacity returns. It turns a hard failure into a performance change, which is a much easier thing to survive.
The obstacle is that the batch size is baked into the hyperparameters. Shrink the worker count and either each worker takes more of the batch, which may not fit in memory, or the global batch shrinks, which quietly changes the optimisation problem you were solving. Systems that do this well hold the global batch fixed by raising gradient accumulation steps, so the maths of the run is untouched and only the wall clock moves.
The payoff is largest exactly where the failure rate is worst. A rigid job loses everything since its last checkpoint on every failure; an elastic one loses only the reconfiguration, so the share of work preserved rises with how often failures arrive. On preemptible capacity, where instances are reclaimed rather than broken, this is the difference between a job that finishes and one that never gets far enough between preemptions to reach the next checkpoint.
steps-preserved holds 11% of the budget; rest holds the remaining 89%.
Steps a shrinking job keeps going through, against the steps a rigid one would have completed between interruptions. Drag the preserved work up to watch it dominate — the gain grows with the failure rate, which is why elasticity matters most on the least reliable capacity.
Reviewed by opendroid · 2026-08-18
- arXiv:2111.04007 — Varuna: Scalable, Low-cost Training of Massive Deep Learning Models
- arXiv:2204.12013 — Bamboo: Making Preemptible Instances Resilient for Affordable Training of Large DNNs