Skip to content

CUDA uncorrectable ECC error on an NVIDIA GPU

An uncorrectable GPU memory error means ECC could not repair the affected data. On modern NVIDIA data-center GPUs, the next action depends on whether the error was contained, the recovery-action flag, row-remapping state, and field diagnostics. A single message does not automatically prove the board needs RMA.

Quick answer

Stop using the affected allocation, preserve Xid and nvidia-smi -q evidence, determine whether the error was contained, and follow the reported recovery action. Drain or quarantine the GPU until the required reset and validation complete. Use NVIDIA field diagnostics and row-remapping failure state for an RMA decision.

Symptom
NVRM: Xid (PCI:0000:01:00): 95, Uncontained
Root cause
ECC detected a memory result that could not be corrected. The physical owner and required action depend on the reported location, containment state, recovery-action flag, and persistent row-remapping or SRAM threshold state. The event becomes an RMA case only when NVIDIA's policy condition is met and validated by the field diagnostic process.
Recommended fix
Preserve kernel Xid lines, nvidia-smi -q, GPU UUID, PCI bus ID, job and rank mapping, and scheduler timestamps before reset or reboot.
How Denpex helps
Denpex investigates CUDA uncorrectable ECC error on an NVIDIA GPU using the evidence you provide or your connected workload collects. Earlier rank, host or application evidence is needed to distinguish an initiating failure from a downstream report.
Hardware#cuda#ecc#uncorrectable-ecc#xid-48#xid-94#xid-95

What this failure is

An uncorrectable ECC error is a memory error that the GPU's ECC mechanism cannot correct. NVIDIA reports related state through Xid events, NVML or nvidia-smi, row-remapping fields, and recovery-action flags. Xid 48 reports an uncorrectable ECC event, while Xids 94 and 95 distinguish contained and uncontained outcomes on supported products.

Live diagnosis, no signup

Is this what broke your run? Paste your log.

You're reading about CUDA uncorrectable ECC error on an NVIDIA GPU. Paste your own traceback and relevant evidence for an investigation of your workload, with a next action or a specific missing fact. A reference entry does not establish your cause. No account or card for the free diagnosis. Review data handling before submitting sensitive logs.

Before uploading, review cloud data handling and local options.

training_logs.txt
No log to hand? Try one:

Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.

3 free cloud diagnoses per day

Why it happens (the mechanism)

A memory or cache location returned data outside ECC's correction capability. The event can be isolated by containment, can require a GPU reset so pending row remapping takes effect, or can expose a persistent condition that meets NVIDIA's RMA policy after field validation. The user-visible CUDA exception is the workload impact, not the complete hardware disposition.

What you'll observe

  • The affected application can terminate or report corrupted execution state.
  • An uncontained event can affect more than the process that encountered the faulty location.
  • Resetting before evidence capture can erase the incident context needed for support and RMA review.
  • Automatically replacing every GPU after one uncorrectable event can create false RMAs.

Common symptoms and what they mean

Check possible explanations against the incident evidence. A matching symptom alone does not establish its cause.

SymptomPossible explanation
RuntimeError: CUDA error: uncorrectable ECC error encounteredECC detected a memory result that could not be corrected.
Kernel logs contain Xid 48 and may also contain Xid 94 or Xid 95.The physical owner and required action depend on the reported location, containment state, recovery-action flag, and persistent row-remapping or SRAM threshold state.
nvidia-smi -q reports volatile or aggregate uncorrectable ECC state, row-remapping state, or a recovery action.The event becomes an RMA case only when NVIDIA's policy condition is met and validated by the field diagnostic process.
The affected CUDA context or application stops making valid progress.ECC detected a memory result that could not be corrected.

Which systems are affected

  • NVIDIA data-center GPUs with ECC-enabled memory
  • Multi-tenant or MIG systems where containment determines blast radius
  • Schedulers that need a drain, reset, validation, and return-to-service workflow

How to confirm this is the problem

