You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using this on windows and the GPU I have is Nivida GeForce GTX 1070. I am using this on a laptop if that matters.
Here is the error I get
Already up to date.
venv "C:\Users\User\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.7.0
Commit hash: cf2772f
Traceback (most recent call last):
File "C:\Users\User\stable-diffusion-webui\launch.py", line 48, in
main()
File "C:\Users\User\stable-diffusion-webui\launch.py", line 39, in main
prepare_environment()
File "C:\Users\User\stable-diffusion-webui\modules\launch_utils.py", line 384, 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
Press any key to continue . . .
From researching this issue it seems most people don’t have a Nivida gpu when encountering this issue. I do so why am I getting it?
Here is what my webui-user.bat file looks like @echo off
set PYTHON="C:\Users\User\AppData\Local\Programs\Python\Python310\python.exe"
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=
git pull
call webui.bat
I have tried adding both of these lines
set CUDA_VISIBLE_DEVICES=0
set COMMANDLINE_ARGS= --xformers --opt-sdp-no-mem-attention --listen --enable-insecure-extension-access
I have tried to look in some of the python files to see what is happening but it seems I don’t have the right application to read them as it opens as this giant garbled mess.
Other things I have tried are:
I have uninstalled python and git and deleted all of the stable diffiusion files twice and gone through the installation process again.
I have deleted the venv folder a bunch of times
At one point my pip was out of data but I figured out how to update that.
My graphics card drivers say they are up to date
I used to not have the python file line in the bat file but added it after watching some video but that didn't do anything it seems.
Note - I have added the skip torch cuda test line so from mu understanding it is only using my CPU. It is taking absolutely AGES to generate very simple images so I’m hoping that fixing that old error will resolve this issue.
Can someone please help?
Also I have next to zero experience with all of this so please be explicit for how to implement any suggestions.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using this on windows and the GPU I have is Nivida GeForce GTX 1070. I am using this on a laptop if that matters.
Here is the error I get
Already up to date.
venv "C:\Users\User\stable-diffusion-webui\venv\Scripts\Python.exe"
Python 3.10.6 (tags/v3.10.6:9c7b4bd, Aug 1 2022, 21:53:49) [MSC v.1932 64 bit (AMD64)]
Version: v1.7.0
Commit hash: cf2772f
Traceback (most recent call last):
File "C:\Users\User\stable-diffusion-webui\launch.py", line 48, in
main()
File "C:\Users\User\stable-diffusion-webui\launch.py", line 39, in main
prepare_environment()
File "C:\Users\User\stable-diffusion-webui\modules\launch_utils.py", line 384, 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
Press any key to continue . . .
From researching this issue it seems most people don’t have a Nivida gpu when encountering this issue. I do so why am I getting it?
Here is what my webui-user.bat file looks like
@echo off
set PYTHON="C:\Users\User\AppData\Local\Programs\Python\Python310\python.exe"
set GIT=
set VENV_DIR=
set COMMANDLINE_ARGS=
git pull
call webui.bat
I have tried adding both of these lines
set CUDA_VISIBLE_DEVICES=0
set COMMANDLINE_ARGS= --xformers --opt-sdp-no-mem-attention --listen --enable-insecure-extension-access
to that file but that did nothing. I got that code off this post
https://discuss.pytorch.org/t/torch-cant-use-gpu-but-it-could-before/170940
I have tried to look in some of the python files to see what is happening but it seems I don’t have the right application to read them as it opens as this giant garbled mess.
Other things I have tried are:
I have uninstalled python and git and deleted all of the stable diffiusion files twice and gone through the installation process again.
I have deleted the venv folder a bunch of times
At one point my pip was out of data but I figured out how to update that.
My graphics card drivers say they are up to date
I used to not have the python file line in the bat file but added it after watching some video but that didn't do anything it seems.
Note - I have added the skip torch cuda test line so from mu understanding it is only using my CPU. It is taking absolutely AGES to generate very simple images so I’m hoping that fixing that old error will resolve this issue.
Can someone please help?
Also I have next to zero experience with all of this so please be explicit for how to implement any suggestions.
Beta Was this translation helpful? Give feedback.
All reactions