Stable Diffuion webui Mac版本安装过程

系统环境

操作系统:MacOS Ventura13.5
芯片:Apple M2 Max
Python: 3.10

安装前置准备

git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git

注意事项:修改源码内全部 git clone 链接,设置代理 https://ghproxy.com/,示例如下:

https://ghproxy.com/https://github.com/AUTOMATIC1111/stable-diffusion-webui.git

需要修改的文件如下,可批量替换:
Stable Diffuion webui Mac版本安装过程_第1张图片
ui_extensions.py 文件的修改主要是解决插件下载超时的问题
Stable Diffuion webui Mac版本安装过程_第2张图片

正式安装

# 安装brew
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"

# 安装必要依赖
brew install cmake protobuf rust [email protected]  wget

#加载环境变量 
./webui-macos-env.sh

#用户信息
./webui-user.sh

#运行主程序
./webui.sh  

一些安装过程中遇到过的问题

git unable to get local issuer certificate (_ssl.c:1007)>

Pip更换默认镜像源

连接超时报错(PS: 上述步骤中已经包含该问题解决方案)

参考链接

GitHub Proxy 代理加速

— END —
感谢阅读

你可能感兴趣的:(AI,macos,python,stable,diffusion,ai绘画)