How Big AI Clusters Spot Dying GPUs and Pull Them Out of Service (GPU Fleet Health)

10 min read

How Big AI Clusters Spot Dying GPUs and Pull Them Out of Service (GPU Fleet Health)

The problem

On one workstation, a GPU falling off the bus is a bad afternoon. On a cluster of thousands of GPUs, many machines networked to work as one, it is a daily event. Meta's Llama 3 paper says a single GPU failure in synchronous training may require restarting the entire job. (In synchronous training, all GPUs work in step on one AI model, so one missing GPU stalls them all.) So the question changes from "how do I fix this GPU?" to "how do I find the bad one fast, get it out of the way, and keep everything else running?"

New to these terms? Every word is explained in the series glossary.

This article pulls together what large operators have actually published: how often GPUs fail, which failures matter, and what their automation does about it. All numbers come from the papers and docs in the Sources section.

How often things break

Meta, Llama 3 405B pre-training. Over a 54-day snapshot on a 16K GPU cluster, Meta logged 466 job interruptions. 47 were planned (firmware upgrades and similar). The other 419 were unexpected, and about 78% of those were confirmed or suspected hardware issues. GPU issues alone were 58.7% of unexpected interruptions. (Llama 3 is Meta's large language model.)

Root cause (Llama 3, Table 5)InterruptionsShare of unexpected
Faulty GPU14830.1%
GPU HBM3 memory7217.2%
Software bug5412.9%
Network switch or cable358.4%
GPU System Processor (GSP)174.1%
Power supply30.7%

(HBM3 is the fast memory built onto the GPU. The GSP is the small processor on the GPU that runs part of the driver. The power supply turns wall power into the voltages the machine needs.)

Despite that, Meta reports more than 90% effective training time, the share of time the run made real progress, and says significant manual intervention was needed only three times in the period. Automation handled the rest.

Meta research clusters (RSC). A separate Meta paper covers two A100 clusters, 16k and 8k GPUs, over 11 months. It measured a mean time to failure (MTTF, the average run time before a failure) of 7.9 hours for 1,024-GPU jobs, compared with 47.7 days for 8-GPU jobs. Bigger jobs touch more hardware, so they hit failures more often. (A100 and H100 are NVIDIA data center GPU generations.)

NCSA Delta. A study of 1,056 A100 and H100 GPUs over 2.5 years (11.7 million GPU hours) counted 14,821 critical errors on the A100s. Only 10 of those were Xid 79, NVIDIA's error code for a GPU that has fallen off the bus. GSP errors were far more common on the A100s (3,857), and NVLink errors (problems on the direct GPU-to-GPU link) numbered 1,922. On the H100 nodes the study saw no Xid 79 at all.

DeepSeek Fire-Flyer 2. On 10,000 PCIe A100 GPUs (cards that plug into the standard slot), DeepSeek published a year of Xid counts: 12,970 in total. NVLink errors (Xid 74) were the largest group at 42.57%, which DeepSeek attributes to the fault rate of NVLink bridge connectors. Xid 79 appeared 37 times, 0.29% of the total.

The surprise for many people: Xid 79 is rare in these fleets compared with memory, NVLink and firmware errors. It matters because when it happens the GPU is gone until someone resets or replaces it. The Delta paper lists fallen off the bus and GSP errors as the hardware errors that lead to GPU failure and need a manual reset or node reboot.

Step 1: Detect, from the kernel log upward

Every fleet starts from the same raw signal: the NVIDIA driver writes Xid lines to the kernel log, the system's running diary of hardware messages. What changes is how that line becomes an action.

Amazon EKS, Amazon's managed Kubernetes service, documents its path clearly. Its node monitoring agent gets Xid errors from NVIDIA DCGM, NVIDIA's GPU fleet monitoring tool:

NVIDIA Driver → DCGM Host Engine (nv-hostengine) → Policy Violation Channel → EKS Node Monitoring Agent → Node Condition → Node Repair

A well known Xid sets a Kubernetes node condition, AcceleratedHardwareReady=False, with a reason like NvidiaXID79Error. You can see it with kubectl, the Kubernetes command line tool:

bash
kubectl get nodes -o custom-columns='NAME:.metadata.name,ACCELERATOR_READY:.status.conditions[?(@.type=="AcceleratedHardwareReady")].status,REASON:.status.conditions[?(@.type=="AcceleratedHardwareReady")].reason'
kubectl get events | grep -i "NvidiaXID"

AWS also notes that one fault can show up two ways: after Xid 79, a DCGM health check may report DCGMHealthCode120 (DCGM_FR_FALLEN_OFF_BUS), and the condition reason changes while the fault persists. (See DCGM health code.)

Google Cloud says it uses passive health checks and proactively sends machines to repair when Xid codes indicate a high probability of hardware failure, naming Xid 74, 79 and 140 (Xid 140 is an unrecovered memory error). For codes that can be software or hardware, it uses pattern matching, so not every occurrence triggers a repair.

sequenceDiagram
    autonumber
    participant D as NVIDIA driver
    participant H as DCGM host engine
    participant P as Policy violation channel
    participant A as EKS node agent
    participant N as Node condition
    participant R as Node repair
    D->>H: Xid 79 reported
    H->>P: policy violation
    P->>A: Xid event delivered
    A->>N: set the node condition
    Note over A,N: AcceleratedHardwareReady = False<br/>reason: NvidiaXID79Error
    N->>R: action for 79: Replace
    Note over N,R: default wait before repair: 10m

Diagram: How Amazon EKS turns one Xid 79 log line into a node condition and a repair action.

Step 2: Decide, with a table per error code

Fleets do not improvise per incident. They map each code to a repair action ahead of time. Here is part of the default EKS table:

XidDescription (AWS docs)Repair actionAfter
48Double bit ECC errorReboot10m
63GPU memory remapping eventReboot10m
64GPU memory remapping failureReplace10m
74NVLink errorReplace10m
79GPU has fallen off the busReplace10m
119GSP RPC timeoutReboot10m
120GSP errorReboot10m

(Glossary entries: Xid 48, Xid 63, Xid 64, Xid 119, Xid 120, plus ECC and row remapping for the memory terms.)

NVIDIA's own node triage guide gives the action for Xid 79 as drain, then report the GPU issue. Cloud providers that rent you a VM, a simulated computer on their hardware, tell you to move off the host: Crusoe's support article says to stop and start the VM for Xid 79 and send an NVIDIA bug report.

Step 3: Quarantine, then repair

"Drain" is the key word. Draining a node means the scheduler, the software that decides which job runs where, stops putting new work on it, so a bad GPU stops killing jobs. In Kubernetes that is a node condition or taint. In Slurm, a scheduler common on research clusters, it is a drained node.

Recovery can take a long time. The Delta paper walks through one H100 double bit memory error (Xid 48): the job on that GPU failed, the node had to be drained and the GPU reset to complete row remapping, and the node was out for 19 hours in total.

That downtime is why fleets keep spare capacity. From measured node availability of about 99.4% (A100) and 99.3% (H100), the Delta authors project that keeping 99.9% availability at the job level needs about 5% overprovisioning, keeping spare machines.

Step 4: Find the repeat offenders

Some machines fail again and again but pass every health check. Meta's RSC paper calls them lemon nodes and built a detector for them. (See lemon node.) The signals that correlated most with lemons included the number of distinct jobs that excluded a node, the number of unique Xid errors on it, repair tickets, and how often a node caused single-node and multi-node job failures.

The detector found 40 faulty nodes across the two clusters with more than 85% accuracy. Here is what they turned out to be:

Lemon node root cause (RSC, Table II)Share
GPU28.2%
DIMM20.5%
PCIe15.4%
EUD10.3%
NIC7.7%
BIOS7.7%
PSU5.1%
CPU2.6%
Optics2.6%

(Glossary entries: DIMM is a stick of system memory, EUD is a category the paper does not spell out, NIC is the network card, BIOS is the motherboard's built-in program, PSU is the power supply, CPU is the main processor, and optics are the fibre network links.)

PCIe is 15.4% of lemons, the third largest cause. Removing lemons cut large job (512+ GPU) failures from 14% to 4%, per the paper.

Step 5: Look for the pattern behind the pattern

Sometimes a whole batch of boards shares one flaw. Oak Ridge's Titan supercomputer had 18,688 GPUs. In 2016 failures started rising, and the two signature events were double bit errors and "off the bus" events, meaning the host lost its connection to the GPU. The root cause was not the GPU chip. It was a resistor on the circuit board failing from silver sulfide corrosion. About 11,000 GPU boards were replaced from late 2016 through much of 2017. Earlier in Titan's life, two rework cycles had targeted the mechanical assembly at the PCIe connector.

The lesson from Titan, as I read it: track failures per serial number and per location, because a fleet wide trend can be invisible one incident at a time.

What this adds up to

StageWhat published fleets do
DetectKernel Xid lines, collected by DCGM or a node agent
DecideA fixed table: code to action, with a wait time
QuarantineDrain or cordon the node, requeue the job
RepairReset, reboot, or replace, then return to service
LearnTrack repeat offenders and fleet wide patterns
stateDiagram-v2
    state "In service" as InService
    state "Detected" as Detected
    state "Action decided" as Decided
    state "Drained, no new work" as Drained
    state "GPU reset" as Reset
    state "Node reboot" as Reboot
    state "Replace hardware" as Replace
    state "Lemon node" as Lemon
    [*] --> InService
    InService --> Detected: Xid line in the kernel log
    Detected --> Decided: look up code in the action table
    Decided --> Drained: scheduler stops new work
    Drained --> Reset: if the GPU answers
    Drained --> Reboot: e.g. Xid 48, 119, 120
    Drained --> Replace: e.g. Xid 79, 74, 64
    Reset --> InService: back in service
    Reboot --> InService: back in service
    Replace --> InService: back in service
    InService --> Lemon: fails again and again
    Lemon --> Drained: caught by lemon detector

Diagram: The life of a node in a large fleet: detect, decide, drain, then reset, reboot or replace, and catch repeat offenders.

Quick answers

Why not just reset the GPU in place? Sometimes that works, for some codes. For Xid 79 the GPU usually is not answering, so there is nothing to reset until the node is rebooted or the hardware is replaced. AWS's default for 79 is Replace.

Is Xid 79 the most common GPU error in big clusters? No. In the published Delta and Fire-Flyer data, Xid 79 is a small fraction. Memory, NVLink and GSP errors are far more frequent. Xid 79 is rare but severe.

What is a good first metric for a small cluster? Count Xids per node and per GPU serial over time. Both Meta's lemon detector and the Titan study depend on history, not single events.

Sources