Use this checklist to test the hypothesis against a small reproduction. No single line proves the root cause, so preserve the preceding events and compare one variable at a time.

  • ✓Find the first Xid and CUDA error for the affected GPU and map its PCI bus ID or UUID to the job and rank.
  • ✓Determine whether Xid 94 or Xid 95, or the corresponding recovery-action state, reports a contained or uncontained error.
  • ✓Capture full nvidia-smi -q output before reset, including ECC and row-remapping fields exposed by the device.
  • ✓Follow the required reset or recovery action, then run the platform-approved GPU diagnostic.
  • ✓Return the GPU to service only after the same production-shaped control passes and no new uncorrectable event appears.

Root cause

  • ECC detected a memory result that could not be corrected.
  • The physical owner and required action depend on the reported location, containment state, recovery-action flag, and persistent row-remapping or SRAM threshold state.
  • The event becomes an RMA case only when NVIDIA's policy condition is met and validated by the field diagnostic process.

The fix and how to prevent it

How to fix it

  • Preserve kernel Xid lines, nvidia-smi -q, GPU UUID, PCI bus ID, job and rank mapping, and scheduler timestamps before reset or reboot.
  • Stop the affected application and prevent new work from landing on the GPU while you evaluate containment and the reported recovery action.
  • If the recovery action or pending row-remapping state requires a reset, perform it in the approved service workflow, then rerun health diagnostics before re-admission.
  • Check row-remapping failure and SRAM threshold state. Use the NVIDIA field diagnostic path to determine whether the device qualifies for RMA.
  • Resume the workload only after the GPU passes the required diagnostic and the initiating ECC signature remains absent in a production-shaped validation.

Step-by-step remediation

  1. 1Tie the first Xid, UUID, PCI bus ID, node, job, and rank together before restarting anything.
  2. 2Stop affected work and prevent a new allocation from using the device during investigation.
  3. 3Capture containment, recovery-action, ECC, and row-remapping information from supported management tools.
  4. 4Perform the required service reset and run the platform-approved NVIDIA field diagnostic.
  5. 5Return the GPU only after validation passes. Start RMA when the documented policy condition is met and validated.

How to prevent it

  • Collect Xid events, ECC counters, row-remapping state, recovery-action flags, GPU UUIDs, and scheduler ownership into one incident record.
  • Automate quarantine on uncorrectable events, but keep reset, return-to-service, and RMA as separate decisions.
  • Run the supported field diagnostic after qualifying memory events and preserve its result with the device serial and UUID.
  • Trend remapping and threshold state rather than treating aggregate correctable counts as an automatic replacement rule.

Save this diagnosis and catch the next crash automatically

All root cause, fix, and prevention steps above are free to read. Create a free account with any email or GitHub to keep your saved diagnosis history across the encyclopedia and run cloud checks, or use a work email below for the 30-day Team evaluation. No card required.

Or start a 30-day free Team trial (work email)

Verified work email unlocks all 14 fleet diagnostic tools, Slack alerts, and team history for 30 days. No card and no automatic charge.

Use your company email, for example alex@yourcompany.com.

Who qualifies?

Company email domains activate the free 30-day Team evaluation (up to 50 diagnoses a day) after an email and domain check, whatever mail provider you use. If we cannot verify your domain automatically, support reviews it: write to support@denpex.com. Free local diagnosis in the editor extension needs no account.

Using a personal email (Gmail, Outlook, Naver, QQ) or solo cluster? Create a free $0 account (no work email required) to save 7-day history and unlock AI fallback, or send a cluster crash log for a live walkthrough.
Already have an account? Sign in

Searchable error signature

search key
NVRM: Xid (PCI:0000:01:00): 95, Uncontained

Use this text as a lookup key in logs and upstream issue trackers. It is not presented as a captured customer log. Confirm the cause from your own preceding events, versions, configuration and the cited references.

Diagnose your own log automatically

