How Meta keeps its AI hardware reliable
Silent data corruptions (SDCs), hardware miscomputations that leave no trace, now occur at roughly one fault per thousand devices and are a growing threat to large-scale AI training and inference. Meta classifies hardware faults as static, transient or silent. It detects SDCs fleet-wide with Fleetscanner (periodic directed tests every 45-60 days), Ripple (millisecond co-located tests) and Hardware Sentinel (kernel-space exception analysis, 41% better than test-based methods). For AI workloads, SDCs cause NaN propagation and corrupted gradient variance during training and wrong outputs during inference. Mitigations combine infrastructure strategies (reductive triage, deterministic training, hyper-checkpointing) with stack strategies (gradient clipping, algorithmic fault tolerance, shadow-node verification, parameter vulnerability factors, divergence detection).
Related posts
- Detecting silent errors in the wild: Combining two novel approaches to quickly detect silent data corruptions at scale
Meta Engineering mediumAdeptMeta detects CPU silent data corruptions (SDCs), hardware errors that leave no log trace and propagate into applications, with two complementary fleet-testing methods. Fleetscanner piggybacks minutes-long intrusive tests on maintenance events like reboots and firmware upgrades, reaching each machine about once every 180 days. Ripple testing injects bit patterns with known results alongside production workloads in runs of hundreds of milliseconds, finding 70% of faulty CPUs within 15 days versus about 6 months for opportunistic testing. Because each method also catches faults the other misses (23% unique to opportunistic, 7% to ripple), Meta recommends running both.
- Meta’s Infrastructure Evolution and the Advent of AI
Meta Engineering easyNoviceMeta's infrastructure grew from a LAMP stack with per-university databases to a global fleet of millions of machines. Along the way it added Memcache and TAO, edge POPs, a backbone network, cache-invalidation systems for cross-region consistency, and fleet systems such as Twine, Tectonic, ZippyDB, Shard Manager, Kraken, Taiji and Maelstrom. AI workloads changed those assumptions. Recommendation models brought GPUs into the fleet, and LLM training pushed synchronous jobs from 128 to thousands of GPUs, where one failure halts the whole job; Meta reports cutting the interruption rate by about 50x. It went on to build two 24k H100 clusters (InfiniBand and RoCE), a 129k-H100 cluster made by emptying five data centers, air-assisted liquid-cooled GB200 racks, AMD MI300 deployments, and its own MTIA silicon for ranking and ads inference.
- PVF: A novel metric for understanding AI systems’ vulnerability against SDCs in model parameters
Meta Engineering hardMasterParameter vulnerability factor (PVF) is a metric, modeled on the architectural vulnerability factor (AVF), that defines the probability that a corruption in a given model parameter (or group of parameters) produces an incorrect output, estimated through large-scale fault injection. On DLRM inference, embedding tables show low PVF because of sparsity, while top-MLP reaches 0.4% under a single bit flip and 40% under 128 flips, versus 10% for bot-MLP. That gap argues for selectively protecting the most vulnerable parameters in hardware rather than protecting everything or nothing. A companion method, Dr. DNA, detects and mitigates SDCs from distributions of neuron activations, reaching about 95% average detection across 10 DNNs with under 1% memory and 2.5% latency overhead.
- Keeping 20,000 GPUs healthy
Modal mediumAdept
Modal keeps a multi-cloud fleet of over 20,000 concurrent GPUs reliable through instance-type benchmarking, continuously tested machine images, light boot checks, and passive plus active lifetime healthchecks. Anonymized cloud comparisons reveal large differences: PCIe H100s deliver about 40% fewer matmul FLOP/s than SXM, one provider ran H100s above 90°C and lost roughly half of peak performance, and one provider's L4s flake at CUDA init 0.1% of the time. Boot checks stay shallow (systemctl, nvidia-smi, a GPU read/write) to avoid slowing autoscaling. Passive monitoring uses dcgmi and dmesg Xid errors, weekly active checks run DCGM diag level 2, GPU burn and NCCL all-reduce, and unhealthy hosts are drained and replaced rather than repaired.
- Inside Prometheus: Meta’s Journey to a Gigawatt-Scale Supercluster
Meta Engineering hardMasterPrometheus is Meta's gigawatt-scale AI training supercluster in New Albany, Ohio, built in phases toward roughly 1 million GPUs. It runs NVIDIA GB200 (Catalina/Ariel, 800G scale-out per GPU) and GB300 (Clemente) NVL72 racks on a dedicated Ethernet back-end network with building-level fabrics of up to 20,736 GPUs and an aggregation network spanning 2 to 100+ km. Reliability engineering covers 64-of-72 GPU slices with in-rack spares (about 13% overprovisioning), parallelism-aware fault tolerance, async delta checkpointing, and targeted fixes for NVLink signal integrity and HBM faults. These cut interruptions by 99% and delivered over 85% goodput for pre-training, over 90% for RL, and an MTBI above 54K GPU hours.