vLLM RTX 5090 (sm_120) CUDA Architecture Error
Resolve vLLM no kernel image available errors on RTX 5090 Blackwell (sm_120). Upgrade to CUDA 12.8+, PyTorch 2.7+, and sm_120-compiled FlashAttention.
Running older vLLM images on NVIDIA RTX 5090 or RTX PRO 6000 Blackwell (compute capability sm_120) fails with 'no kernel image is available for execution on the device' or missing FlashAttention kernels. Upgrade to CUDA 12.8 or newer, PyTorch 2.7+ built with sm_120 support, and a vLLM release compiled for sm_120.
- Symptom
torch.AcceleratorError: CUDA error: no kernel image is available for execution on the device (GPU 0, sm_120)- Root cause
- The installed PyTorch, vLLM, or compiled attention/quantization kernels omit sm_120 SASS bytecode and were built prior to CUDA 12.8 Blackwell support.
- Recommended fix
TORCH_CUDA_ARCH_LIST='12.0'- How Denpex helps
- Denpex investigates vLLM RTX 5090 (sm_120) CUDA Architecture Error 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
A CUDA kernel dispatch failure raised when vLLM or its attention/quantization extensions are compiled without SASS or PTX coverage for Blackwell sm_120 GPUs.
Is this what broke your run? Paste your log.
You're reading about vLLM RTX 5090 (sm_120) CUDA Architecture Error. 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)
NVIDIA RTX 5090 and Blackwell workstation GPUs introduce compute capability 12.0 (sm_120), which requires NVIDIA driver 570+, CUDA Toolkit 12.8+, and PyTorch/vLLM/FlashAttention wheels built with sm_120 targets. Older CUDA 12.1/12.4 containers lack sm_120 SASS and often disable PTX fallback for custom attention kernels.
What you'll observe
- vLLM server startup crashes during model warmup or KV-cache profiling on RTX 5090 GPUs.
- Multi-GPU PCIe RTX 5090 nodes fail during attention backend selection or NVLink/PCIe P2P fallback checks.
Common symptoms and what they mean
Check possible explanations against the incident evidence. A matching symptom alone does not establish its cause.
| Symptom | Possible explanation |
|---|---|
| RuntimeError: CUDA error: no kernel image is available for execution on the device on RTX 5090 | The installed PyTorch, vLLM, or compiled attention/quantization kernels omit sm_120 SASS bytecode and were built prior to CUDA 12.8 Blackwell support. |
| NotImplementedError or FlashAttention architecture check rejecting compute capability 12.0 (sm_120) | The installed PyTorch, vLLM, or compiled attention/quantization kernels omit sm_120 SASS bytecode and were built prior to CUDA 12.8 Blackwell support. |
Which systems are affected
- NVIDIA GeForce RTX 5090 and RTX PRO 6000 Blackwell GPUs (sm_120)
- vLLM serving containers built on CUDA 12.1, 12.4, or 12.6 toolchains
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 python3 -c "import torch; print(torch.__version__, torch.version.cuda, torch.cuda.get_device_capability(), torch.cuda.get_arch_list())" and confirm sm_120 or compute capability 12.0 support.
- ✓Start vLLM on a small model and verify a completion request succeeds end-to-end.
Root cause
- The installed PyTorch, vLLM, or compiled attention/quantization kernels omit sm_120 SASS bytecode and were built prior to CUDA 12.8 Blackwell support.
The fix and how to prevent it
How to fix it
- Verify the host driver is 570+ and inside the container check nvidia-smi plus torch.cuda.get_device_capability() returns (12, 0).
- Upgrade to an official vLLM release built on CUDA 12.8+ with PyTorch 2.7+ (cp312/cu128 wheels) containing sm_120 kernels.
- Check TORCH_CUDA_ARCH_LIST='12.0' if building custom vLLM or FlashAttention extensions from source.
- If serving custom attention or Triton kernels hits a backend edge case during migration, verify attention backend compatibility (for example FlashInfer or VLLM_ATTENTION_BACKEND) per the active vLLM release notes.
Step-by-step remediation
- 1Confirm nvidia-smi reports driver 570+ and GPU compute capability 12.0.
- 2Pull a vLLM container or wheel built with CUDA 12.8+ and PyTorch 2.7+ containing sm_120 targets.
- 3Inspect torch.cuda.get_arch_list() and run a small inference warmup test before exposing the endpoint.
How to prevent it
- Never deploy CUDA <= 12.6 container tags onto Blackwell sm_120 nodes.
- Pin SM architecture checks in node startup probes alongside driver version gates.
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.
Searchable error signature
torch.AcceleratorError: CUDA error: no kernel image is available for execution on the device (GPU 0, sm_120)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 logsNo credit card. Daily allowance follows verified trust tier. Instant access.
Why the recommended fix works
CUDA 12.8+ and PyTorch 2.7+ cu128 wheels include native Blackwell sm_120 SASS codegen across vLLM's core attention and GEMM kernels.
Code examples
python3 -c "import torch; print('torch:', torch.__version__, 'cuda:', torch.version.cuda, 'cap:', torch.cuda.get_device_capability(), 'archs:', torch.cuda.get_arch_list())"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 / Stack | Recommendation | Notes |
|---|---|---|
| RTX 5090 / sm_120 | Use CUDA 12.8+ and PyTorch 2.7+ cu128 | Earlier CUDA toolkits cannot emit sm_120 SASS instructions. |
| Source builds | Set TORCH_CUDA_ARCH_LIST=12.0 | Ensure nvcc from CUDA 12.8+ is active on PATH during pip install. |
With the fix vs without the fix
| Dimension | With the fix | Without the fix |
|---|---|---|
| Container toolchain | Driver 570+ with CUDA 12.8+ and cu128 vLLM wheels | Running CUDA 12.1 or 12.4 wheels expecting forward compatibility |
| Kernel audit | Check torch.cuda.get_arch_list() at build time | Discovering missing sm_120 kernels under production traffic |
Diagnostic note
“Grounded in NVIDIA Blackwell Tuning Guide (sm_100/sm_120), CUDA Toolkit 12.8 release requirements, and vLLM hardware compatibility.”
Visual fingerprint
RTX 5090 (sm_120) -> Driver >= 570 -> CUDA >= 12.8 -> PyTorch cu128 -> vLLM wheel with sm_120 -> healthy inference
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 extensionvLLM errors in context
vLLM failures cross request, model, KV cache, worker, kernel and host boundaries. The hub compares common signatures and evidence checks that help distinguish possible causes.
Compare related vllm errorsRelated failures to investigate next
Frequently asked questions
Questions engineers and on-call staff commonly ask about this failure.
Is sm_120 (RTX 5090) identical to data-center B200 (sm_100)?
Why does PyTorch load on RTX 5090 while vLLM crashes on a custom extension?
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.
Related Infrastructure errors
Dual ISP BGP Route Withdrawal Causing Complete GPU Cloud Region Outage
Infrastructure · critical
Routine UPS Maintenance Triggering Cascading Power and Cooling Failure Across GPU Cloud Region
Infrastructure · critical
Remediation Storm Prevention via Circuit Breaker Pattern in AutoClusters
Infrastructure · high
Network Storage Volume Causing Process Hangs on H100 GPU Nodes
Infrastructure · high