{"slug": "how-google-cloud-uses-ai-to-diagnose-and-repair-data-center-hardware-faster", "title": "How Google Cloud uses AI to diagnose and repair data center hardware faster", "summary": "Google AI & Infrastructure and Google Research built HardwareDx, an AI system using graph neural networks and large language models that flags faulty server parts with over 95% precision and recall, according to a paper presented at NeurIPS 2026. In live production A/B tests against Google's rule-based system, HardwareDx cut QA delivery time by 28.3% on NVIDIA H100 GPUs and 25.1% on Google Cloud TPUs, and cut live repair downtime by 18.3% on GPUs and 16.1% on TPUs. The system models each server tray as a graph (a median of 1,613 nodes for an H100 GPU) and pinpointed the faulty part in 98.8% of TPU v7x repairs.", "body_md": "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.\n\nFast 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.\n\nTo support both rapid capacity build-outs and live maintenance, [Google AI & Infrastructure](https://aiinfra.google/) and [Google Research](https://research.google/) 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. \n\nThis work has been peer reviewed and [the paper](https://arxiv.org/abs/2611.23398) is being presented at NeurIPS 2026. \n\nAn 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.\n\nSwapping 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.\n\nThe 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.\n\nThree design choices make this work across platforms:\n\n**Universal graph format:** Part-specific encoders translate different component types and sensor readings into one common format across GPUs and TPUs.\n\n**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.\n\n**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**.\n\nThe machine's wiring graph lets HardwareDx solve multi-part failures that are difficult for rule-based systems to fix:\n\n**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.\n\n**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.\n\nWe 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.\n\n| **Hardware Platform** | **Mean Repair Time Reduction** | **QA Delivery Time Reduction** | **Automated Diagnostic Coverage** | \n|---|---|---|---|\n| **NVIDIA H100 GPU** | 18.3% (± 7.6%) | 28.3% (± 10.7%) | 93.9% (+10.7% over baseline) | \n| **Google Cloud TPU** | 16.1% (± 2.6%) | 25.1% (± 2.5%) | 82.8% (+9.9% over baseline) | \n\nOn 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.\n\nWhen 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.\n\nHardwareDx 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.\n\nWith 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**.** \n\nWhen 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.\n\nToday, 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](https://arxiv.org/abs/2611.23398)\", for full details, and explore [Google Cloud AI Hypercomputer](https://cloud.google.com/ai-hypercomputer).\n\n*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.*", "url": "https://wpnews.pro/news/how-google-cloud-uses-ai-to-diagnose-and-repair-data-center-hardware-faster", "canonical_source": "https://cloud.google.com/blog/topics/ai-infrastructure/how-google-cloud-uses-ai-to-diagnose-and-repair-hardware-faster/", "published_at": "2026-12-02 17:00:00+00:00", "updated_at": "2026-12-02 17:14:27.672025+00:00", "lang": "en", "topics": ["artificial-intelligence", "machine-learning", "ai-infrastructure", "ai-research", "large-language-models"], "entities": ["Google Cloud", "Google AI & Infrastructure", "Google Research", "HardwareDx", "NVIDIA", "H100", "NeurIPS 2026", "TPU v7x"], "also_reported_by": [], "takeaway": "HardwareDx's GNN-plus-LLM fault diagnosis hit over 95% precision and recall and cut QA delivery time 28.3% on H100 GPUs and 25.1% on TPUs versus rule-based diagnosis, with LLM log embeddings cutting setup for ~400 symptoms from two engineering months to one.", "recommendation": {"advice": "Model hardware or system components as a graph with sensor and log data attached to their sources, and use LLM embeddings for error strings so renamed symptoms need no new parsers.", "playbook": "production-ops", "playbook_url": "https://wpnews.pro/playbooks/production-ops"}, "alternates": {"html": "https://wpnews.pro/news/how-google-cloud-uses-ai-to-diagnose-and-repair-data-center-hardware-faster", "markdown": "https://wpnews.pro/news/how-google-cloud-uses-ai-to-diagnose-and-repair-data-center-hardware-faster.md", "text": "https://wpnews.pro/news/how-google-cloud-uses-ai-to-diagnose-and-repair-data-center-hardware-faster.txt", "jsonld": "https://wpnews.pro/news/how-google-cloud-uses-ai-to-diagnose-and-repair-data-center-hardware-faster.jsonld"}}