RuntimeError: Your device does not support the current version of Torch/CUDA! Consider download another version:
Hi, any suggestions to fix this error?
I'm trying to install Stable Diffusion / Forge and not succeeding after many attempts installing / uninstalling / reinstalling.
"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: f2.0.1v1.10.1-previous-659-gc055f2d4
Commit hash: c055f2d43b07cbfd87ac3da4899a6d7ee52ebab9
Traceback (most recent call last):
File "D:\Program Files\Forge\webui\launch.py", line 54, in
Am running Windows 10 Home, x64. OS Build 19045.5737 Processor AMD Ryzen 7 5800H with Radeon Graphics 3.20 GHz Installed RAM 16.0 GB (15.4 GB usable) Graphics Card NVIDIA GeForce RTX 3080 Laptop GPU (8 GB), AMD Radeon(TM) Graphics (497 MB)
Have tried the suggested solution here: https://github.com/lllyasviel/stable-diffusion-webui-forge/issues/988#issuecomment-2282715004 . Have tried uninstalling and reinstalling MSVC v143 - VS 2022 C++ x64/x86 builds tools (latest) and the rebooting.. but not working.
Have tried the one click, have tried via stability matrix, have tried previous version.. [webui_forge_cu121_torch21.7z] (uninstalling & rebooting between each).
Thank you,
I have a feeling it's trying to use your Radeon Graphics instead of the Nvidia GPU. You can try adding --device-id 1 to the COMMANDLINE_ARGS field in your webui-user.bat file.
Thanks for the suggestion, may be part of it as stability matrix could only see AMD as GPU / didn't even give the option of changing to NVIDIA (which is definitely working).
Tried adding that line to the webui-user.bat file but unfortunately got the same error. I double checked and Nvidia GPU is definitely default / device 0..
How did you install pytorch?
Hey - stable diffusion is finally working - thanks for your comments. tried lots of things so unsure which one (or several made a difference), possibly something as simple as reinstalling python and adding to path.. honestly don't know. anyway I'm genuinely grateful for your time to help a stranger on the internet.
I have a feeling it's trying to use your Radeon Graphics instead of the Nvidia GPU. You can try adding
--device-id 1to theCOMMANDLINE_ARGSfield in yourwebui-user.batfile.
I had the same issue with a radeon. --device-id 1 fixed it for me. Thanks a lot!!!