카테고리 없음

stable diffusion 에러 해결 방법

posttstory 2023. 5. 18.
728x90

 

stable diffusion 에러 해결 

스테이블 디퓨전을 사용하다보면 이러저런 에러가 나오게 되는데 해결할 수 있는 방법을 찾아 볼게요

 

 1. --no-half-vae 에러 해결

https://rupicat.com/32

WebUI --no-half-vae 에러 해결방법. by flatsun 2023. 3. 10. WebUI 에서 이미지 생성 시 랜덤하게. --no-half-vae 에러가 나면서. 이미지를 생성하지 못하는 경우가 있는데. 해결방법은 stable-diffusion-webui 폴더에서. webui-user.bat 파일을 메모장으로 연 뒤.

 

2. Stable Diffusion WebUI --no-half-vae 에러 해결법

https://newstroyblog.tistory.com/354

오류 수정방법WebUI폴더내에 'webui-user.bat'실행파일을 메모장으로 열어줍니다 COMMANDLINE_ARGS 항목의 맨 뒤에 "-no-half-vae" 옵션을 추가한 후, WebUI를 재실행하고 이미지 생성 버튼을 누르면 문제가 해결됩니다.

 

3. no half-VAE error

https://www.reddit.com/r/StableDiffusion/comments/11a0j18/no_halfvae_error/?onetap_auto=true

This could be because there's not enough precision to represent the picture. Try adding --no-half-vae commandline argument to fix this. Googling it led to someone's suggestion on hugginface to add COMMANDLINE_ARGS= --no-half-vae to the webui bat file, but that didn't help.

 

Help with Stable Diffusion NaNs error?

https://www.reddit.com/r/StableDiffusion/comments/10eikja/help_with_stable_diffusion_nans_error/

modules.devices.NansException: A tensor with all NaNs was produced in VAE. This could be because there's no enough precision to represent this picture. Try adding --no-half-vae commandline to fix this. I've tried using the commandline above, but still come across this error frequently, almost 50-70% of the times

 

 

NVIDIA GTX 16xx fix, no more "--precision full --no-half" on Automatic1111

User nguyenkm mentions a possible fix by adding two lines of code to Automatic1111 devices.py file that removes the need of adding "--precision full --no-half" for NVIDIA GTX 16xx cards.

 

https://www.reddit.com/r/StableDiffusion/comments/z0m8pg/what_do_precision_full_and_nohalf_do/

I cant find a description of them anywhere but I see lots of people have them in their launch options

 

 

 

728x90

댓글

💲 추천 글