Manuscript Offprint

arXiv:2610.07688

FailBench: Evaluating Fault Tolerance Across Distributed Training Architectures

Khaled Aljbab, Amine Barrak

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Khaled Aljbab D◯\textcircled{D} and Amine Barrak D◯\textcircled{D}

Abstract—Distributed deep learning relies on data, pipeline, tensor, and hybrid parallelism, yet fault-tolerance mechanisms are typically evaluated only on the architecture for which they were designed. This leaves practitioners with little guidance when choosing mechanisms across architectures. FAILBENCH provides a unified evaluation harness covering seven distributed training architectures, eight crash-fault-tolerance mechanisms and a no-FT baseline, and single, concurrent, and cascading fail-stop failures. We evaluate 142 (architecture, mechanism, trace) combinations on an 8×V1008 \times V100 cluster, with per-rank checkpoint states ranging from 205 MB to 2.7 GB.

Three findings emerge. First, no mechanism is universally best: on A2, disk checkpointing has the lowest steady-state overhead (0.5%), in-memory replication restores fastest (~17 ms), and just-in-time checkpointing avoids periodic steady-state checkpoint cost but incurs ~0.9 s upon failure. When process-group reformation takes seconds, mechanisms differ more in runtime overhead than restore speed. Second, gossip training increases sample throughput by 17.9% after losing a worker, yet shows no detectable improvement in loss progress over a matched no-fault baseline. Third, mechanism cost depends strongly on architecture: in-memory replication overhead ranges from 3.7% to 176%. We translate these findings into a decision framework for selecting fault-tolerance mechanisms and release FAILBENCH as an open artifact.

Index Terms—Distributed deep learning, fault tolerance, checkpointing, redundancy, empirical study, benchmark.

I. INTRODUCTION

TRAINING large neural networks has become an exercise in endurance computing. Modern language and vision models have grown from millions to hundreds of billions of parameters in under a decade [1], [2], and neither the model nor the dataset fits on a single accelerator any longer. Practitioners therefore rely on distributed training: the model, the data, or both are partitioned across many GPUs that exchange gradients or activations on every training step. The dominant parallelism strategies (data, pipeline, and tensor parallelism, often composed into three-dimensional hybrids [3], [4]) each carry their own communication pattern, memory layout, and failure topology. Frontier-scale runs span weeks of wall time on thousands of GPUs [5], consume megawatts of power, and cost millions of dollars per training cycle.

At this scale, failure is routine rather than exceptional. Meta’s OPT-175B log reports roughly one hundred hardware failures over a two-month run [1]; the Llama-3 405B campaign was interrupted more than 400 times in 54 days, dominated by GPU and HBM failures [2]; and reports from ByteDance [5] and Alibaba [6] document crashes, link drops, fail-slow stragglers, and silent data corruption.

In response, the systems and machine learning communities have produced a collection of fault tolerance (FT) mechanisms, cataloged by several surveys [7]–[9]. The common approach periodically saves model and optimizer state and replays from the latest checkpoint after a failure; recent work accelerates it through in-memory replication [10], asynchronous and lazy disk writes [11], [12], and just-in-time capture triggered by an impending preemption [13]. A second family duplicates the work, running each pipeline stage on more than one rank so a surviving peer takes over immediately [14]–[16]. A third applies coding theory, distributing redundant computation so that any sufficient subset of workers reconstructs the aggregate update [17]. A fourth accepts convergence cost in exchange for graceful degradation: decentralized parallel SGD [18], PyTorch Elastic [19], and Horovod Elastic [20] keep training alive at a smaller cluster size instead of crashing.

Despite this diversity, the literature shares a methodological limitation: each mechanism is evaluated only inside its own design space. Checkpoint systems are compared against other checkpoint variants [10], [11], redundancy systems against vanilla pipeline parallelism [14], [15], and gossip-SGD inside the peer-to-peer overlay [18], [21]. No published study measures these mechanisms head-to-head across the spectrum of training architectures on the same cluster under a common fault schedule. A practitioner who has chosen an architecture for performance reasons therefore has no quantitative basis for picking the FT strategy that minimizes expected wall time given the cluster's mean time between failures.

