GPU error lookup: CUDA, NCCL, PyTorch and NVIDIA Xid
Find the error message from your training job or inference service. Review possible causes, the evidence that distinguishes them and checks for workload recovery. A reference entry is not proof of the cause in your run.
Start with the error you see
Keep the first exception and the lines before it. A CUDA memory error, an NCCL watchdog timeout and an NVIDIA Xid can appear in the same incident without sharing the same cause.
- CUDA errors and out of memory
Identify the failing operation and distinguish allocation pressure from an illegal device operation.
- NCCL timeout and distributed training hangs
Compare rank logs and the first worker exception before increasing collective timeouts.
- PyTorch runtime and device errors
Follow the traceback to the failing tensor operation, device placement or process initialization.
- NVIDIA Xid codes and GPU fallen off the bus
Look up the full event, capture host evidence and qualify the recovery action.
- vLLM inference, KV cache and EngineCore errors
Isolate KV cache capacity pressure, worker crashes and CUDA graph failures.
- DeepSpeed ZeRO and checkpoint errors
Separate ZeRO-2/ZeRO-3 memory exhaustion, offload bottlenecks and save hangs.
- Slurm GPU GRES, OOM-killer and pending jobs
Pinpoint node-health drains, cgroup limits and torchrun scheduler exits.
- Blackwell B200 and GB200 NVLink errors
Investigate Xid 149 NETIR links, GB200 NVL72 fabric drops and driver hangs.
- Megatron-LM tensor and pipeline parallel errors
Resolve TP/PP topology mismatches, distributed checkpoints and sequence parallel hangs.
- SGLang RadixAttention and FlashInfer failures
Triage RadixAttention pool exhaustion and serving worker timeouts.
- torchrun c10d rendezvous and port conflicts
Fix distributed startup hangs, master port collisions and rank timeouts.
Prefer to inspect a log? Decode an NCCL log, inspect nvidia-smi output, or diagnose locally in an Open VSX editor.
Compare GPU tools, stacks and hardware reliability
Explore architecture trade-offs, hardware failure rates, and diagnostic workflows across cluster tools and accelerators.
- Denpex vs NVIDIA DCGM
- Denpex vs Weights & Biases
- Denpex vs NVIDIA Run:ai
- A100 vs H100 vs H200 Failures
- H100 vs H200 vs B200 Failure Rates
- vLLM vs SGLang vs TensorRT-LLM Errors
- FSDP vs DeepSpeed ZeRO-3 Debugging
- Slurm vs Kubernetes GPU Training
- InfiniBand vs RoCEv2 GPU Clusters
- DCGM vs nvidia-smi vs Compute Sanitizer
- Compute Sanitizer CLI Builder & Checklists
- GPU VRAM & KV-Cache Calculator
423 matching references. Showing 48. This search stays in your browser.
Communication
10NCCL CUDA Failure: Find the First CUDA or Worker Error
criticalInvestigate NCCL CUDA failures using the first worker exception, rank logs and runtime versions. Separate the initiating error from......
NCCL Hang Detection: Flight Recorder & Watchdog
highDetect and diagnose silent NCCL collective hangs early using TORCH_NCCL_TRACE_BUFFER_SIZE flight recorder dumps and per-rank stack traces....
NCCL P2P Communication Issue
highNCCL peer-to-peer (P2P) communication issues cause pipeline parallelism and tensor parallelism to fail or be slow....
Gloo Backend Issue
mediumGloo backend issues occur when using Gloo instead of NCCL for distributed training, especially on CPU or limited GPU setups....
TCP Port Exhaustion
mediumTCP port exhaustion occurs in distributed training when many connections exhaust ephemeral port range....
NCCL IB HCA Mismatch
mediumNCCL InfiniBand HCA (Host Channel Adapter) configuration mismatches cause slow or failed inter-node communication....
DDP Address Already in Use: torchrun Port Conflicts
highDiagnose DDP address-already-in-use errors. Check the listening process and rendezvous endpoint for independent single-node jobs or a......
RDMA Configuration Errors & NCCL TCP Fallback
mediumFix InfiniBand and RoCE v2 RDMA failures forcing NCCL onto slow TCP sockets. Verify ibv_devinfo, GID index, ulimit memlock, and HCA......
NCCL Rank Fail
highNCCL rank failures occur when one or more ranks fail to initialize or join the distributed group....
NCCL Version & ABI Mismatch Across Nodes
mediumFix multi-node NCCL init failures caused by mismatched libnccl versions across containers, host LD_LIBRARY_PATH, and bundled PyTorch wheels....
Reliability
8GB200 Xid 150/154: Uptime and Firmware Checks
highCheck GB200 Xid 150/154 against uptime, firmware and reset timing. Distinguish the documented MSE uptime defect from post-reset......
Silent Data Corruption from GPU Hardware Faults Causing Loss Spikes and Model Divergence
criticalSilent data corruption arising from latent GPU hardware defects bypasses ECC and other hardware detection mechanisms, causing incorrect......
NIXL Firmware Page Registration Fan-Out Triggers Host OOM Kills on HGX H200 and B200
criticalNVIDIA Inference Xfer Library workloads on HGX H200 and HGX B200 instances triggered host OOM kills because UCX registered GPU memory as......
1-2 GPU Hardware Failures Per Week During BLOOM 176B Training on 384 A100 GPUs
highDuring the 4-month training of the 176B-parameter BLOOM model on 384 NVIDIA A100 GPUs, the team experienced 1-2 GPU hardware failures......
PyTorch Caching Allocator Memory Fragmentation Causing False Straggler Slowdown
mediumByteDance's production straggler analysis identified PyTorch's CUDA caching allocator memory fragmentation as a previously unreported......
NFS Mount Failure
highNFS mount failures during training cause silent data corruption, hangs, or training failures when accessing shared storage....
DataLoader Failure
highDataLoader failures cause training to crash or hang when data loading is misconfigured or data is corrupted....
Linux Zombie Processes: Find the Parent and Reap the Child
mediumConfirm Linux process state Z, identify the parent and inspect child cleanup. Distinguish defunct processes from running or blocked GPU......
Data Pipeline
7HDF5 Data Corruption
highHDF5 file corruption causes training to fail with I/O errors or silently load incorrect data....
WebDataset TAR Corruption
mediumWebDataset TAR file corruption causes data loading failures and missing samples during training....
MMap File Handle Exhaustion
mediumMemory-mapped (mmap) file handles are exhausted when datasets have many large files, causing data loading failures....
Parquet Schema Mismatch
mediumParquet schema mismatches occur when reading parquet files with different schemas than expected by the loading code....
Streaming Data Error
mediumStreaming data errors occur when loading data from cloud storage or remote endpoints fails mid-training....
LMDB Read Failures: Transactions, Locks and Recovery
mediumDistinguish LMDB corruption from map size, reader limits and worker lifecycle errors. Preserve the environment and validate a copy......
Corrupt Image Crashes in PyTorch DataLoaders
mediumCatch truncated JPEG and PNG files in PyTorch DataLoader workers with PIL verification and safe collate filtering before mid-epoch crashes....
Infrastructure
6Ray Actor Resource Reservation Causing GPU Starvation from Occupied CPU Slots
highAnyscale users experienced GPU starvation when CPU-heavy Ray actors consumed all available CPU slots on GPU nodes, preventing......
Host Component Kernel Panic Causing Intermittent Network Connectivity on GH200 Instances
highLambda's us-east-3 region, serving exclusively GH200 instances, experienced intermittent network connectivity caused by a host component......
Ray Data Auto-Scaling Failure from Resource Shape Mismatch Between Requested and Available
mediumRay Data auto-scaling fails when operator resource requirements exceed available cluster resources, throwing ActorUnschedulableError......
SLURM Cgroup Limit
highSLURM cgroup limits restrict resources (CPU, memory, GPU) for jobs, causing OOM kills or throttling when exceeded....
nvidia-smi Missing or Broken
highnvidia-smi is missing or broken when NVIDIA driver is not properly installed, blocking GPU access entirely....
GPU Thermal Throttling: Check Temperature and Clock Reasons
highGPU thermal throttling: compare temperature, clock event reasons and workload timing. Distinguish thermal slowdown from a power cap or......
Environment
6Python Path Conflict
mediumPython path conflicts cause wrong module versions to be loaded, leading to subtle bugs and errors....
HuggingFace Tokenizers Rust Error
mediumHuggingFace tokenizers library uses Rust backend, which can fail with native errors not visible in Python traceback....
Python Version Mismatch
mediumPython version mismatches between training and inference cause subtle bugs from library incompatibilities....
Conda Environment Conflict
mediumConda environment conflicts cause package version mismatches, broken dependencies, and hard-to-debug import errors....
GPU Container & CUDA Image Mismatch Triage
mediumFix CUDA, cuDNN, and Python ABI crashes between local dev and cluster pods by digest-pinning containers and comparing driver matrices....
GCC Version Mismatch
mediumGCC version mismatches cause C++ extension compilation failures and runtime library incompatibilities....
Memory
5Inference Memory Leak
highInference memory leaks cause growing GPU memory usage during serving, eventually OOM-ing the server....
torch.compile Memory
mediumtorch.compile can use additional memory for graph compilation, guard evaluation, and dynamic shape handling....
cuDNN Benchmark Memory: Check PyTorch Convolution OOM
lowInvestigate PyTorch convolution OOM with cuDNN benchmark enabled. Compare input shapes, peak memory and algorithm selection before......
CUDA Context Leak
mediumCUDA context leaks occur when CUDA contexts are not properly destroyed, accumulating GPU memory across processes....
CUDA Caching Allocator Fragmentation
mediumCUDA caching allocator fragmentation causes OOM despite enough total free memory, due to non-contiguous blocks....
Hardware
3Blackwell Xid 149: NETIR Subcodes and Link Evidence
criticalInterpret Blackwell Xid 149 using NETIR subcodes, fatality, peer evidence and topology. Separate link recovery from an unsupported GPU......
NVSwitch SXid: Severity, Topology and Recovery Scope
criticalInterpret NVSwitch SXid severity and affected ports before recovery. Distinguish legacy Fabric Manager reporting from B200/B300 NVSDM......
GPU Memory Clock Throttle
mediumGPU memory clock throttling reduces memory bandwidth and training performance when memory is under-utilized....
Training Stability
2Gradient Clipping Missing: Check AMP and Optimizer Order
mediumCheck whether gradient clipping is required by your training recipe, applied to the intended parameters and ordered correctly with AMP......
Exploding Gradients: Trace Large Norms and Non-Finite Values
highInvestigate exploding gradients using unscaled norms, the first non-finite operation, loss inputs and optimizer state before changing......
Missing a failure class?
If your error isn't listed, submit your evidence for investigation. Unknown causes may require more facts before a complete recommendation is supported.
Diagnose your logs now