Skip to content
vLLM error triage

CUDA Error: an illegal memory access was encountered in vLLM

CUDA error: an illegal memory access was encountered

A CUDA kernel (frequently paged_attention, FlashAttention, FlashInfer, or a custom quantized matmul) read outside allocated GPU memory, poisoning the worker CUDA context.

Source checked against vLLM v0.32.0. Log wording and available flags may vary by release.

First action

Check dmesg for concurrent hardware Xids first. Then reproduce one failing request with --enforce-eager and CUDA_LAUNCH_BLOCKING=1 or test an alternate attention backend.

Verify the change. Replay the triggering request shape against the updated backend or driver across 100 iterations without worker restarts.

Diagnose your vLLM log offline

Synthetic demonstration samples

Synthetic demonstration samples. Not customer telemetry.

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

Your logs are processed entirely in your browser and are never uploaded by this tool.

Add host kernel / dmesg or nvidia-smi context (optional)

100% local browser engine (same deterministic core as the Open VSX & VS Code extension). 0 bytes of log data uploaded.

Handling a production incident? Replay it with your team.