This post was originally published on this site

Google is expanding its machine learning (ML) compute fleet at a historic pace across Cloud TPUs and NVIDIA GPUs. Before each new cluster goes live, teams assemble thousands of machines and run every server tray through Quality Assurance (QA) stress tests.Every machine must pass QA before the cluster is handed to the customer. Quickly fixing the small fraction of complex multi-part faults accelerates how fast new capacity comes online.

Fast diagnosis is equally important once a cluster of machines enters production. Across the industry, in order to train and serve large foundation model jobs, developers link tens of thousands of accelerators together to run in lockstep. At this scale, failures in components such as accelerators, networking, and hosts are a regular occurrence. Keeping these large clusters productive depends on repairing machines quickly. 

To support both rapid capacity build-outs and live maintenance, Google AI & Infrastructure and Google Research built HardwareDx, an AI system for automated diagnosis of machine faults. HardwareDx uses graph neural networks (GNNs) and large language models (LLMs) to flag faulty parts with over 95% precision and recall. In live production A/B tests against our rule-based system, HardwareDx cut QA delivery time by 28.3% on NVIDIA H100 GPUs and 25.1% on Google Cloud TPUs. It also cut live repair downtime by 18.3% on GPUs and 16.1% on TPUs. 

This work has been peer reviewed and the paper is being presented at NeurIPS 2026.

1 - hardwaredx_teaser_loop_960

End-to-end repair loop with HardwareDx. In this example, when a fleet machine fails diagnostic tests with two missing GPUs, HardwareDx turns the machine and symptoms into a graph, runs GNN message passing to isolate the shared PCIe switch, and prescribes one targeted repair (“Reseat PCIe switch”) to return the machine to service.

Why rules-based systems hit a wall

An AI server tray holds over 100 replaceable parts, including accelerators, CPUs, memory DIMMs, switches, power supplies, a motherboard, and dozens of cables. If one or more of these parts fails, it enters the same multi-hour cycle; run stress tests, diagnose the bad part, repair it, and test again–regardless of whether the machine fails during cluster QA or live serving.

2 - fig1_system_design

Both new cluster build-outs (top left) and live serving failures (bottom left) enter the same multi-hour test, diagnose, and repair loop. Diagnosing the right part on the first pass cuts both QA turnaround and live downtime.

Swapping a healthy part wastes hardware and forces another multi-hour test run. Historically, teams automated diagnosis with hundreds of engineer-written rules that assign a score related to the likeliness of a part to be suspect or already failed. Rules handle isolated faults well, but they break down when one bad component triggers cascading alarms across connected hardware. Engineers also spend months writing and tuning rules for each new chip generation.

Modeling the physical machine as a graph

The HardwareDx system models each server tray as a graph of its physical wiring, with a median of 1,613 nodes for an H100 GPU. Every hardware component becomes a node (including chips, switches, ports, and cables), and connected components share an edge. HardwareDx attaches sensor readings, bandwidth tests, symptoms, and system logs directly to the components that produced them.

3 - hardwaredx_explainer_960

Step-by-step walkthrough of HardwareDx. Component nodes and symptom logs are encoded via an LLM and projection heads into a Universal Graph Format, processed by interleaved GATv2 and Graph Transformer layers, and decoded into per-component fault scores

Three design choices make this work across platforms:

  1. Universal graph format: Part-specific encoders translate different component types and sensor readings into one common format across GPUs and TPUs.

  2. LLM log embeddings: Error names often change across releases, such as "gpu-pcie-bus-error" becoming "nvfdpilot-gpu-pcie-bus-error" on GPUs or "hbm-ecc-error" becoming "tpu-hbm-ecc-error" on TPUs. Our language model maps renamed strings to nearly the same representation, which removes brittle parsers and cuts setup for ~400 symptoms from two engineering months to one.

  3. Local and global graph layers: Local Graph Attention (GATv2) layers pass messages between directly connected components. Global Graph Transformer layers let any two parts compare signals directly, up to eight connections apart or from software symptoms with no physical wire. Together, they pinpoint the faulty part in 98.8% of TPU v7x repairs.

Solving multi-part hardware mysteries

