MacOS一键部署Stable Diffusion(白果黑果通用)
MacOS一键部署Stable Diffusion(白果黑果通用)
准备工作
系统要求,最低12.6.3 以上(测过10.5.7无法启动)
UP主 是13.6.3 Intel + 5700xt
x86下载
install-web-ui-1.6.0-x64.tar.xz
M1 M2下载
install-web-ui-1.6.0-arm.tar.xz
Intel 需要在webui-user.sh里的export COMMANDLINE_ARGS=“”
添加 --medvram --opt-split-attention --skip-torch-cuda-test --no-half
M1 M2 只需要
添加--medvram --opt-split-attention --skip-torch-cuda-test
记得去掉首行的 # 号
运行Launch Web UI
等待下载依赖,这部分需要魔法,不然可能会安装依赖环境失败
首次运行如果没有checkpoint或者其他模型,会自动下载v1-5-pruned-emaonly.safetensors
汉化SD
1.打开stable diffusion webui,进入"Extensions"选项卡
2.点击"Install from URL",注意"URL for extension's git repository"下方的输入框
3.粘贴或输入本Git仓库地址https://github.com/VinsonLaro/stable-diffusion-webui-chinese
4.点击下方的黄色按钮"Install"即可完成安装,然后重启WebUI(点击"Install from URL"左方的"Installed",然后点击黄色按钮"Apply and restart UI"网页下方的"Reload UI"完成重启)
5.点击"Settings",左侧点击"User interface"界面,在界面里最下方的"Localization (requires restart)",选择"Chinese-All"或者"Chinese-English"
6.点击界面最上方的黄色按钮"Apply settings",再点击右侧的"Reload UI"即可完成汉化
2025-02-16 更新
最新mac mini m4使用下面最新安装包,不需要添加代码--medvram --opt-split-attention --skip-torch-cuda-test这段代码就可以直接使用 链接: https://pan.baidu.com/s/1a6b-Q5XMC8ab3mHgtGnvjA 提取码: ed2z 复制这段内容后打开百度网盘手机App,操作更方便哦
这个包只能mac m系列的cpu,intel不适用