Google Cloud’s HardwareDx Diagnoses GPU and TPU Faults with Graphs

AI clusters linking tens of thousands of accelerators face frequent component faults both during pre-delivery Quality Assurance (QA) stress tests and in live production. An AI server tray contains over 100 replaceable parts—including accelerators, CPUs, memory DIMMs, switches, power supplies, a motherboard, and dozens of cables—and every failure enters a multi-hour loop of stress testing, diagnosis, repair, and retesting. Historically, teams automated triage with hundreds of engineer-written rules, but rules break down when a single bad component triggers cascading alarms across connected hardware and require months of tuning for each new chip generation. To address this, Google AI & Infrastructure and Google Research built HardwareDx, a peer-reviewed diagnostic system presented at NeurIPS 2026 that combines graph neural networks (GNNs) and large language models (LLMs) to flag faulty components with over 95% precision and recall.

Modeling Server Trays as Multi-Platform Graphs

HardwareDx converts each server tray into a graph of its physical wiring—reaching a median of 1,613 nodes for an NVIDIA H100 tray—where chips, switches, ports, and cables are nodes connected by physical edges. Sensor readings, bandwidth tests, symptoms, and logs are attached directly to the components that emitted them, and part-specific encoders map heterogeneous hardware into a Universal Graph Format across GPUs and TPUs. To avoid brittle log parsers when error strings change across software releases (such as gpu-pcie-bus-error becoming nvfdpilot-gpu-pcie-bus-error), an LLM encodes symptom names into consistent embeddings, cutting onboarding effort for roughly 400 symptoms from two engineering months to one.

The graph backbone interleaves local Graph Attention (GATv2) layers, which pass messages between directly wired parts, with global Graph Transformer layers that compare signals across parts up to eight hops apart or from software symptoms without a physical wire. Decoding these representations into per-component fault scores isolates the faulty part in 98.8% of TPU v7x repairs and resolves multi-part failures that trip rule engines. When two GPUs go missing, HardwareDx inspects topology to prescribe a PCIe repair if they share a PCIe chain—the actual fix in 76.3% of multi-GPU missing cases—or target the GPUs and backplane if they sit on separate chains. Similarly, it learns when a degraded DIMM lowers bus bandwidth and triggers downstream PCIe alarms, fixing both symptoms by replacing only the DIMM.

Production A/B Results Against Rule Baselines

Google evaluated HardwareDx against its production rule-based system in a live A/B test covering 2,567 TPU repairs and 225 H100 repairs. On NVIDIA H100 GPUs, HardwareDx cut mean repair time by 18.3% (± 7.6%) and QA delivery time by 28.3% (± 10.7%), while lifting automated diagnostic coverage by 10.7 percentage points to 93.9%. On Google Cloud TPU fleets, it reduced mean repair time by 16.1% (± 2.6%) and QA delivery time by 25.1% (± 2.5%), with automated coverage rising 9.9 percentage points to 82.8%. Across TPU repairs, median repair time (P50) dropped by 27.1% and 90th-percentile repair time (P90) fell by 22.6%, accelerating both live cluster recovery and new-cluster QA sign-off.

Cross-Generation Pretraining for New Silicon

New accelerators launch with new part types and little failure history, while older platforms hold over 100x more repair data during initial bring-up; previously, collecting enough data to train an ML diagnostic model took up to four months after general availability (GA). HardwareDx removes this cold start by training a shared encoder and GATv2-plus-Transformer core across generations, paired with three lightweight per-platform output heads that predict fault likelihood, technician repair choice, and whether the repair passes the next test. Learning across all three heads removes the need for manual labels, and pretraining on H100 telemetry lets the model adapt to H200 hardware using roughly 10x fewer fine-tuning examples—matching scratch-trained accuracy with just 100 H200 examples. At H200 GA, a model trained from scratch achieved 52.1% accuracy versus 59.6% for rules, whereas HardwareDx reached 72.2% on day zero and 94.2% four months post-GA. Today, a single HardwareDx system supports six chip generations at Google: Cloud TPU v5p, v7x, and v7, alongside NVIDIA H100, H200, and Blackwell.

How Google Cloud Uses AI to Diagnose and Repair Hardware Faster

View Original