klren0312 / daliy_knowledge

知识积累,正确使用方式是watch
22 stars 4 forks source link

state diffusion配置 #760

Open klren0312 opened 9 months ago

klren0312 commented 9 months ago

1. Python版本

3.10.6

2. 配置中文

填入https://github.com/journey-ad/sd-webui-bilingual-localization.git 安装插件

image

下载中文包 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