We propose FAILBENCH, a harness for evaluating crash-fault tolerance across distributed training architectures under controlled fault schedules. It covers 133 of the 171 viable (architecture, mechanism, trace) tuples plus all nine structurally infeasible tuples. Four conditions bound what follows. We inject fail-stop crashes only, so Byzantine behavior, silent data corruption, and fail-slow stragglers are out of scope. The mechanisms span checkpointing, state replication, and reconfiguration, but not coded computation, which needs an aggregation topology we do not implement. The schedule is fixed across architectures except for injection time, which scales with per-rank state size so reactive mechanisms can finish an emergency save before the crash. We measure at 8 GPUs on 0.2–2.7 GB of per-rank checkpoint state, parameters plus optimizer buffers, so the transferable results are structural: which architectures halt, which pairings are infeasible, and the shape of the overhead-versus-recovery trade-off, rather than absolute overheads at frontier scale.

K. Aljbab and A. Barrak are with the Department of Computer Science and Engineering, Oakland University, Rochester, MI 48309 USA. Corresponding author: A. Barrak (e-mail: aminebarrak@gmail.com).

Contributions. This paper makes four contributions.

  1. FAILBENCH, a unified harness that pairs seven distributed training architectures with eight crash-fault tolerance mechanisms and a no-FT baseline under a shared fault injector, enabling the first cross-cutting comparison on identical hardware and a common trace family.

  2. A compatibility map of 63 architecture–mechanism pairs that distinguishes viable, degenerate, and structurally infeasible configurations, including three infeasible pairs yielding nine tuples across the trace family.

  3. A 142-tuple empirical study showing that (i) six configurations halt completely on a single worker crash, while A1-async and A6 gossip degrade gracefully and gossip's raw throughput rises post-fault without improving learning efficiency, and (ii) disk, in-memory, and JIT checkpointing form a Pareto frontier ranging from zero periodic checkpoint work to 3.8% measured steady-state overhead, with 17–900 ms restore time, on which no mechanism dominates.

  4. A measurement-grounded decision framework that translates the empirical results into principled fault-tolerance selection, minimizing expected job completion time under user-supplied failure rate, state size, checkpoint interval, and service-level constraints.

We release FAILBENCH, all configurations, fault schedules, and the harvesting and analysis scripts, together with the rollup outputs behind every table, as an open artifact. 1^{1}

References (38)

  • OPT: Open Pre-trained Transformer Language Models
  • The Llama 3 herd of models
  • Megatron-LM: Training Multi-Billion Parameter Language Models Using Model Parallelism
  • DeepSpeed: System optimizations enable training deep learning models with over 100 billion parameters
  • MegaScale: Scaling large language model training to more than 10,000 GPUs
  • Characterization of large language model development in the datacenter
  • Toward exascale resilience: 2014 update
  • A survey of fault-tolerance techniques for embedded systems running deep learning models
  • A hierarchical survey of fault tolerance for deep learning systems (opens arXiv in a new tab)
  • Gemini: Fast failure recovery in distributed training with in-memory checkpoints
  • DataStates-LLM: Lazy asynchronous checkpointing for large language models
  • ByteCheckpoint: A unified checkpointing system for LFM development (opens arXiv in a new tab)
  • Just-in-time checkpointing: Low cost error recovery from deep learning training failures
  • Bamboo: Making preemptible instances resilient for affordable training of large DNNs
  • Oobleck: Resilient distributed training of large models using pipeline templates
  • Varuna: Scalable, low-cost training of massive deep learning models
  • Gradient coding: Avoiding stragglers in distributed learning
  • Can decentralized algorithms outperform centralized algorithms? a case study for decentralized parallel SGD
  • TorchElastic: Elastic and fault-tolerant distributed training in PyTorch
  • Horovod: Fast and easy distributed deep learning in TensorFlow (opens arXiv in a new tab)
  • A unified theory of decentralized SGD with changing topology and local updates
  • A first order approximation to the optimum checkpoint interval
  • A higher order estimate of the optimum checkpoint interval for restart dumps
  • Coded computation for multicore setups
  • Scaling distributed machine learning with the parameter server
  • Hogwild!: A lock-free approach to parallelizing stochastic gradient descent
  • DMTCP: Transparent checkpointing for cluster computations and the desktop
  • CheckFreq: Frequent, fine-grained DNN checkpointing
  • SWIFT: Expedited failure recovery for large-scale DNN training
  • MLPerf training benchmark
  • Chaos Mesh: A cloud-native chaos engineering platform
  • Machine learning with adversaries: Byzantine tolerant gradient descent
  • Byzantine-robust distributed learning: Towards optimal statistical rates
  • Learning from history for Byzantine robust optimization
  • The hidden vulnerability of distributed learning in Byzantium
  • Silent data corruptions at scale (opens arXiv in a new tab)
  • Cores that don’t count
  • Stochastic gradient push for distributed deep learning