GPU node repair software: detecting, draining and repairing failed GPU nodes
Software can detect a failed GPU node, take it out of service, and reset or reboot it. It cannot seat a new part, so a complete repair ends with a person at the rack and a retest. NVIDIA DCGM detects and diagnoses GPU faults, and NVIDIA NVSentinel cordons, drains and reboots Kubernetes nodes. Lilac is software that runs the whole loop on the server itself, for the provider that owns it. The failing server leaves service and its tenant can move to a spare, and an AI agent diagnoses the fault and proposes a repair from a fixed list of actions. When a part must be replaced, Lilac pages the data center's remote hands with the suspected component and the evidence.
How GPU nodes fail
During a 54-day stretch of Llama 3 pre-training on up to 16K H100 GPUs, Meta logged 419 unexpected interruptions and attributed about 78% of them to confirmed or suspected hardware issues. Automation handled all but three, which needed significant manual intervention (Meta, 2024).
The NVIDIA driver reports GPU faults as Xid messages in the kernel log, and NVIDIA's Xid catalog gives a recommended action for each code. A repair loop has to handle at least these:
- A GPU falls off the bus (Xid 79). The driver tries to reach the GPU over PCI Express and cannot. NVIDIA says the cause is often a hardware failure on the PCIe link, and can also be failing GPU hardware or a driver issue.
- Memory goes bad. Xid 48 is an uncorrectable ECC error. Starting with the Ampere generation, GPUs swap degrading memory cells for spare rows. NVIDIA's memory error documentation allows up to 512 remappings, and each one needs a GPU reset to take effect. Xid 94 means the error stayed inside one application. Xid 95 means it did not, and the GPU must be reset before applications restart.
- A link flaps. Xid 74 reports a problem on an NVLink connection. NVIDIA notes the cause may be the device at the far end, so the GPU that reports the error is not always the one that failed.
- A GPU runs hot and slows down without failing. NVIDIA DCGM classes a thermal excursion above a set threshold as a performance condition, separate from fatal errors.
These are the same faults burn-in testing looks for before a node enters service.
The repair loop, step by step
A full repair has nine steps. Software can run every one except seating the part and submitting the RMA. Each step should leave a record, because the vendor will ask for it with the RMA.
| Step | What must happen | Evidence kept | In Lilac |
|---|---|---|---|
| 1. Detect | Two telemetry paths watch the node: the BMC out of band, an agent in band | When the fault started on each path; the Xid, ECC count or sensor reading | Reads both paths; a node that stops reporting shows as unknown, never as healthy |
| 2. Pull from service | Stop new work landing on the node; tell the tenant | When the node left service; the workloads affected | Takes the server out of service and tells the tenant |
| 3. Move the tenant | A tested spare takes the node's place | Serial out, serial in, time of the swap | The tenant can move to a spare |
| 4. Diagnose | Work out the likely fault from logs and telemetry | Kernel log, telemetry, diagnostic results | An AI agent diagnoses from telemetry and logs; the diagnosis goes on a ticket |
| 5. Decide | Match the fault to an action: reset the GPU, reboot, reimage, or send for a part | The rule or the reasoning behind the action | The agent proposes one action; the operator decides |
| 6. Fix in software | In general practice: GPU reset, reboot, reimage, or firmware back to the approved set | Each attempt and its result | One of four fixed actions, checked by Lilac's code before it runs |
| 7. Hand off the part replacement | The hands-on team gets a ticket naming the suspected component, its slot and its serial | The ticket; who replaced what and when; the new serial | Pages the data center's remote hands; the console shows where the server is |
| 8. RMA | The failed part goes to the vendor with the diagnosis | Vendor case number; the diagnostics and flags sent | The agent drafts it with the evidence attached; the operator submits it |
| 9. Retest | The node passes validation again before it takes tenant work | Test report; time back in service | Reruns the checks the server passed at acceptance |
NVIDIA helps with step 5. Xid 154 accompanies other Xids and states the recovery action: none, Drain P2P, Drain and Reset, GPU Reset Required or node Reboot Required. For step 8, NVIDIA's RMA policy says its Field Diagnostic tool determines whether a GPU qualifies.
What the existing tools are good at
NVIDIA DCGM is where detection and diagnosis on the node start. Its documentation describes background health checks that run alongside jobs, active diagnostics that need exclusive access to the GPU, and policies that notify a client or act, for example retiring a memory page and reinitializing the GPU after a double-bit error.
Kubernetes node-problem-detector reports node problems to the API server as conditions and events, and leaves the action to separate remedy systems such as Cluster API MachineHealthCheck.
NVIDIA NVSentinel, open source under Apache 2.0, is the direct answer if you run Kubernetes on NVIDIA GPUs and the missing piece is cordon, drain and reboot. Its repository and docs describe health monitors that read DCGM, system logs and cloud provider maintenance events, and modules that cordon the node, drain its workloads, run a GPU reset or a node reboot, and collect diagnostic logs. The default install only monitors, and you turn on the rest one step at a time. NVIDIA says the largest clusters running it have about 40,000 GPUs. NVSentinel works through Kubernetes: it needs a cluster with the NVIDIA GPU Operator, and its README says the reboot "runs as a privileged job right on the node itself" unless you route it through a cloud provider's API. A server that is not a Kubernetes node, such as one still in burn-in, is outside that scope.
Slurm gives you the hook. HealthCheckProgram in slurm.conf runs your script as root on the compute nodes, and the script must take any action itself, such as draining the node with scontrol.
Among commercial products, NVIDIA Mission Control includes an autonomous recovery engine that NVIDIA says spans anomaly detection, isolation, job restart and automated hardware remediation. NVIDIA recommends it for DGX B200/B300, Rubin NVL8, GB200/GB300 NVL72 and Vera Rubin NVL72 systems. On those systems it is NVIDIA's own supported software and the place to start. For other servers, ask NVIDIA whether it applies.
Rafay Observability takes in XID faults, fabric state and BMC telemetry. Its built-in copilot runs automated root-cause analysis when an incident fires, and its workflows run versioned cookbooks, call micro-agents and "pause for human approval wherever you require it."
On a managed cloud the provider runs this loop for you. Amazon EKS pairs a node monitoring agent with automatic node repair that replaces or reboots nodes, and CoreWeave Mission Control replaces unhealthy nodes automatically when thresholds are met.
How we built repair into Lilac, and why
We built Lilac for the provider that owns its servers. For that provider a failed node costs more than a restarted job: the server sits out of service, a technician visits, and a part goes back to the vendor. So we put repair on the server itself, below any scheduler, and carried the loop past the reboot to the spare, the part and the retest.
Lilac reads each server out of band from its BMC, whoever made the hardware, and in band from an agent on the node (how the two paths work). A node that stops reporting shows as unknown, never as healthy, and alerts go to the operator's Slack or PagerDuty.
When a node starts to fail, Lilac takes it out of service and tells the tenant, who can move to a spare. An AI agent then works the incident. It diagnoses the fault from the node's telemetry, logs and history, writes the diagnosis onto a ticket and proposes a repair.
Most of a repair loop is deterministic, and we think it should be. Xid 154 names the recovery action, NVSentinel quarantines on configurable rules, and Lilac's own firmware drift check is a plain comparison. A fault with a known answer gets a rule. The agent is for what rules miss. Some faults show across several signals: a thermal climb on the BMC and sagging clocks from the node agent are one problem, and a rule keyed on either reading sees half of it. Others keep coming back on the same serial after a clean restart, and a rule treats each visit as new. The agent reads the history.
We kept what the agent may do narrow. Its actions are a fixed, audited list of four: a restart through the BMC, a fresh read of the hardware, a rerun of the failed tests, or a retry of the step that stalled. The model never runs one. It proposes an action with its reasoning, and Lilac's code checks the server first, so nothing in a prompt can widen what is allowed. The operator decides whether it runs, and the provider can let chosen actions run without approval. The agent never acts on a server a customer holds. Every action is recorded: who, what, when and why. Server names, addresses and serials never go to the model.
We gate the way back on evidence. A repaired node reruns the checks it passed at acceptance before it takes tenant work. When the diagnosis points at a part, Lilac pages the data center's remote hands on site with the suspected component, its slot and its serial, with the diagnostic evidence, and the console shows where the server is. We say suspected because a link fault can sit at either end, as with Xid 74 above. For the vendor, the agent drafts the RMA with the kernel log, telemetry and validation run attached, and the operator submits it.
Early warning covers one kind of failure. Hardware that degrades gradually shows it in telemetry first: ECC error trends, a thermal climb, sagging clocks, link flaps. Lilac flags that node, tells the customer and the data center, and gets a diagnosis scheduled or a spare swapped in before the failure. A GPU that drops off the PCIe bus gives no such notice, and it goes through the loop above.
Questions
What software detects failed GPU nodes and repairs them automatically?
It depends on what the node runs. On Kubernetes, NVSentinel is the GPU node auto-remediation tool to look at first. On Slurm, a health check script you write drains the node. We built Lilac for the layer under both: the server, whoever's workload is on it.
How do neoclouds handle GPU failures and RMAs?
If a reset or a reboot does not clear the fault, the data center's staff replace the part and the provider opens a case with the vendor. The case moves faster when it names the test that failed, the counter, the time window and the serials.
What is agentic repair for GPU servers?
Agentic repair means an AI model does the triage an on-call engineer would do: it reads the evidence on a faulted server, writes a diagnosis and chooses the next action. Auto-remediation is the older idea, where a rule maps one signal to one action. Ask any product that claims agentic repair whether its list of actions is fixed, which checks run in code outside the model, and whether it can act on a server a customer is using. In Lilac the answers are a fixed list of four, every check, and never.
Does Lilac replace failed parts?
No. Lilac is software, and our staff never work on hardware. The data center's staff do the hands-on work, and the console tells them which server, where it is and which part to check first.
Write to us: contact@getlilac.com.
← All news