3. nansexception: A tensor with all NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.
1. Python版本
3.10.6
2. 配置中文
填入https://github.com/journey-ad/sd-webui-bilingual-localization.git 安装插件
下载中文包 https://github.com/dtlnor/stable-diffusion-webui-localization-zh_CN/blob/main/localizations/zh_CN.json
放到stable-diffusion-webui\localizations
3. nansexception: A tensor with all NaNs was produced in Unet. This could be either because there's not enough precision to represent the picture, or because your video card does not support half type. Try setting the "Upcast cross attention layer to float32" option in Settings > Stable Diffusion or using the --no-half commandline argument to fix this. Use --disable-nan-check commandline argument to disable this check.
webui-user.bat
设置set COMMANDLINE_ARGS= --no-half --disable-nan-check