stable-diffusion-webui-forge icon indicating copy to clipboard operation
stable-diffusion-webui-forge copied to clipboard

RTX 5070 (Blackwell) Your device does not support the current version of Torch/CUDA!

Open Melenarmy1337 opened this issue 7 months ago • 3 comments

RuntimeError: Your device does not support the current version of Torch/CUDA! Consider download another version: https://github.com/lllyasviel/stable-diffusion-webui-forge/releases/tag/latest

I got Forge with CUDA 12.4 + Pytorch 2.4 <- Fastest, but MSVC may be broken, xformers may not work

I have read online that i think i need Cuda Version 12.8

On https://github.com/AUTOMATIC1111/stable-diffusion-webui this worked:

Download the sd.webui.zip from here, this package is from v1.0.0-pre we will update it to the latest webui version in step 3. Extract the zip file at your desired location. Double click the update.bat to update web UI to the latest version, wait till finish then close the window. Optional (Required for 50 Series GPUs) use the switch-branch-toole.bat to switch to dev branch. Double click the run.bat to launch web UI, during the first launch it will download large amounts of files. After everything has been downloaded and installed correctly, you should see a message "Running on local URL: http://127.0.0.1:7860", opening the link will present you with the web UI interface.

But there is a option for "(Required for 50 Series GPUs) use the switch-branch-toole.bat to switch to dev branch" this. But here on Forge not. I am more of a beginner of this all so i dont know what to do to make it work.

Melenarmy1337 avatar May 20 '25 18:05 Melenarmy1337

Forge doesn't have an out-of-the-box method for fixing this so you'll have to do this yourself. Thankfully its not too bad. Just open a command prompt where the python folder is in your forge install (should be /system/python if you downloaded the release build).

Then follow the instructions from this comment: https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/2812#issuecomment-2817162925

MisterChief95 avatar May 20 '25 19:05 MisterChief95

I had the same problem, and I modified the following file and it works for me now. .\webui_forge_cu121_torch231\webui\modules\launch_utils.py

Here is my edited version of the file. Hope it helpful to you too. launch_utils.py

By the way, I also updated CUDA to 12.6.

bladadsws-alt avatar Oct 01 '25 17:10 bladadsws-alt

Hi thanks. I hadnt had time last time when i solved my problem i dont remember how i got it to work but i think it was with your comment which you cited. And then maybe some tinkering and it workes now fine :) > Forge doesn't have an out-of-the-box method for fixing this so you'll have to do this yourself. Thankfully its not too bad. Just open a command prompt where the python folder is in your forge install (should be /system/python if you downloaded the release build).

Then follow the instructions from this comment: https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/2812#issuecomment-2817162925

Melenarmy1337 avatar Oct 01 '25 18:10 Melenarmy1337