Meta's Hardware Reliability Framework for AI Training and Inference at Scale

meta · Tech · 2025 · source Agentic: no · promotional bias: low · source-backed · extracted with prompt 0.5.6 (schema v2)

Generated from extraction.json — do not edit by hand. Every claim cites verbatim source evidence; stated means the quote directly asserts the claim, implied means it supports it indirectly.

Problem

Domain: AI hardware reliability for training and inference

Meta's large-scale AI training and inference infrastructure is vulnerable to hardware faults, especially silent data corruptions, that can halt training, create illusory progress, corrupt inference outputs, and waste massive compute resources.

Constraints:

Architecture

Meta uses a layered hardware-reliability framework for AI training and inference. Fleet-level mechanisms include Fleetscanner targeted micro-benchmarks, Ripple co-located millisecond/second tests, and Hardware Sentinel kernel-space anomaly analytics. Training mitigation combines reductive triage, deterministic training, and hyper-checkpointing with stack-level approaches such as gradient clipping, algorithmic fault tolerance, tri-variate shadow-node training, parameter vulnerability factors, and divergence detection. A factory-to-fleet reliability strategy feeds lessons back into MTIA design, telemetry, diagnostics, firmware hooks, and stack resilience.

Diagram confidence: explicit (topology described by the source).

flowchart LR
  Workloads["AI training and inference workloads"] --> Infra["Global AI infrastructure"]
  Workloads --> Stack["Stack-level resilience"]
  Infra --> Fleet["Fleetscanner"]
  Infra --> Ripple["Ripple"]
  Infra --> Sentinel["Hardware Sentinel"]
  Infra --> Triage["Reductive triage"]
  Infra --> Checkpoint["Hyper-checkpointing"]
  Triage --> Checkpoint
  Factory["Factory-to-fleet feedback"] --> Infra
  Factory --> Sentinel
  Factory --> Fleet
  Factory --> Ripple
Drag to pan · scroll or use +/− to zoom · reconstructed from the source's described component topology

Components

Component Role Interacts with
AI training and inference workloads PyTorch applications and AI services that consume accelerator, storage, compute, and network capacity. Global AI infrastructure, Stack-level resilience
Global AI infrastructure Servers, accelerators, storage, compute, network fabric, filesystems, and data centers supporting AI workloads. AI training and inference workloads, Fleetscanner, Ripple, Hardware Sentinel, Reductive triage, Hyper-checkpointing
Fleetscanner Targeted micro-benchmark system for detecting hardware-defect performance outliers during maintenance and periodic fleet scans. Global AI infrastructure
Ripple Co-located production-adjacent test mechanism that executes fast checks for fleet-wide SDC coverage in days. Global AI infrastructure
Hardware Sentinel Kernel-space analytical system that identifies core-based anomalies as possible silent data corruption without dedicated test allocation. Global AI infrastructure
Reductive triage Binary-search-style mini-training process that isolates offending nodes when NaN propagation appears. Global AI infrastructure, Hyper-checkpointing
Hyper-checkpointing High-frequency checkpointing strategy that narrows corruption windows and lets reconstituted clusters resume training. Global AI infrastructure, Reductive triage
Stack-level resilience Workload/software techniques such as gradient clipping, algorithmic fault tolerance, shadow-node training, PVF, and divergence detection. AI training and inference workloads
Factory-to-fleet feedback Design, validation, telemetry, diagnostics, firmware, and fleet-signature feedback loop for MTIA and AI silicon reliability. Global AI infrastructure, Hardware Sentinel, Fleetscanner, Ripple

Data flow

AI training and inference workloads run across Meta's global compute, storage, network, and accelerator infrastructure. Hardware telemetry, micro-benchmarks, co-located tests, kernel exceptions, anomaly detectors, and workload signals identify static, transient, and silent faults. Suspect devices are triaged, quarantined, repaired, or mapped differently, while training resumes from checkpoints or uses stack-level fault tolerance to reduce wasted computation.

3 supporting quotes
“Meta’s global AI infrastructure consists of a large number of hardware components and servers , connected via network fabric across globally distributed data centers.”article, stated
“We focus on reducing hardware failures during training through detection and diagnostics, and quickly restarting training with healthy servers and accelerators.”article, stated
“This involves optimizing fault categorization, device triage, node selection, cluster validation, and checkpoint restore.”article, stated

Why this architecture

