github link : https://github.com/AUTOMATIC1111/stable-diffusion-webui/
위 레포지토리를 clone하고
webui-user.bat 파일을 더블클릭하여 실행하면 된다.
이때 python을 찾을 수 없다는 에러가 나올 경우
편집을 누르고
set PYTHON=
이렇게 비어있다면 여기에 python의 경로를 입력 후 저장해주면 된다.
*참고 : python 경로 못찾겠을 때
터미널에서python >> import sys >> sys.executable
하면 경로 나옴
복사하여 붙여주고 저장하면 된다.
RuntimeError: Torch is not able to use GPU; add --skip-torch-cuda-test to COMMANDLINE_ARGS variable to disable this check
파이썬 경로만 입력해줬을 때 작동하면 다행이지만 gpu사용이 불가능할 경우 다음과 같은 에러를 마주하게 된다.
이럴때는 다시 파일을 편집버튼을 눌러 열고
set COMMANDLINE_ARGS=
이렇게 비어있다면
set COMMANDLINE_ARGS=--skip-torch-cuda-test --precision full --no-half
위와 같이 수정하여 준다.
안녕하세요. sd.webui 를 압축 풀고 update.bat을 실행하면
fatal: detected dubious ownership in repository at 'C:/Download/sd.webui/webui'
'C:/Download/sd.webui/webui' is owned by:
'S-1-5-32-544'
but the current user is:
'S-1-5-21-4101034858-3992388301-2932903577-1001'
To add an exception for this directory, call:
이런 에러가 뜨는데요. 이것도 해결하는 방법 혹시 아시나요?