stable-diffusion-webui
stable-diffusion-webui copied to clipboard
[problem]: Torch is not able to use GPU
Is there an existing issue for this?
- [X] I have searched the existing issues and checked the recent builds/commits
What happened?
when I run webui-user.bat i get this problem:
venv "C:\Users\Nico\Desktop\Ai\StableDif\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]
Version: v1.3.0
Commit hash: 20ae71faa8ef035c31aa3a410b707d792c8203a3
Traceback (most recent call last):
File "C:\Users\Nico\Desktop\Ai\StableDif\stable-diffusion-webui\launch.py", line 38, in
Steps to reproduce the problem
when i open the file webui-user.batI
What should have happened?
it have to give me a UI
Commit where the problem happens
venv "C:\Users\Nico\Desktop\Ai\StableDif\stable-diffusion-webui\venv\Scripts\Python.exe" Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)] Version: v1.3.0 Commit hash: 20ae71faa8ef035c31aa3a410b707d792c8203a3 Traceback (most recent call last): File "C:\Users\Nico\Desktop\Ai\StableDif\stable-diffusion-webui\launch.py", line 38, in
What Python version are you running on ?
Python 3.10.x
What platforms do you use to access the UI ?
Windows
What device are you running WebUI on?
AMD GPUs (RX 5000 below)
What browsers do you use to access the UI ?
Mozilla Firefox
Command Line Arguments
none
List of extensions
no
Console logs
venv "C:\Users\Nico\Desktop\Ai\StableDif\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.7 (tags/v3.10.7:6cc6b13, Sep 5 2022, 14:08:36) [MSC v.1933 64 bit (AMD64)]
Version: v1.3.0
Commit hash: 20ae71faa8ef035c31aa3a410b707d792c8203a3
Traceback (most recent call last):
File "C:\Users\Nico\Desktop\Ai\StableDif\stable-diffusion-webui\launch.py", line 38, in <module>
main()
File "C:\Users\Nico\Desktop\Ai\StableDif\stable-diffusion-webui\launch.py", line 29, in main
prepare_environment()
File "C:\Users\Nico\Desktop\Ai\StableDif\stable-diffusion-webui\modules\launch_utils.py", line 257, in prepare_environment
raise RuntimeError(
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
Additional information
No response
What device are you running WebUI on? AMD GPUs (RX 5000 below)
Have you referred to the following for AMD GPU's? https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Install-and-Run-on-AMD-GPUs
To use Diffusion Stable with an AMD GPU, you must use this version : https://github.com/lshqqytiger/stable-diffusion-webui-directml
I am experiencing the same issue on Nvidia RTX GPU
Same issue here. And I am using Nvidia RTX GPU.
Everything is working fine, until I installed the "inpaint everything" and restart the whole thing, then this error came out suddenly. I don't know if it was just an coincidence, yet even if I uninstalled that extention can't help.
To use Diffusion Stable with an AMD GPU, you must use this version : https://github.com/lshqqytiger/stable-diffusion-webui-directml
This Definity worked for me bro I love you