Meta uses multiple detection and mitigation layers because no single method covers the SDC space. Fleetscanner provides periodic directed tests, Ripple accelerates fleet coverage while co-locating with workloads, Hardware Sentinel avoids dedicated test allocation, and stack-level resilience handles corruption that slips past infrastructure diagnostics. Factory-to-fleet feedback moves reliability earlier into silicon and telemetry design.

3 supporting quotes
“While it provides dedicated testing on hosts, it may be too slow for some SDCs.”article, stated
“Ripple co-locates with workloads, executing tests in milliseconds to seconds, allowing fleet-wide coverage in days.”article, stated
“Combined together, these three mechanisms provide one of the best in-fleet coverage at scale, for detecting and protecting our infrastructure against SDCs.”article, stated

Models used: Llama 3 · PyTorch training workloads · large-scale AI models · text-to-image generation models · object segmentation models

Scale

Alternatives considered (roads not taken)

Rely on simple health checks and visible failures

Rejected because: Static failures are easy to detect, but SDCs miscompute without traces and can remain unnoticed.

“These static errors are straightforward to identify in large-scale fleets.”article, stated
“Silent errors or silent data corruptions (SDCs) occur when hardware miscomputes without leaving detectable traces”article, stated

Assume AI training is naturally resilient to SDCs

Rejected because: Meta found self-resilience applies only to limited SDC manifestations and is inadequate in realistic scenarios.

“While AI training workloads are sometimes considered self-resilient to SDCs, this is true only for a limited subset of SDC manifestations.”article, stated
“In most realistic scenarios, self-resilience is inadequate.”article, stated

Use only testing-based SDC detection

Rejected because: Testing can be too slow or instruction-specific, so Meta adds analytical and workload-co-located methods.

“While it provides dedicated testing on hosts, it may be too slow for some SDCs.”article, stated
“in-line software resilience and test-agnostic analytical approaches effectively scale for many SDCs with minimal investment”article, stated

Solve reliability only in silicon or only in software

Rejected because: Meta argues resilience must span factory-to-fleet silicon lifecycle and stack-level software/application techniques.

“Solutions must involve factory-to-fleet coordination and stack-level resiliency.”article, stated
“resilience must extend beyond silicon to firmware, compilers, kernels, and operating systems.”article, stated

Patterns

observability-tracing (operations)

Meta uses telemetry, kernel-space exception analysis, anomaly detection, fleet signatures, and diagnostic hooks to trace hardware faults back to devices.

“Detecting them requires extensive engineering and costly telemetry to trace data corruption back to specific devices.”article, stated
“It identifies core-based anomalies as silent data corruption without requiring test allocations, operating solely in the analytical plane.”article, stated

eval-driven-development (evaluation)

Reliability is verified through targeted micro-benchmarks, deterministic training, co-located tests, performance testing, coverage maps, and lifecycle diagnostics.

“Fleetscanner captures performance outliers at scale with targeted micro-benchmarks for identifying hardware defects.”article, stated

This approach involves running a known effective model for a few training iterations to ensure there are no NaNs or gradient divergences."

— article, stated

durable-execution (runtime)

Hyper-checkpointing and checkpoint restore keep long-running synchronous training from losing all progress when faulty nodes are isolated.

“A reconstituted cluster with new nodes can then resume training from a saved checkpoint.”article, stated

This method involves creating checkpoints at increasingly high frequencies to facilitate faster identification and isolation of the corrupting node."

— article, stated

safety-policy-enforcement (control)

Reliability controls prevent inference corruptions from bypassing privacy, safety, or content-integrity policies.

“These corruptions can bypass policies related to privacy or integrity, as they are not constrained by boundaries.”article, stated

Tradeoffs

Use multiple SDC detectors

Chose Fleetscanner, Ripple, and Hardware Sentinel together over One periodic benchmark-only detector.

Rationale: Fleetscanner gives directed fleet tests, Ripple gives faster co-located coverage, and Hardware Sentinel provides test-agnostic analytics.

“Fleetscanner captures performance outliers at scale with targeted micro-benchmarks for identifying hardware defects.”article, stated
“Combined together, these three mechanisms provide one of the best in-fleet coverage at scale”article, stated

Checkpoint aggressively during suspected corruption

Chose Hyper-checkpointing over Sparse checkpointing with broad restart windows.

Rationale: Higher checkpoint frequency helps isolate corrupting nodes faster while preserving training throughput.

“It helps maintain training throughput while containing NaN propagation to a specific accelerator or host”article, stated

