Skip to content

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.

Quick answer

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.
Infrastructure#vllm#rtx-5090#blackwell#sm_120#cuda-12.8#flash-attn

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.

Live diagnosis, no signup

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.

training_logs.txt
No log to hand? Try one:

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

3 free cloud diagnoses per day

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.

SymptomPossible explanation
RuntimeError: CUDA error: no kernel image is available for execution on the device on RTX 5090The 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

  1. 1Confirm nvidia-smi reports driver 570+ and GPU compute capability 12.0.
  2. 2Pull a vLLM container or wheel built with CUDA 12.8+ and PyTorch 2.7+ containing sm_120 targets.
  3. 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.

Use your company email, for example alex@yourcompany.com.

Who qualifies?

Company email domains activate the free 30-day Team evaluation (up to 50 diagnoses a day) after an email and domain check, whatever mail provider you use. If we cannot verify your domain automatically, support reviews it: write to support@denpex.com. Free local diagnosis in the editor extension needs no account.

Using a personal email (Gmail, Outlook, Naver, QQ) or solo cluster? Create a free $0 account (no work email required) to save 7-day history and unlock AI fallback, or send a cluster crash log for a live walkthrough.
Already have an account? Sign in

Searchable error signature

search key
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 logs

No 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

snippet
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 / StackRecommendationNotes
RTX 5090 / sm_120Use CUDA 12.8+ and PyTorch 2.7+ cu128Earlier CUDA toolkits cannot emit sm_120 SASS instructions.
Source buildsSet TORCH_CUDA_ARCH_LIST=12.0Ensure nvcc from CUDA 12.8+ is active on PATH during pip install.

With the fix vs without the fix

DimensionWith the fixWithout the fix
Container toolchainDriver 570+ with CUDA 12.8+ and cu128 vLLM wheelsRunning CUDA 12.1 or 12.4 wheels expecting forward compatibility
Kernel auditCheck torch.cuda.get_arch_list() at build timeDiscovering 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

Blackwell sm_120 compatibility gate
RTX 5090 (sm_120) -> Driver >= 570 -> CUDA >= 12.8 -> PyTorch cu128 -> vLLM wheel with sm_120 -> healthy inference
Every layer from host driver through compiled custom CUDA ops must support compute capability 12.0.

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 extension

vLLM 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 errors

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)?
No. Data-center B200/GB200 GPUs use sm_100 while RTX 5090 and RTX PRO 6000 Blackwell use sm_120; kernels and wheels must specifically target sm_120 or include PTX/sm_120 support.
Why does PyTorch load on RTX 5090 while vLLM crashes on a custom extension?
PyTorch cu128 includes sm_120 kernels for standard ops, whereas prebuilt third-party wheels (FlashAttention, Marlin, bitsandbytes) must also be recompiled against CUDA 12.8+ for sm_120.

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.