Stable diffusion 실행 에러

Stable diffusion webui 에러 Torch is not able to use GPU

Stable diffusion webui 에러 Torch is not able to use GPU

아래와 같은 에러가 발행 한 경우 실행 파일의 옵션을 추가하여 해결 할 수 있습니다.

Stable diffusion webui 에러 Torch is not able to use GPU

Traceback (most recent call last):
File “E:\stablediffusion\stable-diffusion-webui\launch.py”, line 48, in
main()
File “E:\stablediffusion\stable-diffusion-webui\launch.py”, line 39, in main
prepare_environment()
File “E:\stablediffusion\stable-diffusion-webui\modules\launch_utils.py”, line 386, 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

1. webui-user.bat 파일 수정

webui-user.bat 파일 수정
webui-user.bat 파일을 열어서 COMMANDLINE_ARGS 값이 비어 있으면 옵션을 추가 해준다.
set COMMANDLINE_ARGS=
set COMMANDLINE_ARGS=--skip-torch-cuda-test --precision full --no-half



정상적인 Stable diffusion webui 접속 화면 입니다.
Stable diffusion webui 접속 화면

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다