The message
NVIDIA GeForce RTX 5070 with CUDA capability sm_120 is not compatible with the current PyTorch installation. … / Forge: RuntimeError: Your device does not support the current version of Torch/CUDA!
Affects: AUTOMATIC1111 Stable Diffusion WebUI, Stable Diffusion WebUI Forge, Stable Diffusion WebUI Forge – Neo
Why is this happening?
RTX-50 cards need PyTorch with CUDA 12.8 or newer (officially from PyTorch 2.7). The standard A1111 installation uses PyTorch 2.1.2 with CUDA 12.1, and the one-click packages for classic Forge end at CUDA 12.4. These versions do not recognize the new architecture.
How to fix it
- A1111, fresh install: Download the official
sd.webui-1.10.1-blackwell.7zpackage from release v1.10.0 on GitHub, extract it with 7-Zip, and startrun.bat. - A1111, existing installation: Open a terminal in the WebUI folder, switch to the dev branch with
git switch devandgit pull, and add--reinstall-torchtoCOMMANDLINE_ARGSinwebui-user.bat. After the first successful start, remove--reinstall-torchagain. - Forge: There is no official RTX-50 package for classic Forge. Switch to Forge Neo, which installs a current PyTorch version with CUDA 13.
- In Forge Neo, leave out the
--xformersoption; according to the guide, xformers does not support RTX-50 cards. The built-in PyTorch attention is usually just as fast.
Better not: Don't hack around in launch_utils.py or individual package versions when there is an official way; that quickly leads to a broken installation.
Set up from scratch again
If it still doesn’t work after that, a fresh setup step by step often helps:
- VRAM explained: why it decides everything
How much VRAM does local AI need? Rule of thumb, quantization (Q4, Q8, fp8), context, image and video models, offloading, and which card si…
Terms for this
Similar errors
Sources
- https://github.com/AUTOMATIC1111/stable-diffusion-webui/discussions/16818
- https://raw.githubusercontent.com/AUTOMATIC1111/stable-diffusion-webui/master/modules/launch_utils.py
- https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/2886
- https://raw.githubusercontent.com/lllyasviel/stable-diffusion-webui-forge/main/README.md
- https://raw.githubusercontent.com/Haoming02/sd-webui-forge-classic/neo/README.md
Checked on Oct 21, 2026. Didn't help? Ask in the forum and name the graphics card, program, and the full message.