赞
踩
参考博客: 在Mac上部署Stable Diffusion(超详细,AI 绘画入门保姆级教程)
安装需要的依赖库
brew install cmake protobuf rust python@3.10 git wget
可能中途会存在下载报错或者下载卡主的问题,需要切国内源
brew进行替换源:
- git -C "$(brew --repo)" remote set-url origin https://mirrors.aliyun.com/homebrew/brew.git
- git -C "$(brew --repo homebrew/core)" remote set-url origin https://mirrors.aliyun.com/homebrew/homebrew-core.git
- echo 'export HOMEBREW_BOTTLE_DOMAIN=https://mirrors.aliyun.com/homebrew/homebrew-bottles' >> ~/.zshrc
- source ~/.zshrc
- brew update
最后再次尝试下载就可以了
在Mac上部署Stable Diffusion(超详细,AI 绘画入门保姆级教程)
克隆仓库:
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
启动web-ui:
- cd stable-diffusion-webui
- ./webui.sh
说明正常启动完成了
然后就是下载大模型, 需要科学上网: https://civitai.com/
或者去 https://huggingface.co/models 下载也可以
支持中文ui界面:
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。