stable diffusion webui 까만화면 이미지 생성 문제
갑자기 까만화면의 이미지가 한번씩 생성되기에 서치를 좀 해보니,
아래 옵션을 추가하면 해결될 수도 있다고 공식 문서에 나와 있음.
주로 저사양 그래픽카드일 경우 발생하는데 사용하는 체크포인트(모델)에 따라 12GB 이상 그래픽카드에서도 가끔 발생.
모델 f16, f32 상관 없이 발생
webui-user.bat 에 아래 코드를 추가해서 실행해보니 까만 화면 생성 문제 해결 됨.
* precision은 연산 관련 옵션으로 보임
까만화면 이미지 생성 문제는 해결되나 대신 이미지 생성 속도는 떨어짐.(다른 방법 찾는 중..)
--precision full --no-half
vram 모자라면 아래 옵션도 넣어본다.
--medvram
Green or Black screen
Video cards When running on video cards which don't support half precision floating point numbers (a known issue with 16xx cards), a green or black screen may appear instead of the generated pictures. This may be fixed by using the command line arguments --precision full --no-half at a significant increase in VRAM usage, which may require --medvram.
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Troubleshooting#green-or-black-screen
Troubleshooting
Stable Diffusion web UI. Contribute to AUTOMATIC1111/stable-diffusion-webui development by creating an account on GitHub.
github.com