Recovering Distributed GPU Training After Node Failure: Checkpoints, Replacement Capacity and Restart Time
Three settings decide what a node failure costs a distributed GPU training job: checkpoint frequency, the number of tested spare servers kept ready, and the restart method. GPU training fault recovery comes down to tuning each one against the cluster's failure rate.
Engineers track that rate as mean time between failures (MTBF), the average run time before an interruption. Meta's reliability study puts it near 8 hours for a 1,024-GPU job.
We'd pair a cluster that size with a warm spare pool of pre-tested servers and an automated restart from the last checkpoint.
TL;DR: A 1,024-GPU job stops about three times a day, so save a checkpoint about twice an hour and automate the swap to a tested spare server. That automated swap lifts useful training from 81% to 92% of GPU time in Crusoe's model.
Why GPU Training Fails More Often on Bigger Clusters
Most large training jobs run in lockstep: each GPU waits for the others at each step, so one failed node halts the job. More nodes in a GPU cluster mean more parts that can break, which shortens the job's MTBF.
Meta's study covers 150 million A100 GPU-hours and fits a failure model to that data. The figures show the gap between failures shrinking with job size:
| Job size (GPUs) | Mean time between failures | Source |
|---|---|---|
| 8 | About 47 days | Meta A100 data via Crusoe |
| 1,024 | About 8 hours | Meta A100 data |
| 16,384 | About 1.8 hours | Meta A100 data |
| About 100,000 | About 18 minutes | Meta's separate 100,000-GPU training system |
A 1,024-GPU job stops about three times a day, which rules out a recovery plan that treats failures as rare events. A 1-hour restart costs 12.5% of GPU time at one failure per 8 hours.
What Fails During Training: Resets, Dropped Nodes and Dead Hardware
Hardware causes most training interruptions. Meta's Llama 3 report traced about 78% of unexpected interruptions in a 54-day, 16,000-GPU run to hardware, and about 12.9% to software bugs.
A second Meta dataset agrees: a 32,000-GPU training job saw 2.3 interruptions per 1,000 servers per day, with hardware behind 78% of the interruptions.
We sort hardware failures into three groups by recovery step:
- Transient resets: a network card or GPU resets and comes back, so the job restarts from its last checkpoint on the same nodes.
- Dropped nodes: a network or node fault removes a server from the job, so recovery swaps in a replacement and restarts from checkpoint.
- Hard failures: the server stays broken and goes to repair, which leaves the spare pool one server short during the repair.
A lemon node passes idle health checks and fails under real training load. Removing lemon nodes from scheduling cut Meta's failure rate for large jobs from 14% to 4%, as Crusoe reports from Meta's paper.
Slow nodes waste GPU time without triggering an interruption, a loss covered in our guide to GPU cluster training bottlenecks.
Choosing a Checkpoint Interval
The checkpoint interval is the time between saves. On average, a failure throws away half an interval of training, assuming failures land at random between saves, per Databricks' analysis.
Saving twice as often halves the redone work and doubles the time spent writing checkpoints, so the best setting depends on the failure rate.
Goodput is the share of GPU time spent on useful training. Databricks puts goodput at 64% with 2-hour gaps between saves and 91% with 30-minute gaps, at Meta's Llama 3 rate of about 8.6 interruptions a day.
The 2-hour gap costs about 27 points of goodput at that failure rate.
Checkpoint size sets the cost of each save. Spheron's worked example breaks down the state of a 70B-parameter model trained in BF16 and spread across 8 GPUs with FSDP, PyTorch's way of dividing model state between GPUs:
| Component | Size before sharding | Per GPU across 8 GPUs |
|---|---|---|
| BF16 weights | About 140 GB | About 17.5 GB |
| AdamW optimizer state (fp32, two moments) | About 560 GB | About 70 GB |
| fp32 master weights | About 280 GB | About 35 GB |
| Weights plus optimizer state | About 980 GB | About 122 GB |
| Optimizer state alone | About 560 GB | About 70 GB |
The 980 GB sum and the per-GPU weight rows are our arithmetic from Spheron's sizes. The 122 GB and 70 GB per-GPU figures come from Spheron.
Spheron times a save of weights plus optimizer state at 25 to 45 seconds per GPU on 3 to 5 GB/s NVMe drives. An optimizer-only save takes 15 to 25 seconds.
A synchronous checkpoint pauses training until the write finishes. Writing 200 GB at 4 GB/s idles the GPUs for about 50 seconds, or 0.8% of training time with 100 minutes between saves, in Spheron's example.
An asynchronous save copies the state to a staging buffer and writes it to storage as training continues. Databricks measured the pause for a 20B-parameter FSDP job on 32 H100 GPUs at 522 seconds with PyTorch's single-file torch.save and 9 seconds with an asynchronous save.
Checkpoint format decides which recovery options you keep. PyTorch's Distributed Checkpoint (DCP) writes each GPU's shard in parallel and records the tensor layout, so a job can reload the checkpoint on a different GPU count.
Shards saved per GPU with plain torch.save reload at the same GPU count and need a consolidation step before a restart on a different node count, per Spheron's guide.
Sizing the Spare Pool for Fast Replacement
Spare pool depth follows from two numbers: failure rate and replacement time. Crusoe's breakdown puts manual replacement at 60 to 120 minutes, and each failure leaves a 1,024-GPU job idle that long without a ready spare.
Size the pool to cover the replacements in progress during your slowest swap. That works out to 0.25 replacements in progress for three failures a day with 2-hour manual swaps (3 × 2 / 24), so one spare covers the average day.
Extra spares cover correlated failures, such as a bad switch or power fault that takes out several nodes in one event. Crusoe advises pausing automatic swaps when several nodes in one rack fail within minutes, since replacing them burns through the pool without fixing the upstream fault.
Crusoe puts replacement at 5 to 10 minutes with automated detection and a warm spare pool. That figure covers getting the spare into the cluster, before the job reloads its checkpoint.
A spare that shares a rack, switch or power feed with the failed node can fail with it, so spread the pool across those domains.
Where Recovery Time Goes After a Failure
A restart after a failure runs through five steps:
- Detect: monitoring or a timeout notices the stopped job, and Meta's 100,000-GPU system uses a 60-second timeout.
- Allocate: a replacement server joins the job in minutes from a warm spare, and Meta saw up to five minutes when the job went back to the scheduler.
- Reload: each GPU reads its checkpoint shard back into memory.
- Reconnect: NCCL, NVIDIA's library for GPU-to-GPU communication, rebuilds its connections across the job.
- First step: the first training step after a restart runs slow while the data loader and other parts start up, and Meta measured that step at several minutes.
We haven't found a measured breakdown of these steps at 1,024 GPUs. Meta measured NCCL reconnection at about 17 seconds on 16,000 GPUs and about 200 seconds on 98,000 GPUs, on its own customized NCCL build.
Restart cost grows with job size, so a restart measured on a small cluster understates a large one.
Nebius reports an average MTTR (mean time to recovery) of about 12 minutes across most of its installations, counted from failure to a healthy replacement node. One Nebius customer's 3,000-GPU cluster averaged 33.0 hours between infrastructure failures over several weeks, peaking at 56.6 hours.
Elastic training resizes the job around the failed node and keeps training on the remaining GPUs. It needs a checkpoint format that reloads at a new GPU count, such as DCP, plus extra engineering in the training code.
Amazon's Gemini system keeps a copy of each node's checkpoint in another machine's CPU memory. Amazon's tests on three LLMs found it cut training time lost to failures by more than 92% against the best remote-storage checkpoint setup.
Worked Example: Recovery Cost on a 1,024-GPU Job
Collect three numbers from your own cluster for this calculation:
- Time between failures: your MTBF from job logs, in minutes.
- Checkpoint write time: how long training pauses for each save.
- Replacement time: minutes from failure to resumed training.
This example uses the published stand-ins from Crusoe's model: a 1,024-GPU job, 480 minutes between failures, a 1-minute save and 30-minute gaps between saves.
| Loss | Calculation | Share of GPU time |
|---|---|---|
| Save overhead | 1 minute per 30-minute gap: 1 / 30 | 3.3% |
| Redone work | 15 minutes per failure / 480 minutes | 3.1% |
| Queue wait for a replacement | 60 minutes per failure / 480 minutes | 12.5% |
| Goodput | 100 − 3.3 − 3.1 − 12.5 | About 81% |
The redone-work share is half the gap between saves divided by the time between failures: 15 minutes per 480 here.
Automating the swap cuts the wait to about 5 minutes per failure in Crusoe's model, or 15 minutes across a day's three failures. The queue wait share falls from 12.5% to about 1% (5 / 480), and goodput rises from 81% to about 92%.
Halving the gap between saves to 15 minutes would cut redone work to 1.6% (7.5 / 480) and double save overhead to 6.7% (1 / 15). Those two losses rise from about 6.5% to about 8.2% combined, so the tighter schedule loses at this failure rate.
The 15-minute gap breaks even at about 225 minutes between failures with a 1-minute save (7.5 / x = 1 / 30). Move to 15-minute gaps when your cluster's time between failures drops below 225 minutes.
How 100,000-GPU Training Runs Keep Working Through a Failure
Meta timed checkpoint restarts at 100,000-GPU scale in its paper on Fault Tolerant Hybrid-Shared Data Parallelism (FT-HSDP). Meta's production data shows a failure about once per 18 minutes at 100,000 GPUs, and a restart of the job takes up to 10 minutes.
FT-HSDP splits the job into replicas, groups of thousands of GPUs that each train on a slice of the data. When a GPU fails, Meta rebuilds its replica, and the other replicas keep training.
Meta's 98,000-GPU test cut the stall from 10 minutes to about 3 minutes. Meta calculates effective training time rising from 44% to 80% at one failure per 18 minutes.
Those results come from one system of 98,000 to 100,000 GPUs, and we haven't seen evidence that they carry over to 1,024 GPUs.
Automated Recovery and Monitoring Software
The numbers above assume quick detection of each failure. Automated swapping added about 11 points of goodput in the worked example, from 81% to 92%.
Monitoring also lowers the failure rate, because lemon node screening needs tests that run nodes under real load.
Zettabyte's zWARE GPU cluster software tracks GPU, network card, power and system health and triggers automated recovery. The zWARE FAQ states that customers typically see 30 to 40% higher effective GPU utilization, a claim we publish about our own product.
Next, rerun the worked-example table with your own failure interval, save time and replacement time, then pick the save schedule and spare pool depth that fit those numbers.
GPU Training Fault Recovery FAQ
How much GPU time does one node failure waste?
A node failure wastes half the gap between saves in redone training, plus the replacement wait on each idle GPU. That's about 15 minutes of redone training plus an hour of idle GPUs per failure, with 30-minute gaps between saves and a 60-minute manual swap.
How many spare nodes should a GPU training cluster keep?
One warm spare covers the average day for a 1,024-GPU job with automated swaps. Add more for correlated failures, such as a switch outage that drops several nodes in one event.
Does checkpointing more often slow down training?
Yes: each save pauses training while it writes, and halving the gap between saves doubles those pauses. An asynchronous save shrinks the pause to the time needed to copy the state into a staging buffer, per Databricks.
