Google's HardwareDx Cuts AI Server Repair Time by 27% Using Graph AI
Google deployed a graph neural network that diagnoses hardware faults across six TPU and GPU generations, cutting repair downtime and QA time by double digits in live tests.
Takeaways
- Google deployed HardwareDx, a graph neural network that diagnoses faults across 50+ ML clusters.
- Live A/B tests cut H100 mean repair time 18.3% and QA delivery time 28.3%; TPU equivalents 16.1% and 25.1%.
- Models each server tray as a ~1,600-node physical graph of chips, switches, DIMMs, and cables.
- Uses LLM log embeddings, GATv2, and Graph Transformer layers; hits over 95% precision and recall.
- Pretrained core transfers to new silicon with 10x less data; beat rules on H200 day zero (72.2% vs 59.6%).
- Deployed across six generations: TPU v5p, v7x, v7 and NVIDIA H100, H200, Blackwell. Google Cloud blog.
Before Google releases a new AI cluster to customers, thousands of server trays undergo stress tests. Production brings a steady flow of hardware faults: accelerators disappear from the bus, memory modules report errors, and cables degrade. Engineers have spent years diagnosing those failures with hundreds of hand-written rules tailored to each accelerator generation. Google is replacing that rule stack with HardwareDx, a graph neural network trained on repair records from its GPU and TPU fleets.
Google described HardwareDx in a Google Cloud post and a NeurIPS 2026 paper. The company reports that the implementation has run for six months across more than 50 machine-learning clusters and six accelerator platforms, including a new TPU platform. Production A/B tests found shorter repair cycles, faster quality-assurance delivery, and broader automated diagnostic coverage.
Why repair rules misfire
An AI server tray combines more than 100 replaceable parts, including accelerators, CPUs, dual in-line memory modules (DIMMs), PCIe switches, power supplies, a motherboard, and dozens of cables. Diagnosis runs as a loop of stress testing, fault isolation, component replacement, and retesting. A wrong replacement wastes a part and sends the tray through another test cycle that can take hours.
Cascading failures expose the limits of rule-based diagnosis. A degraded DIMM can reduce memory bandwidth enough to trigger a PCIe throughput alarm, causing the rule engine to recommend repairs in both subsystems. Replacing the memory module resolves both symptoms; replacing PCIe hardware adds cost and delay. Each accelerator generation also introduces new components, telemetry, and error names, requiring months of rule writing and tuning.
A wiring diagram becomes the model
HardwareDx converts each server tray into a graph of its physical topology. Every component and port becomes a node, while edges represent physical connections. An NVIDIA H100 tray produces a median graph of 1,613 nodes. Sensor readings, bandwidth tests, symptoms, and log messages are attached to the components that emitted them.
- Type-specific encoders: Separate encoders translate different component types and sensor formats into a shared graph representation.
- Text encoding: A large language model converts logs and symptom strings into vectors, allowing similar errors to remain close when names change between hardware releases.
- Local and global attention: GATv2 layers exchange signals between physically connected components. Graph Transformer layers compare distant or unconnected parts, helping the model trace symptoms that spread across subsystems.
Platform-specific prediction heads sit above the shared encoder. They score whether each component is faulty, which repair action a technician should take, and whether the tray will pass its next test. Joint training uses the actions and outcomes already recorded in historical repair logs, reducing the need for manually labeled component failures.
In Google’s evaluation, the component classifier exceeded 95% precision and 95% recall. More than 95% of flagged components were faulty, and the model found more than 95% of faulty components. On TPU v7x repairs, HardwareDx pinpointed the correct part in 98.8% of cases.
Production cuts repair time
Google tested HardwareDx against its existing rule-based diagnoser in a live A/B experiment covering 2,567 TPU repairs and 225 H100 repairs. The pilot group used HardwareDx, while the control group used the rule engine. Google defines mean time to repair as the interval from the start of diagnosis until the machine passes its retest. Quality-assurance delivery time measures the corresponding process for new machines entering a cluster.
| Platform | Repairs | Mean repair time reduction | QA delivery time reduction | Automated coverage |
|---|---|---|---|---|
| NVIDIA H100 | 225 | 18.3% (± 7.6%) | 28.3% (± 10.7%) | 93.9% (+10.7 percentage points) |
| Google Cloud TPU | 2,567 | 16.1% (± 2.6%) | 25.1% (± 2.5%) | 82.8% (+9.9 percentage points) |
TPU median repair time fell 27.1%, and 90th-percentile repair time fell 22.6%, indicating shorter cycles for both typical and difficult cases. Automated diagnostic coverage, defined as the share of failures resolved without human escalation, increased by about 10 percentage points on each platform.
New silicon needs less history
New accelerator generations begin with little repair data. Google says an earlier machine-learning diagnoser could require up to four months after general availability to collect enough examples for training, while established platforms may have more than 100 times as much repair history.
Fine-tuning the H100-pretrained model with 100 H200 repair examples matched a model trained from scratch with roughly 1,000 examples. At H200 general availability, the from-scratch model reached 52.1% accuracy and the production rule system reached 59.6%. HardwareDx began at 72.2% and rose to 94.2% after four months, giving the new platform usable automated diagnosis from launch.
The deployment boundary
HardwareDx remains an internal Google system. Deployment is restricted to the company’s infrastructure, and the release includes no source code, model weights, or fleet telemetry. The proprietary training data also prevents outside operators from reproducing the production model directly. Researchers can inspect the published architecture, universal graph format, multitask training setup, and ablation results in the paper.
HardwareDx begins work after a tray has failed a test and produces a ranked physical repair recommendation. Failure forecasting and workload rerouting sit outside the published system’s scope. Google says the diagnoser is now the default across Cloud TPU v5p, v7x, and v7 fleets, along with NVIDIA H100, H200, and Blackwell systems. That deployment gives the company one shared diagnostic core that can absorb new hardware with fewer examples and less platform-specific rule writing.