ByteRobust sustained a 97% cumulative Effective Training Time Ratio (ETTR) across a three-month 70+B dense LLM pretraining run and a one-month 200+B MoE run on 9,600 NVIDIA Hopper GPUs, bounding unproductive downtime to under 50 minutes. In SOSP 2025, Borui Wan and 34 colleagues from the University of Hong Kong and ByteDance Seed show that fast, coarse-grained isolation beats slow root-cause diagnosis when thousands of GPUs sit idle waiting on a single hung or degraded rank.
Across 778,135 LLM training jobs logged over three months on ByteDance’s production clusters, failures were neither rare nor purely hardware-driven: ByteRobust recorded 38,236 explicit errors (led by 19,968 CUDA errors at 36.1%), 5,948 silent hangs and MFU declines (9.9% hangs, 0.8% MFU drops) plus 148 NaN losses (0.3%), and 9,582 manual restarts (17.3%) for ongoing kernel, parallelism, and data updates.
- 2s to 60s failure detection: Second-level host, GPU, and network polling spots OS kernel panics in
2s, GPU driver hangs or overheating in10s, and switch outages in60s, replacing PyTorch Distributed’s ~10-minute default timeout. - Up to 84.50% faster resolution: Automated eviction, reattempt, code rollback, and dual-phase replay cut mean CUDA-error resolution from
518s(selective stress testing) to93s, and isolate single-node silent data corruption (SDC) in1.23%of stubborn failures. - 11.04x faster updates, 10.87x faster node swaps: In-place pod hot-updates cut code-change restarts from
768sto65sat 16,384 GPUs, while P99 warm standby pools cut weighted scheduling time10.87xover full job requeue (within5.19%of an infinite-standby oracle). - Under 0.9% every-step checkpoint cost: Overlapping dedicated-CUDA-stream D2H copies and P2P backups with compute trims per-iteration checkpoint stalls to
0.01sto0.04s(preserving99.11%to99.71%MFU) on 70B and 256B MoE jobs up to 16,384 GPUs.
How It Works
ByteRobust splits responsibility between an external control plane (Robust Controller and Runtime Analyzer) and an in-pod Robust Agent managing four modules: Monitor, Diagnoser, On-Demand Tracer, and CKPT Manager. Three design choices govern how it turns multi-hour failures into sub-minute restarts:
- Hierarchical isolation and data-driven over-eviction: Lightweight polls inspect kernel logs, DCGM telemetry, thermal throttling, and RDMA links every 2s to 30s. Clear hardware faults trigger immediate eviction; ambiguous crashes run NVIDIA EUD and intra-/inter-node NCCL checks, followed by transient reattempt, hot-updated code rollback, or dual-phase replay (splitting DP groups horizontally and vertically while fixing TP and PP sizes to intersect on a single SDC machine). For silent hangs and MFU drops,
py-spyand PyTorch Flight Recorder capture full process-tree stacks (including dataloader and checkpoint workers). Ranks sharing the dominant healthy stack stay, and ByteRobust evicts the smallest shared parallel group of outlier stacks (typically an 8-machine pipeline-parallel group) without waiting to prove which node stalled. - Lazy hot-updates and P99 warm standbys: Non-urgent kernel or parallelism patches queue until the next natural failure restart (with a 24-hour ceiling), and in-place hot-updates swap code without tearing down Kubernetes pods. For evictions, a pre-initialized standby pool sized to the 99th percentile of a binomial daily-failure model (for instance, 4 standby machines for a 1,024-machine job) wakes pre-checked nodes instead of rescheduling the cluster.
- Over-eviction-aware in-memory checkpointing: Building on insights from ByteCheckpoint and ZeRO, each rank copies sharded model and optimizer states to dual CPU buffers over a dedicated CUDA stream and exchanges peer backups during forward/backward idle windows. Crucially, backups live outside the sender’s TP, PP, and DP groups so evicting a full pipeline group never destroys its own recovery copy, while eliminating the 1,104 HDFS errors logged in Table 1.
Key Findings
On the two 9,600-Hopper-GPU production runs, ByteRobust resolved 73.1% (dense) and 56.8% (MoE) of all incidents via automated eviction and restart, 8.6% and 7.2% via stack-trace over-eviction, 6.9% and 11.2% via code rollback, and 11.4% and 24.8% via hot-updates for planned changes. MoE training ran at slightly lower ETTR than dense training because custom kernel tuning and load-balancing updates triggered more rollbacks and manual restarts, yet hot-updated optimizations lifted training MFU by 1.25x (dense) and 1.58x (MoE) over the runs.
In controlled microbenchmarks on up to 16,384 L20 GPUs (1,024 nodes), hot-updates stayed near constant at 46s to 65s while full job requeue climbed from 454s to 768s (11.04x speedup). Warm standbys beat pod rescheduling by 5.36x and full requeue by 10.87x. Every-step checkpointing cut stall time by 99.69% vs. Megatron save (0.01s to 0.04s vs. 6.77s to 13.02s) and 95.10% vs. Gemini-style memory checkpointing, holding average MFU loss to 0.71% (comparable in stability ambition to Meta’s 16,384-GPU Llama 3 run).
Caveats and Builder Takeaway
ByteRobust’s speed rests on deliberate over-eviction: dumping an entire 8-machine PP group when only 1 or 2 nodes are faulty creates 6 to 7 healthy false-positive evictions per incident, which pays off on a 10,000-GPU fleet with standby capacity but is wasteful on small clusters without spare nodes. Second, silent data corruption remains an open wound: NVIDIA EUD achieved only 70% SDC recall in ByteDance’s clusters (and once accidentally lifted a frequency lock, causing thermal downclocking), while NaN-loss diagnosis still averaged 4,289s (up to 7,200s) because collective all-reduces propagate corrupted gradients everywhere.
For teams building large training infrastructure, the clearest win is architectural rather than exotic: treat user code edits as normal runtime events via in-place hot-updates, isolate process-tree stack outliers at the parallel-group boundary instead of chasing single-node perfection while 9,000 GPUs sit idle, and place in-memory checkpoint replicas outside the failure domain you plan to evict.


