Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient Replication
Ankit Bhardwaj (Tufts University), Weiyang Wang (Massachusetts Institute of Technology), Jeremy Carin (Massachusetts Institute of Technology), Adam Belay (Massachusetts Institute of Technology), Manya Ghobadi (Massachusetts Institute of Technology)
23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26) · Day 1 · Overfitting the Internet
Overview
As frontier deep learning models scale into hundreds of billions of parameters, training runs demand clusters spanning tens of thousands of accelerators. At this scale, hardware and software faults are no longer rare anomalies; they are statistical certainties. For instance, Meta's training run for the Llama 3 405B model across 24,000 H100 GPUs encountered 419 failures over 54 days, burning approximately 2 million GPU hours on lost progress. To mitigate this, training systems rely on checkpointing—periodically serializing model parameters and optimizer states to non-volatile storage. However, traditional checkpointing forces an agonizing trade-off: pause the expensive GPUs to copy and persist states (incurring severe performance overhead), or checkpoint infrequently (risking massive re-computation when a failure strikes).

Key moments
- 0:00 Introduction and motivation behind model checkpointing
- 2:00 Traditional checkpointing mechanisms and their overheads
- 4:00 Core idea of Checkmate for zero GPU overhead
- 6:00 Checkmate system components and network gradient replication
- 8:00 Network load management and selective replication algorithm
- 11:00 Lossless gradient multicasting and reliable delivery
- 12:00 Storage node scaling and parallelizing optimizer computations
- 13:40 Evaluation results and throughput comparison against baselines
Checkmate: Zero Performance Overhead Model Checkpointing via Network Gradient Replication
Speakers: Ankit Bhardwaj (Tufts University); Weiyang Wang (Massachusetts Institute of Technology); Jeremy Carin (Massachusetts Institute of Technology); Adam Belay (Massachusetts Institute of Technology); Manya Ghobadi (Massachusetts Institute of Technology)
Conference: USENIX NSDI
YouTube: https://www.youtube.com/watch?v=oArUIe3WfK8
Overview
As frontier deep learning models scale into hundreds of billions of parameters, training runs demand clusters spanning tens of thousands of accelerators. At this scale, hardware and software faults are no longer rare anomalies; they are statistical certainties. For instance, Meta's training run for the Llama 3 405B model across 24,000 H100 GPUs encountered 419 failures over 54 days, burning approximately 2 million GPU hours on lost progress. To mitigate this, training systems rely on checkpointing—periodically serializing model parameters and optimizer states to non-volatile storage. However, traditional checkpointing forces an agonizing trade-off: pause the expensive GPUs to copy and persist states (incurring severe performance overhead), or checkpoint infrequently (risking massive re-computation when a failure strikes).
This talk introduces Checkmate, a systems-level intervention developed by researchers from Tufts University and MIT that eliminates this fundamental trade-off. Checkmate achieves zero GPU performance overhead while enabling per-iteration checkpointing—the theoretical gold standard of fault tolerance in distributed machine learning. By decoupling checkpoint generation from the main GPU compute path through network-assisted gradient replication, Checkmate shifts the burden of maintaining checkpoint states off accelerators and onto auxiliary storage nodes. The result is a fault-tolerance mechanism that operates within 0.8% of ideal uncheckpointed training throughput while making frequent failure recovery practically instantaneous.
Background
▶ Watch: Introduction and motivation behind model checkpointing (0:00)
The mechanics of deep learning training revolve around an iterative loop consisting of a forward pass (computing loss), a backward pass (producing gradients), and an optimizer step (updating model weights using algorithms like SGD, Adam, or AdamW). To protect this iterative loop against crashes, distributed training systems historically implement a copy-persist abstraction. First, the training system copies the model and optimizer states out of the accelerator's high-bandwidth memory (HBM). Second, it persists those bits to a remote storage medium, such as a dedicated storage cluster or replicated volatile memory.
In synchronous checkpointing variants, GPUs sit completely idle during these copy and persist phases, directly wasting expensive compute cycles. Asynchronous checkpointing attempts to overlap the copy step with the next computation iteration, but it still triggers heavy contention on GPU memory bandwidth and forces synchronization stalls before optimizer execution. Because these overheads compound with model size, ML engineers are forced to checkpoint sparsely—often every 30 to 60 minutes. If a crash occurs near the end of that window, hours of intermediate progress evaporate.
Prior research systems, such as CheckFreq, attempted to dynamically tune checkpointing frequencies to minimize overhead, but they still operate within the constraints of the copy-persist paradigm. They must balance between wasted compute and lost work. The vision articulated in modern frontier training reports—such as minimizing CPU/GPU pauses while maximizing checkpointing frequency—remained unfulfilled until Checkmate restructured how checkpoint states are tracked across the cluster.
Key Findings
▶ Watch: Core idea of Checkmate for zero GPU overhead (4:00)
The central discovery behind Checkmate is that a model checkpoint at iteration $T+1$ does not need to be copied directly from the GPU if you already possess the model state at iteration $T$ and the gradients produced during iteration $T$. By applying the identical optimizer update rule (e.g., AdamW) to an off-GPU shadow copy of the model using those exact gradients, the auxiliary storage nodes can independently advance the checkpoint state to match the primary model.
To operationalize this insight without choking the data center network, the authors established several key results:
- Throughput Parity: Checkmate sustains training throughput within 0.8% of the baseline configuration (which runs with zero checkpointing whatsoever).
- Extreme Checkpointing Frequency: By leveraging network-level gradient replication, Checkmate achieves per-iteration checkpointing, generating up to 34 times more checkpoints than state-of-the-art asynchronous approaches under identical overhead constraints.
- Throughput Multipliers: When compared at identical per-iteration checkpointing frequencies, Checkmate delivers a 1.3x to 6.5x speedup over traditional asynchronous implementations by removing memory bandwidth contention entirely.
- Scalable Optimizer Sharding: Distributing the lightweight optimizer update across multiple CPU storage nodes via sharding allows standard server hardware to easily keep pace with rapid gradient streams, even for billion-parameter models trained with small local batch sizes.
Technical Deep Dive
▶ Watch: Network load management and selective replication algorithm (8:00)
Checkmate replaces the traditional copy-persist pipeline with a multicast update abstraction. The architecture relies on three tightly integrated components: modified training nodes, a programmable network switch infrastructure, and dedicated storage/update nodes.
1. Training-Side Integration
Training nodes run unmodified deep learning frameworks utilizing NCCL (NVIDIA Collective Communications Library) for gradient synchronization across hybrid parallel domains. Checkmate introduces a lightweight NCCL plugin on the training side. This plugin tags and assists in replicating gradient packets as they leave the accelerators, keeping the underlying training code entirely transparent to the checkpointing mechanism.
2. Network-Level Selective Replication
A naive approach to network-level gradient replication would require doubling the network bandwidth between the training cluster and storage nodes to match the full line-rate gradient transmission during every collective communication step—an economically unviable hardware overhead.
To solve this network load management challenge, Checkmate exploits the internal mechanics of collective communication primitives, specifically the ring all-reduce algorithm (and its final all-gather phase). Instead of multicasting every gradient piece across every transmission round, Checkmate executes a selective replication algorithm. By strategically mirroring specific gradient chunks on designated network links during particular rounds of the ring communication, the system guarantees that the storage nodes receive the complete set of gradients by the end of the collective operation. Mathematically and empirically, this optimization bounds the required extra network bandwidth to exactly twice the per-GPU bandwidth for any collective communication group, regardless of its scale.
3. Lossless Transport and Integrity
Because dropped packets corrupt shadow model states, Checkmate implements lossless gradient multicasting. It leverages PFC (Priority-based Flow Control) to establish a lossless network fabric between the training switches and the storage nodes, utilizing backpressure mechanisms on switch and NIC buffers. Additionally, a strict handshake protocol between network switches and storage nodes, combined with sequence numbering and FEC (Forward Error Correction) codes, guarantees data integrity without packet loss crashes.
4. Storage-Side Optimizer Sharding
Once gradients reach the storage nodes, they must be processed by an optimizer update step (e.g., AdamW) to advance the shadow model state. Because storage nodes rely on CPUs rather than GPUs, a bottleneck can occur if the optimizer falls behind the incoming gradient stream. Checkmate resolves this by noting that functional optimizers operate independently and deterministically across parameter slices. By sharding the model parameters and partitioning the checkpoint state across multiple CPU storage servers, Checkmate parallelizes the optimizer computations, ensuring zero backlog even during high-throughput training runs.
Experimental Setup & Results
▶ Watch: Lossless gradient multicasting and reliable delivery (11:00)
The authors evaluated Checkmate using an end-to-end implementation across a cluster of 12 A100 GPU nodes connected via 100 Gbps network links, paired with 4 storage nodes equipped with commodity multi-core CPUs for executing shadow optimizer updates.
- Model Benchmarks: Primary evaluations utilized a Llama 2 13B parameter model, alongside scaling microbenchmarks on GPT-3 variants scaled to 1.3 billion and 6.7 billion parameters.
- Baselines: The evaluation compared Checkmate against three primary configurations:
- No Checkpointing: The theoretical maximum performance ceiling (zero overhead, but catastrophic loss on failure).
- PyTorch Asynchronous Checkpointing: A highly optimized asynchronous baseline.
- CheckFreq: A state-of-the-art adaptive checkpointing framework (FAST '21).
Headline Results
When configured for per-iteration checkpointing, PyTorch’s asynchronous baseline suffered roughly a 4x slowdown in training throughput due to memory bandwidth contention and synchronization barriers. CheckFreq, while avoiding constant overhead by checkpointing sparsely, left training runs vulnerable to significant lost work upon failure. In stark contrast, Checkmate achieved per-iteration checkpointing while maintaining a training throughput within 0.8% of the uncheckpointed baseline.
Scaling Microbenchmarks
Microbenchmarks evaluating optimizer step times across varying CPU core counts (up to 112 cores distributed across four 28-core machines) demonstrated exceptional scalability. For a 6.7 billion parameter model trained with a local batch size of 5, a single 28-core server easily kept pace with the gradient updates. In worst-case scenarios featuring a local batch size of 1, deploying three storage nodes fully satisfied the computational throughput demands of the shadow model update loop.
Practical Implications
▶ Watch: Evaluation results and throughput comparison against baselines (13:40)
For infrastructure teams and ML platform engineers operating large-scale GPU clusters, Checkmate shifts the operational calculus of fault tolerance. Traditionally, cluster operators must overprovision storage bandwidth and accept degraded training performance as a cost of reliability. Checkmate demonstrates that network-assisted computation offload can completely excise this penalty.
However, adopting Checkmate requires specific infrastructural prerequisites:
- Network Programmability: The approach assumes access to programmable network hardware (such as P4 switches or equivalent hardware supporting efficient multicasting and flow control primitives like PFC).
- Dedicated Storage Compute: While GPUs are freed entirely from checkpointing overhead, clusters must provision adequate CPU-based storage nodes to handle the parallelized shadow optimizer updates, scaling core counts appropriately as model parameter sizes scale into the tens or hundreds of billions.
- Topology Awareness: The selective replication algorithm relies on structured communication patterns (such as ring topologies within NCCL groups), meaning network topologies must be carefully mapped to avoid bottlenecks at the switch boundaries.
Key Takeaways
- Eliminating the Checkpoint Trade-off: Checkmate breaks the historical compromise between high checkpointing frequency and GPU training throughput by removing accelerators from the checkpoint path entirely.
- Network Gradient Replication: By utilizing programmable network switches to multicast gradients during standard NCCL collective communication steps, off-GPU storage nodes receive the data required to advance shadow models asynchronously.
- Bounded Network Overhead: Through selective replication algorithms tailored to ring all-reduce communication patterns, Checkmate achieves full gradient mirroring with a network bandwidth overhead capped at 2x per-GPU bandwidth.
- Lossless Reliability: Integration with PFC, sequence-number handshakes, and forward error correction ensures zero packet corruption across the training-to-storage network boundary.
- Parallelized CPU Sharding: Distributing independent optimizer update steps (AdamW) across sharded CPU storage nodes prevents backlogs and scales efficiently to multi-billion parameter models like Llama 2 13B.
- Near-Zero Performance Cost: Checkmate delivers per-iteration checkpointing with a training throughput penalty of less than 1% compared to running without any fault tolerance.
About the Speaker(s)
The research was presented by Ankit Bhardwaj, a researcher from Tufts University, representing a collaborative systems and machine learning team that includes co-authors Weiyang Wang, Jeremy Carin, Adam Belay, and Manya Ghobadi from the Massachusetts Institute of Technology (MIT). Their collective work focuses on the intersection of high-performance networking, distributed systems, and large-scale machine learning infrastructure.
Reviews
- Simon Wisk (Open Source Developer & AI Tooling Expert) — MUST SEE ★★★★★
- Jensen Hitch (AI Compute Platform CEO) — MUST SEE ★★★★★
→ Top-rated talks at 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)
All talks from 23rd USENIX Symposium on Networked Systems Design and Implementation (NSDI '26)