Robust LLM Training Infrastructure at ByteDance

Borui Wan, Gaohong Liu, Zuquan Song, Jun Wang, Yun Zhang, Guangming Sheng, Shuguang Wang, Houmin Wei, Chenyuan Wang, Weiqiang Lou, Xi Yang, Mofan Zhang, Kaihua Jiang, Cheng Ren, Xiaoyun Zhi, Menghan Yu, Zhe Nan, Zhuolin Zheng, Baoquan Zhong, Qinlong Wang, Huan Yu, Jinxin Chi, Wang Zhang, Yuhan Li, Zixian Du, Sida Zhao, Yongqiang Zhang, Jingzhe Tang, Zherui Liu, Chuan Wu, Yanghua Peng, Haibin Lin, Wencong Xiao, Xin Liu, Liang Xiang

Abstract

Training large language models (LLMs) at the scale of tens of thousands of GPUs presents unprecedented systems engineering challenges. Hardware failures, both explicit and implicit, significantly degrade the Effective Training Time Ratio (ETTR). This paper presents ByteRobust, a specialized infrastructure developed at ByteDance to ensure high-stability LLM training. By prioritizing rapid fault isolation over exhaustive root-cause diagnosis and employing "warm" standby nodes alongside optimized checkpointing, ByteRobust achieves a 97% ETTR on a 9,600-GPU production cluster.

1. Introduction

The current landscape of Artificial Intelligence is defined by a "GPU arms race," where clusters are scaling toward 100,000 GPUs to train models like Llama 3 or ByteDance’s Seed series. At this magnitude, "one-in-a-million" hardware failures are no longer statistical outliers; they are daily operational realities. For instance, in a 16,000-GPU cluster, a failure can occur as frequently as every 2.8 hours.

The primary challenge in such environments is maintaining a high Effective Training Time Ratio (ETTR)—the proportion of time spent on actual computation versus recovery. Traditional recovery methods are often manual and slow, involving log analysis, cluster rescheduling, and the reloading of massive checkpoints from remote storage. ByteRobust was designed to automate this lifecycle, minimizing unproductive time through a "detect and isolate" philosophy.

2. The ByteRobust Architecture

ByteRobust moves away from the traditional "diagnose then fix" loop. Its architecture is bifurcated into two primary components:

  • Control Plane: Responsible for orchestrating the recovery process, managing resources, and scheduling.
  • Data Plane: Consists of agents deployed on every training node that monitor health and execute local recovery actions.

2.1 Rapid Fault Isolation

In massive clusters, pinpointing a specific faulty GPU can take hours. ByteRobust adopts a "coarse-grained" isolation strategy. If a group of machines exhibits suspicious behavior, the system evicts the entire group immediately. This "over-eviction" ensures that the healthy majority of the cluster can resume training without waiting for a precise diagnosis.

2.2 Handling Implicit Failures

"Implicit" failures—such as job hangs or performance jitters—are often more disruptive than "explicit" crashes because they lack clear error codes. ByteRobust addresses this by aggregating stack traces from all active processes. By clustering these traces, the system can identify specific parallel groups stuck in communication deadlocks and isolate them automatically.

2.3 Warm Standby and Hot Updates

To minimize downtime during rescheduling, ByteRobust maintains a pool of "warm" standby GPUs. These nodes have already passed health checks and are ready for immediate integration. Furthermore, the system supports "hot updates," allowing researchers to modify code or configurations without a full environment teardown, which is essential for the iterative nature of LLM research.

3. Optimized Checkpointing

Standard checkpointing often relies on remote file systems like HDFS, which can be a bottleneck. ByteRobust implements an over-eviction-aware checkpointing system that saves data to local CPU memory and SSDs. These checkpoints are then asynchronously backed up to "peer" machines across different failure domains, ensuring data persistence even if a local node fails.

4. Evaluation and Results

The system was evaluated using ByteDance’s production workloads, including dense models (70B+ parameters) and Mixture-of-Experts (MoE) models (200B+ parameters).

4.1 Efficiency and Recovery Speed

In a three-month production run on 9,600 GPUs, ByteRobust maintained a 97% ETTR. The recovery mechanisms proved significantly more efficient than traditional methods:

  • Warm Standby: 10.87x faster than standard rescheduling.
  • Hot Updates: 11.04x faster than full restarts.
  • Checkpointing Overhead: Achieved "every-step checkpointing" with less than 0.9% overhead on Model FLOPs Utilization (MFU).

4.2 Real-World Reliability

During the evaluation period, ByteRobust automatically managed over 38,000 explicit failures and nearly 6,000 implicit failures, demonstrating its capability to handle the volatility of large-scale hardware.

5. Discussion and Future Work

While ByteRobust significantly improves training stability, several challenges remain. Vendor-provided diagnostic tools often lag behind the rapid evolution of GPU hardware, sometimes introducing new faults during health checks. Additionally, Silent Data Corruption (SDC)—subtle numerical errors that poison model weights without causing a crash—remains a critical threat. Future iterations of ByteRobust will focus on more sophisticated bit-wise alignment tests and numerical monitoring to detect SDCs.

6. Conclusion

ByteRobust demonstrates that at the scale of 10,000+ GPUs, speed of isolation is more valuable than precision of diagnosis. By treating human error and hardware failure as inevitable components of the training lifecycle, ByteRobust provides a robust framework for the next generation of LLM development.

Summary updated

BibTeX
@inproceedings{wan2025robust,
  author = {Borui Wan and Gaohong Liu and Zuquan Song and Jun Wang and Yun Zhang and Guangming Sheng and Shuguang Wang and Houmin Wei and Chenyuan Wang and Weiqiang Lou and Xi Yang and Mofan Zhang and Kaihua Jiang and Cheng Ren and Xiaoyun Zhi and Menghan Yu and Zhe Nan and Zhuolin Zheng and Baoquan Zhong and Qinlong Wang and Huan Yu and Jinxin Chi and Wang Zhang and Yuhan Li and Zixian Du and Sida Zhao and Yongqiang Zhang and Jingzhe Tang and Zherui Liu and Chuan Wu and Yanghua Peng and Haibin Lin and Wencong Xiao and Xin Liu and Liang Xiang},
  title = {{Robust LLM Training Infrastructure at ByteDance}},
  booktitle = {SOSP},
  year = {2025},
}
Figure