安装教程的视频地址:https://www.bilibili.com/video/BV1Us4y1X75d/?vd_source=f29cfa72ea93a2ddad2dae743b61c6c1
安装完成后,运行./webui.sh,启动程序,出图报错如下:
错误提示:loc("varianceEps"("(mpsFileLoc): /AppleInternal/Library/BuildRoots/97f6331a-ba75-11ed-a4bc-863efbbaf80d/Library/Caches/com.apple.xbs/Sources/MetalPerformanceShadersGraph/mpsgraph/MetalPerformanceShadersGraph/Core/Files/MPSGraphUtilities.mm":228:0)): error: input types 'tensor<1x77x1xf16>' and 'tensor<1xf32>' are not broadcast compatible
LLVM ERROR: Failed to infer result type(s).
zsh: abort ./webui.sh
解决办法:
这样启动程序,在./webui.sh命令后加参数:--share --skip-torch-cuda-test --no-half,如下:
./webui.sh --share --skip-torch-cuda-test --no-half
这样出图就正常了。