The root cause and fix steps above stay free. Create a free account to analyze full job logs, attribute the first failed rank, and keep saved incident history.

Sign up free. Analyze your cluster logs

No credit card. Daily allowance follows verified trust tier. Instant access.

Why the recommended fix works

Containment, recovery, and RMA are different decisions. Preserving the Xid and device state identifies the blast radius. Following the recovery-action and row-remapping state restores the hardware at the required boundary. Field diagnostics prevent an unsupported replacement decision based only on a wrapper exception.

Code examples

snippet
# Preserve evidence before a reset
dmesg -T | grep -iE 'NVRM|Xid|ECC'
nvidia-smi -q
nvidia-smi --query-gpu=timestamp,uuid,pci.bus_id,ecc.errors.uncorrected.volatile.total,ecc.errors.uncorrected.aggregate.total --format=csv

# Scheduler containment example
scontrol update NodeName=<node> State=DRAIN Reason='uncorrectable ECC investigation'

This snippet illustrates the entry-specific check. Verify the installed versions, permissions, target and workload context before using it. A command or API example is not proof of recovery.

Best practices by model family

Model / StackRecommendationNotes
Immediate containmentStop the affected allocation and preserve evidenceDo this before a reset changes volatile state.
RecoveryFollow the reported recovery actionA contained event and an uncontained event do not have the same blast radius.
RMAUse policy state plus field diagnosticsOne generic CUDA exception is not an RMA verdict.

With the fix vs without the fix

DimensionWith the fixWithout the fix
Contained errorThe error-containment process limited propagationUnaffected workloads can remain valid on supported architectures
Uncontained errorErroneous data may not have been containedUse the reported recovery action and a broader incident boundary
RMA evidenceRow-remapping failure or SRAM threshold state validated by field diagnosticsA replacement decision based only on uncorrectable ECC text

Diagnostic note

“The costly mistake is collapsing incident containment, hardware recovery, and RMA into one automatic action. Drain first, preserve evidence, follow the device's recovery state, and let the validated hardware policy decide replacement.”

Visual fingerprint

Uncorrectable ECC response path
uncorrectable ECC event
        |
        v
preserve Xid and device state
        |
        v
contained or uncontained?
        |
        v
follow recovery action
        |
        +-- diagnostic passes --> controlled re-admission
        +-- RMA policy met ----> vendor replacement workflow
The workflow separates workload containment, GPU recovery, and evidence-based RMA.

Xid 48 in context

Xid 48 identifies a driver-observed event. Preserve the full message, device identity and surrounding workload and host evidence before distinguishing application, driver and hardware causes. The code alone does not justify replacing a board.

Compare Xid event families

Diagnose this failure in VS Code

Select the traceback or open the failed terminal, then run Denpex locally to inspect matched failure patterns, supporting evidence and next checks without uploading the log. Verify recommendations against your workload before changing production.

Install the free VS Code extension

Frequently asked questions

Questions engineers and on-call staff commonly ask about this failure.

Does one uncorrectable ECC error always require GPU replacement?
No. The required response depends on containment, recovery action, row-remapping or SRAM threshold state, and field diagnostics. NVIDIA's RMA policy is more specific than the generic CUDA exception.
Should I reset the GPU immediately?
Contain the workload first and preserve volatile evidence. Then follow the reported recovery action and the approved service procedure.
What should I capture for support?
Capture Xid lines, full nvidia-smi -q, GPU UUID and PCI bus ID, scheduler ownership, containment and recovery state, and the field diagnostic result.
When can the GPU return to service?
Only after the required recovery completes, the supported diagnostic passes, and a production-shaped validation shows no recurrence.
How does this prevent false RMA?
It requires the documented device state and diagnostic result instead of treating one application-level error string as proof of permanent board failure.

Don't just read the fix, diagnose your run

The encyclopedia explains documented failure patterns. Denpex investigates your logs, configuration and stack, shows the supporting evidence, and asks for missing details when needed.