Mac版 stable diffusion点生成没反应(M2)

报错信息:

RuntimeError: "upsample_nearest2d_channels_last" not implemented for 'Half'

查阅资料后发现有两种方法:

1.打开webui-macos-env.sh文件进行如下更改

Change :
export COMMANDLINE_ARGS="--skip-torch-cuda-test --upcast-sampling --no-half-vae --use-cpu interrogate"

To :
export COMMANDLINE_ARGS="--skip-torch-cuda-test --upcast-sampling --no-half-vae --no-half --use-cpu interrogate"

2.使用语句行

./webui.sh --precision full --no-half

解决后就可以生成了,注意模版设置

猜你喜欢

转载自blog.csdn.net/wcm78720106/article/details/131657302
今日推荐