[STABLEDIFFUSION] Torch is not able to use GPU 에러 해결법

Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check

STABLEDIFFUSION을 실행하려고 하는데 다음과 같은 에러가 발생했다. 그래서 실행되지 않는 상태...

git hub에서 해결책을 찾았고 공유하고자 글을 쓴다.


 

먼저 에러가 발생한 상황

해결책은 아래 주소에서 찾았다

https://github.com/AUTOMATIC1111/stable-diffusion-webui/issues/1742

 

Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check · Issue #1742 · AU

when i try to run webui-user.bat this error shown. venv "C:\Users\giray\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...

github.com

 

 

stable--diffusion-webui 폴더로 들어간다.

 

 

webui-user.bat을 메모장으로 실행한다.

 

set COMMANDLINE_ARGS= 에 --lowvram --precision full --no-half --skip-torch-cuda-test를 적어준다.

 

 

필요한 설치파일을 받고 정상적으로 실행된다