SD安装失败的总结
SD安装失败的总结
sd 安装过程
1.下载webui
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
2.安装包下载太慢,可以指定清华源 -i http://pypi.tuna.tsinghua.edu.cn/simple –trusted-host pypi.tuna.tsinghua.edu.cn –timeout=3000
2.安装问题
1.Cannot locate TCMalloc (improves CPU memory usage)
yum install gperftools gperftools-devel
2.一直卡着clip安装
修改stable-diffusion-webui/modules目录下的launch_utils.py文件,在https://github.com前面加上https://ghproxy.com/,不然国内服务器很容易下载失败
3.git Unknown option: -C
因为git版本比较低,需要大于1.8.5
- Max retries exceeded with url: /openai/clip-vit-large-patch14/resolve/main/vocab.json (Caused by ConnectTimeoutError
下载clip-vit-large-patch14 文件到本地 g
解压后到stable diffusion 根目录 openai/clip-vit-large-patch14/** - 配置端口和host
./webui.sh –xformers –listen –port 7860
–listen 将监听 0.0.0.0,保证别的机器可以访问本机
本博客所有文章除特别声明外,均采用 null 许可协议。转载请注明来自 糖果AIGC实验室-LUA!