Use algorithmic fault tolerance

Chose Fault tolerance built into training algorithms over Always detecting and triaging every corruption after the fact.

Rationale: Algorithmic tolerance can handle a range of corruptions and reduce detection/triage needs, but adds engineering and overhead.

“This robust approach integrates fault tolerance into training algorithms to handle a range of data corruptions, reducing the need for detection and triage.”article, stated
“This method requires understanding common defect modes and investing in engineering across the stack”article, stated

Map resilience by layer vulnerability

Chose Parameter vulnerability factors over Protecting every layer uniformly.

Rationale: PVF directs resilient hardware to vulnerable layers while accepting cost, area, power, or performance tradeoffs only where useful.

“allowing mapping of vulnerable layers to resilient hardware and resilient layers to unprotected hardware.”article, stated
“Resilience often incurs costs in area, power, or performance, so PVF enables targeted resilient design”article, stated

Gotchas (what bit them)

Silent data corruption can create an illusion of training progress.

Root cause: Corrupted gradient variance stays within numeric bounds and is treated as legitimate training data.

Resolution: Use divergence detection, reductive triage, checkpointing, gradient clipping, and algorithmic fault tolerance to detect or contain corruption.

“Corrupted gradient variance occurs when an SDC affects gradient calculations, leading to gradient explosion, implosion, or local minima.”article, stated
“The corrupted values are exchanged as true values, causing the training to appear to progress without actual improvement.”article, stated

NaN propagation from one accelerator can halt an entire cluster.

Root cause: A few computations on one accelerator can create NaNs that propagate through iteration, accelerator, host, and cluster domains.

Resolution: Identify and quarantine offending accelerators/nodes, then resume with healthy nodes from checkpoints.

“Once a NaN is created, it propagates through subsequent computations, affecting the training iteration, accelerator domain, host domain, and eventually the entire cluster.”article, stated
“Identifying and quarantining the offending accelerator and nodes are necessary to resolve the issue.”article, stated

SDCs can take weeks or months to become observable.

Root cause: Subtle numeric corruptions do not trigger NaN traps and can aggregate slowly.

Resolution: Use periodic/frequent testing, anomaly detection, and workload-aware detection throughout the device lifecycle.

“Detecting these SDCs is challenging due to their subtlety and the time required to observe their effects, which can take weeks or months.”article, stated
“consistent, periodic, and frequent testing within a random state space is necessary throughout the device’s life cycle”article, stated

Inference SDCs can silently corrupt production decisions.

Root cause: Persistent hardware miscomputations can alter recommendation or LLM outputs without normal constraint boundaries catching them.

Resolution: Apply telemetry, divergence detection, anomaly detectors, and device isolation before inference clusters continue serving.

“Persistent SDCs can directly impact decisions made by systems such as recommendation engines or LLM outputs.”article, stated
“Until the offending node is identified, inference clusters can’t be used, risking repeat corruption.”article, stated

Evaluation

Meta evaluates hardware reliability through fleet scans, co-located tests, kernel-space exception analytics, deterministic training, binary-search triage, divergence maps, ServiceLab performance tests, and factory-to-fleet telemetry feedback.

Metrics: over 66% of training interruptions tied to hardware failures · one SDC fault per thousand accelerator devices · Fleetscanner full-fleet coverage every 45-60 days · Ripple fleet-wide coverage in days · Hardware Sentinel 41% improvement over testing-based methods · weeks or months to observe subtle SDC effects

3 supporting quotes
“Ripple co-locates with workloads, executing tests in milliseconds to seconds, allowing fleet-wide coverage in days.”article, stated
“Hardware Sentinel outperforms testing-based methods by 41% across architectures, applications, and data centers.”article, stated
“ServiceLab, for example, is a large-scale performance testing platform that helps identify tiny performance regressions at scale.”article, stated

Outcomes

The case cites global data centers, thousands of accelerators, over 66% of Llama 3 training interruptions due to hardware failures, SDC rates near one per thousand accelerator devices, 45-60 day Fleetscanner coverage, and 41% Hardware Sentinel improvement.

3 supporting quotes
“The methodologies described above execute across the fleet and are fully productionized at scale, detecting SDCs across AI and non-AI infrastructure.”article, stated
“By 2024, Meta’s fleet had advanced AI SDC detection methodologies in production”article, stated
“For AI applications, treating reliability as a primary design consideration is essential.”article, stated