RuntimeError: Torch is not able to use GPU, but i run python -c "import torch; print(torch.cuda.is_available())" return True #14006
Unanswered
huangdang111
asked this question in
Q&A
Replies: 0 comments
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.
-
when i try to run webui-user.sh this error shown.
Using TCMalloc: libtcmalloc_minimal.so.4
Python 3.10.6 (main, Oct 24 2022, 16:07:47) [GCC 11.2.0]
Version: v1.6.0-2-g4afaaf8a
Commit hash: 4afaaf8
check GPU :False
Traceback (most recent call last):
File "/mnt/workspace/stable/stable-diffusion-webui/launch.py", line 48, in
main()
File "/mnt/workspace/stable/stable-diffusion-webui/launch.py", line 39, in main
prepare_environment()
File "/mnt/workspace/stable/stable-diffusion-webui/modules/launch_utils.py", line 358, 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
but i run python -c "import torch; print(torch.cuda.is_available())"
return True
Beta Was this translation helpful? Give feedback.
All reactions