pytorch - 💡(How to fix) Fix [Hardware Support] RTX 5080 (Blackwell) CUDA error: no kernel image is available for execution on the device on latest Nightly build [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
pytorch/pytorch#180101Fetched 2026-04-11 06:08:17
View on GitHub
Comments
0
Participants
1
Timeline
96
Reactions
0
Participants
Timeline (top)
mentioned ×45subscribed ×45labeled ×6

Error Message

RuntimeError: CUDA error: no kernel image is available for execution on the device

RAW_BUFFERClick to expand / collapse

🐛 Describe the bug

RuntimeError: CUDA error: no kernel image is available for execution on the device CUDA kernel errors might be asynchronously reported at some other API call, so the stacktrace below might be incorrect. For debugging consider passing CUDA_LAUNCH_BLOCKING=1 Compile with TORCH_USE_CUDA_DSA to enable device-side assertions.

Environment / Hardware Specs:

OS: Windows

CPU: AMD Ryzen 9 5900XT

GPU: NVIDIA GeForce RTX 5080

RAM: 48GB DDR4

Python Version: 3.12.9 (64-bit)

PyTorch Version: 2.7.0.dev20250310+cu124 (Nightly)

Task: Vision OCR using python-doctr (ResNet50 / VGG16)

Versions

We had to build a fallback layer in our architecture to route all OCR processing to the CPU (Ryzen 9). While the CPU handles it, we are losing the massive acceleration potential of the RTX 5080.

Is there an ETA for when the pre-compiled Windows binaries (pip install torch) will natively include the SM architectures for the consumer RTX 5000 series?

Best regards,

cc @seemethere @malfet @atalman @tinglvv @nWEIdia @peterjc123 @mszhanyi @skyline75489 @nbcsm @iremyux @Blackhex @ptrblck @msaroufim @eqy @jerryzh168

extent analysis

TL;DR

The most likely fix is to wait for pre-compiled Windows binaries that natively support the SM architectures for the consumer RTX 5000 series or use a workaround such as compiling PyTorch from source with the necessary CUDA support.

Guidance

  • The error message indicates a CUDA kernel error, suggesting that the current PyTorch version does not support the NVIDIA GeForce RTX 5080 GPU.
  • Compiling PyTorch from source with TORCH_USE_CUDA_DSA and the necessary CUDA version (cu124) might enable support for the RTX 5080.
  • Passing CUDA_LAUNCH_BLOCKING=1 can help with debugging by making CUDA kernel launches synchronous.
  • Consider using a different PyTorch version or a nightly build that might include support for the RTX 5000 series.

Example

No code snippet is provided as the issue does not require a specific code change.

Notes

The issue is specific to the Windows platform and the NVIDIA GeForce RTX 5080 GPU. The solution might not apply to other platforms or GPUs.

Recommendation

Apply workaround: Compiling PyTorch from source with the necessary CUDA support is a viable workaround until pre-compiled Windows binaries that support the RTX 5000 series are available.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING