Xid 48 Double-Bit ECC Error in HBM
A multi-bit memory error occurred in the High Bandwidth Memory (HBM) that the hardware ECC engine cannot correct. To prevent silent data corruption, the GPU driver marks this as a 'sticky' hardware error and halts all compute operations on the device.
A multi-bit memory error occurred in the High Bandwidth Memory (HBM) that the hardware ECC engine cannot correct.
- Symptom
RuntimeError: CUDA error: uncorrectable ECC error encountered- Root cause
- A multi-bit memory error occurred in the High Bandwidth Memory (HBM) that the hardware ECC engine cannot correct. To prevent silent data corruption, the GPU driver marks this as a 'sticky' hardware error and halts all compute operations on the device.
- Recommended fix
- Reset the GPU to clear the sticky error state sudo nvidia-smi -i <GPU_UUID> -r Clearing the GPU resets its internal state, allowing it to be used again if the error was a transient single-event upset.
- How Denpex helps
- Denpex investigates Xid 48 Double-Bit ECC Error in HBM 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.
What this failure is
Xid 48 Double-Bit ECC Error in HBM is a Hardware failure seen during ML training runs. A multi-bit memory error occurred in the High Bandwidth Memory (HBM) that the hardware ECC engine cannot correct. To prevent silent data corruption, the GPU driver marks this as a 'sticky' hardware error and halts all compute operations on the device. Common tags: Uncorrectable ECC Error.
Is this what broke your run? Paste your log.
You're reading about Xid 48 Double-Bit ECC Error in HBM. 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.
Upload your log file. Large files are processed in your browser. Only selected evidence is submitted when you run diagnosis.
Why it happens (the mechanism)
Users often mistake this for a software bug, an Out-Of-Memory (OOM) error, or an illegal memory access caused by their PyTorch code. In reality, it is a physical hardware fault (e.g., caused by cosmic rays or a failing memory module).
What you'll observe
- RuntimeError: CUDA error: uncorrectable ECC error encountered
- NVRM: Xid (PCI:0000:ca:00): 48, Uncorrectable double bit error
Common symptoms and what they mean
| Symptom | Why it happens |
|---|---|
| PyTorch training job crashes immediately and unexpectedly. | A multi-bit memory error occurred in the High Bandwidth Memory (HBM) that the hardware ECC engine cannot correct. To prevent silent data corruption, the GPU driver marks this as a 'sticky' hardware error and halts all compute operations on the device. |
| The GPU becomes completely inaccessible to new processes. | A multi-bit memory error occurred in the High Bandwidth Memory (HBM) that the hardware ECC engine cannot correct. To prevent silent data corruption, the GPU driver marks this as a 'sticky' hardware error and halts all compute operations on the device. |
| nvidia-smi shows the GPU in an error state or processes fail to attach to it. | A multi-bit memory error occurred in the High Bandwidth Memory (HBM) that the hardware ECC engine cannot correct. To prevent silent data corruption, the GPU driver marks this as a 'sticky' hardware error and halts all compute operations on the device. |
Which systems are affected
- PyTorch
- CUDA
- NVIDIA A100
- NVIDIA H100
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.
- ✓Run `dmesg -T | grep Xid` to check for Xid 48 errors.
- ✓Run `nvidia-smi -q -d ECC` to inspect the DRAM Uncorrectable error count.
- ✓Check if the error is isolated or recurs frequently on the same GPU UUID.
Root cause
- A multi-bit memory error occurred in the High Bandwidth Memory (HBM) that the hardware ECC engine cannot correct. To prevent silent data corruption, the GPU driver marks this as a 'sticky' hardware error and halts all compute operations on the device.
The fix and how to prevent it
Searchable error signature
RuntimeError: CUDA error: uncorrectable ECC error encountered
nvidia-smi shows the GPU in an error state or processes fail to attach to it.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.
The fix and the prevention pattern
The root cause is on this page and stays free. A free account adds the exact remediation steps, saved history, and the fix on every entry in the encyclopedia.
Sign up free. Unlock the full analysisNo credit card. Daily allowance follows verified trust tier. Instant access.
Xid 48 in context
Xid 48 is one of a small set of codes the NVIDIA driver uses to report GPU faults, and the number is most of the diagnosis: it tells you whether you are looking at your own code, the driver, or a board that needs replacing.
Compare every Xid code side by sideDiagnose this failure in VS Code
Select the traceback or open the failed terminal, then run Denpex locally to see the initiating rank, collateral failures, exact fix, and verification command without uploading the log.
Install the free VS Code extensionReferences
Don't just read the fix, diagnose your run
The encyclopedia tells you what went wrong. Denpex tells you what went wrong in YOUR training run. With your logs, your config, and your stack.