Skip to content

mac 本地部署Stable Difussion生成图片,提示RuntimeError: "LayerNormKernelImpl" not implemented for 'Half'

报错内容:

1.Modified webui-user.sh,add those flags to the file export …AI绘画插图

1.编辑安装目录下的 webui-user.sh

修改

export COMMANDLINE_ARGS=""

修改后:

export COMMANDLINE_ARGS="--skip-torch-cuda-test --precision full --no-half"

1.Modified webui-user.sh,add those flags to the file export …AI绘画插图1

2.也可以直接在启动命令后加入,使用下面命令启动

./webui.sh --skip-torch-cuda-test --precision full --no-half

1.Modified webui-user.sh,add those flags to the file export …AI绘画插图2

3.Success

1.Modified webui-user.sh,add those flags to the file export …AI绘画插图3

Copyright © 2023-Present AImmp