Replies: 1 comment 4 replies
-
Welcome! In English, it's failing because a module can't find your GPU, your graphics card. Do you know if you have one? The error message suggestion says open stable-diffusion-webui\webui-user.bat in notepad, disable the check by changing the 6th line to the text below: set COMMANDLINE_ARGS=--skip-torch-cuda-test Then run webui-user.bat, and report back :-) |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I'm absolutely new with computers but with a lot of efforts I downloaded it but it's showing the error called
AssertionError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
It would really be nice of you if you could help me with this.
Here is the entire error it showed:
Traceback (most recent call last):
File "C:\Stable Diffusion\stable-diffusion-webui\launch.py", line 254, in
prepare_enviroment()
File "C:\Stable Diffusion\stable-diffusion-webui\launch.py", line 175, in prepare_enviroment
run_python("import torch; assert torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check'")
File "C:\Stable Diffusion\stable-diffusion-webui\launch.py", line 58, in run_python
return run(f'"{python}" -c "{code}"', desc, errdesc)
File "C:\Stable Diffusion\stable-diffusion-webui\launch.py", line 34, in run
raise RuntimeError(message)
RuntimeError: Error running command.
Command: "C:\Stable Diffusion\stable-diffusion-webui\venv\Scripts\python.exe" -c "import torch; assert torch.cuda.is_available(), 'Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check'"
Error code: 1
stdout:
stderr: Traceback (most recent call last):
File "", line 1, in
AssertionError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
Beta Was this translation helpful? Give feedback.
All reactions