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 matches Xid 48 Double-Bit ECC Error in HBM across every rank in a distributed run and reports which rank failed first, so you act on the initiating node instead of the loudest one.
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 crash log or traceback below and get the real root cause for YOUR run, not this generic entry. No account, no card. Logs are masked at ingress and never saved to account history.
Want 14 days on the Scale plan?
Request an evaluation code. A verified workplace organization activates up to 50 diagnoses a day, alerts, history, and follow-up questions. No credit card or automatic subscription.
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.
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 extensionRoot 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
Evaluate Denpex on your own logs
Request a Scale evaluation code. A verified workplace organization activates 14 days with up to 50 diagnoses a day. Every account keeps its current diagnosis allowance and gets a verification path. No card or automatic subscription.
References
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.