TL;DR
When scaling LLM training to 100,000 GPUs, traditional synchronous training hits an efficiency wall because hardware failures occur every 18 minutes, wasting over half of the compute time on cluster-wide restarts. This paper introduces Fault Tolerant Hybrid-Shared Data Parallelism (FT-HSDP), a novel paradigm that isolates failures to a single data-parallel replica so healthy replicas can keep training asynchronously. This approach slashes recovery stall times and boosts effective training time from 44% to 80% without degrading model accuracy.
What Problem Does This Paper Address?
As Large Language Models (LLMs) grow, training them requires scaling up to clusters of 100,000 GPUs or more. At this extreme scale, hardware reliability becomes a massive bottleneck. The authors observe that a 100K GPU cluster experiences an unexpected interruption roughly every 18 minutes.
Standard training frameworks rely on fully synchronous training, meaning every single GPU must be healthy to make progress. If one node fails, the entire cluster must halt, reallocate resources, reinitialize communication libraries (like NCCL), and restart from the last checkpoint. Even with highly optimized infrastructure, this recovery process takes up to 10 minutes. Doing this every 18 minutes leaves only 8 minutes of actual training time—an unacceptable effective training efficiency of just 44%.
The paper addresses this scalability crisis by designing a system that can tolerate localized failures without halting the entire cluster.
Methods
The authors propose Fault Tolerant Hybrid-Shared Data Parallelism (FT-HSDP). Instead of treating the 100K cluster as one monolithic synchronous block, FT-HSDP organizes the cluster into multiple independent data-parallel replicas, each containing thousands of GPUs.
To make this architecture resilient and performant, the authors introduced two key mechanisms:
- Fault Tolerant All Reduce (FTAR): Standard collective communication libraries like NCCL are driven by the GPU and require fixed, static memberships; they cannot handle nodes dynamically dropping out or rejoining. FTAR uses a hybrid design: a CPU-driven control plane handles complex logic (like dynamic group reconfiguration and error handling), while the GPU data plane executes high-speed RDMA data transfers using a bandwidth-optimal ring algorithm.
- Non-Blocking Catch-Up Protocol: When a failed replica recovers, it needs to catch up to the healthy replicas. Instead of stalling the healthy replicas while the recovering one fetches checkpoints, FT-HSDP allows healthy replicas to keep training. During the catch-up step, the recovering replica simply sends a "zero gradient" to the global gradient exchange. The mathematical properties of the All-Reduce operation automatically bring all replicas back to the exact same state at the end of the step.
Datasets
To evaluate the impact of asynchronous recovery on model accuracy, the authors trained a 3-billion parameter Mixture-of-Experts (MoE) model using a diverse text training set containing 500 billion tokens.
Model quality and convergence were evaluated using four external benchmarks spanning:
- Coding
- Reasoning
- Mathematics
- General text comprehension
Key Insights and Ideas
- The Control/Data Plane Split for GPUs: While GPUs are unmatched at raw data transfer, they lack the architectural flexibility to handle complex control logic like congestion control or dynamic network reconfiguration. Delegating the control plane to the CPU and the data plane to the GPU yields a robust, fault-tolerant protocol without sacrificing performance.
- The "Zero Gradient" Trick: Training optimization is surprisingly forgiving to asynchronous updates. Allowing a recovering replica to submit a zero gradient while loading its checkpoint seamlessly aligns its state with the rest of the cluster during the next All-Reduce step, entirely avoiding a cluster-wide stall.
- Replication as a Fault Isolation Boundary: By grouping GPUs into distinct replicas, the blast radius of any single hardware failure is restricted to that specific replica.
Key Results
The authors tested FT-HSDP in a massive production environment utilizing 98,304 H100 GPUs split into 12 replicas.
- Downtime Reduction: Compared to fully synchronous recovery which causes a 10-minute total cluster stall, FT-HSDP reduces the complete stall time to just 3 minutes.
- Efficiency Boost: Assuming a failure occurs every 18 minutes, FT-HSDP increases the cluster's effective training time from 44% to 80%.
- Zero Accuracy Degradation: Extensive testing on the 256-GPU scale demonstrated that the fluctuations introduced by asynchronous replica failures do not degrade final model accuracy or convergence across any of the evaluation datasets.
- FTAR Performance: The custom FTAR protocol achieved throughput virtually identical to native, non-fault-tolerant NCCL implementations.
Limitations and Future Work
- Timeout-Based Detection: The current implementation relies on a simple 60-second timeout to detect failed GPUs. The authors plan to integrate their fast root-cause analysis tool to detect and isolate failures within seconds, which would further reduce the 3-minute stall time down to around 1.5 minutes.
- Throughput Degradation During Recovery: While healthy replicas do not stall completely, losing a replica means the cluster temporarily operates at a reduced training throughput (e.g., running on 11 replicas instead of 12) until the failed node is replaced and caught up.
- First-Step Overhead: The "first-step" effect (initialization overhead right after a node joins) was mitigated but not completely eliminated, still contributing to minor rejoining stalls.
Summary updated