How it works · 26 of 27 Frontier

How are AI models trained on thousands of GPUs?

Thousands of chips, one failure stops all

Training at scale: A large training run keeps thousands of GPUs in lockstep, so one failed GPU stops the whole job; at that scale failures come every few hours, and the run survives by saving checkpoints at the right spacing and restarting from the last one fast.

Loading the animation…

Say it like this At thousands of GPUs one failure stops the whole training job every few hours, so checkpoint at a spacing set by your failure rate and save time, and make detection and restart automatic: effective training time is the number to watch.

Under the hood — for builders
Worked example: Llama 3's 54 days
Meta trained Llama 3 405B on 16K H100 GPUs. In one 54-day window the job was interrupted 466 times: 47 planned, 419 unexpected.
Why one GPU stops the run
"The synchronous nature of training makes it less fault-tolerant—a single GPU failure may require a restart of the entire job."
What broke
"Approximately 78% of the unexpected interruptions are attributed to confirmed hardware issues"; "GPU issues are the largest category, accounting for 58.7%".
How the run kept going
People stepped in only three times. By cutting start-up and checkpoint time the team kept "higher than 90% effective training time".
Measured: failures grow with the crew
Kokolis et al. (HPCA 2025) studied Meta's two research clusters. Failure rate rises in step with GPU count: a crew 16 times bigger faints about 16 times as often.
Measured: 1,024 GPUs
"the mean-time-to-failure (MTTF) of 1024-GPU jobs is 7.9 hours—roughly 2 orders-of-magnitude lower than 8-GPU jobs (47.7 days)".
Projected: 16,384 and 131,072 GPUs
"we project the MTTF for 16384 GPU jobs to be 1.8 hours and for 131072 GPU jobs to be 0.23 hours".
Our run: how far apart to put the buoys
We simulated 2,000 days of one run, failures at random: at Llama 3's rate (one per 3.1 hours) and at the projected 1.8 hours.
Our run: assumptions
A save pauses training 1 minute and a restart takes 5. These are our assumptions, not measurements.
Our run: result
Useful time peaks at 88% with a checkpoint every 20 minutes (3.1 h) and 84% every 15 minutes (1.8 h). Every 4 hours gives 49% and 28%.
The rule of thumb
The peak sits where the square root of 2 × save time × time between failures puts it (Young, 1974): 19 and 15 minutes.
Terms: synchronous training, checkpoint
Synchronous training: every GPU finishes a step before any starts the next. Checkpoint: model and optimizer state saved to storage (Llama 3: 1 MB to 4 GB per GPU).
Terms: MTTF, ETTR
MTTF: mean time to failure. ETTR (effective training time ratio): productive time ÷ wall-clock time.
Where the time goes
Kokolis et al. count three losses: rowing again from the last checkpoint · restarting · pausing to save. The slider trades the first against the last.
Levers
Asynchronous or in-memory checkpoints · fast failure detection (Llama 3 used PyTorch's NCCL flight recorder) · hot spare nodes · automatic restart · draining hosts before maintenance.
Measure it
Effective training time ratio · interruptions per day, planned and unexpected · minutes from failure to restart · minutes lost per interruption · manual interventions.
Watch out
Spacing set once and never revisited as the job grows · slow stragglers that never fail · silent data corruption · checkpoint bursts saturating storage.
Our numbers
The seven-faint day and the save and restart times are our example. Papers read in session, 22 Nov 2026.
Sources
Llama Team, The Llama 3 Herd of Models (arXiv 2407.21783, 2024), §3.3 · Kokolis et al., HPCA 2025 (arXiv 2410.21680) · Young, CACM 17(9), 1974.

What happens in the training at scale animation, step by step?

  1. One training run, 16,384 GPUs rowing in time. Every step waits for every GPU, so the ship moves only while all of them pull.
  2. One rower faints and the whole ship stops. Llama 3's 16,384-GPU run had 419 unexpected interruptions in 54 days: one about every 3 hours.
  3. Checkpoints are buoys: the ship saves its place as it goes, and after a faint it restarts from the last buoy, not the harbour. The stretch since then is rowed again.
  4. Your turn: drag the buoy spacing. The strip is one day with seven faints (our run): too close and rowing stops to drop buoys, too far and each faint loses hours.
  5. Bigger crews faint more often: a job's mean time to failure falls from 47.7 days on 8 GPUs to 7.9 hours on 1,024, and a projected 1.8 hours on 16,384 (Meta's research clusters).
  6. So big runs automate: spot the faint in seconds, swap the rower, restart from the buoy. Llama 3 kept effective training time above 90%, and people stepped in 3 times in 54 days. Next: can AI help run operations?

What everyday example explains training at scale?

A galley of rowers that stops when one faints. The rowers are GPUs, the stroke the synchronised training step, a fainting rower a failed GPU, the buoys dropped behind the ship checkpoints, and rowing back to the last buoy the lost work.

Why should a team care about training at scale?

The team decides how often to checkpoint (from its failure rate and save time), how fast detection and restart must be, whether to keep spare GPUs ready, and what effective training time to report, not just GPU count.