The machine’s wiring graph lets HardwareDx solve multi-part failures that are difficult for rule-based systems to fix:

  • Two missing GPUs: If both missing GPUs connect through the same PCIe chain, HardwareDx prescribes a PCIe repair (the solution for 76.3% of multi-GPU missing cases). If they sit on separate PCIe chains, it targets the GPUs or backplane.

  • DIMM faults masquerading as PCIe slowdowns: When a tray reports both memory errors and low PCIe throughput, rules trigger repairs on both subsystems. HardwareDx learned that a degraded DIMM slows down bus bandwidth and causes the PCIe alarm. Repairing the DIMM alone fixes both issues in one pass.

Cutting repair time and speeding up cluster QA

We ran a live production A/B test comparing the HardwareDx system (“Pilot”) against Google’s production rule-based system (“Control”) across 2,567 TPU and 225 H100 repairs.

4 - fig3_repair_cdf

Share of repairs completed over time across 2,567 live TPU repairs. HardwareDx (Pilot, blue) outperforms the production rule baseline (Control, orange) across the full curve, cutting median repair time (P50) by 27.1% and 90th-percentile repair time (P90) by 22.6%.

Hardware Platform

Mean Repair Time Reduction

QA Delivery Time Reduction

Automated Diagnostic Coverage

NVIDIA H100 GPU

18.3% (± 7.6%)

28.3% (± 10.7%)

93.9% (+10.7% over baseline)

Google Cloud TPU

16.1% (± 2.6%)

25.1% (± 2.5%)

82.8% (+9.9% over baseline)


On TPUs, median repair time (
P50) dropped by 27.1%, which returns serving machines to training faster. At the 90th percentile (P90), repair time fell by 22.6%, which speeds up QA sign-off for new clusters. HardwareDx also diagnosed about 10 percentage points more failures automatically on both platforms, so fewer machines needed manual triage.

Onboarding new chip generations 10x faster

When new silicon arrives QA is even more important, as there is no failure history to learn from, or train a system with. Prior hardware platforms can have over 100x more repair data compared to newer platforms during initial development. New generations also add new part types, names and tests. In previous generations it took up to four months after general availability (GA) to gather enough data to train an ML diagnosis system. 

5 - hardwaredx_foundation_960

Multi-platform pretraining and fine-tuning. Graphs from TPU v5p, v7x, and v7 feed shared node encoders and a shared GATv2 + Transformer core, with three per-platform output heads (faulty/not faulty, action likelihood, action success). Fine-tuning the pretrained model on a small dataset pulls readiness four or more months ahead of hardware GA (readiness timeline from the H200 rollout in the paper).

HardwareDx trains one shared core model across older and newer platforms to remove the cold start. Each platform keeps three small predictors on that core model; whether a part is faulty; which repairs technicians try; and whether a repair passes the next test. Training all three lets the model learn from every repair record without manual labels. For new silicon, we fine-tune those predictors on a small set of early repairs.

6 - fig4_transfer_learning

Pretraining HardwareDx on H100 telemetry adapts to H200 hardware with roughly 10x fewer fine-tuning examples than training from scratch.

With a model pretrained on H100, fine-tuning it with just 100 H200 examples helped match the accuracy of training from scratch using 10x less data. 

When H200’s went GA, the model trained from scratch only reached 52.1% accuracy, lower than the accuracy achieved by the  production rules-based system (59.6%). HardwareDx beat that system on day zero (72.2% accuracy) and reached 94.2% accuracy four months after GA.

Building reliable AI infrastructure at scale

Today, one HardwareDx system diagnoses faults across six chip generations at Google: Cloud TPU v5p, TPU v7x, TPU v7, and NVIDIA H100, H200, and Blackwell. Read our NeurIPS 2026 paper, “HardwareDx: A Foundational Graph Model System for Datacenter Machine Repairs“, for full details, and explore Google Cloud AI Hypercomputer.


Acknowledgments: HardwareDx was developed by Google AI and Infrastructure and Google Research. We thank all NeurIPS 2026 co-authors: Yuanlin Wen, Elan Markowitz, Zubo Gu, Sami Abu-El-Haija, Bryan Perozzi, Mikhail Galkin, Ali Parviz, Aayush Gupta, Venkata Chivukula, Griffin Hadfield, Aravind Akella, Daniel J. Frame, Vahab Mirrokni, and Amin Vahdat, along with Google’s hardware operations and diagnostic engineering teams.