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

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

本文来自网络,不代表协通编程立场,如若转载,请注明出处:https://www.net2asp.com/be936013da.html