赞
踩
https://github.com/AUTOMATIC1111/stable-diffusion-webui/wiki/Installation-on-Apple-Silicon
官网:https://brew.sh/zh-cn/
命令:/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
打开终端:brew install cmake protobuf rust python@3.10 git wget
建议 分开安装,一一验证
brew install cmake
brew install protobuf
brew install rust
brew install python@3.10
brew install git
brew install wget
cmake: `cmake --version`
protobuf: `protoc --version`
rust:` rustc --version`
python@3.10:` python3.10 --version`
git:` git --version`
wget: `wget --version`
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui
本人使用的是稳定扩散 2.1 ( v2-1_768-ema-pruned.ckpt )
模型文件:
https://huggingface.co/stabilityai/stable-diffusion-2-1/resolve/main/v2-1_768-ema-pruned.ckpt
下载完成后,放到stable-diffusion-webui/models/Stable-diffusion
文件下,两个文件的前缀名称一致
./webui.sh
打开解决方法链接https://szlsay.blog.csdn.net/article/details/133777539
Mac users: Please provide feedback on if these instructions do or don’t work for you, and if anything is unclear or you are otherwise still having problems with your install that are not currently mentioned here.
Currently most functionality in the web UI works correctly on macOS, with the most notable exceptions being CLIP interrogator and training. Although training does seem to work, it is incredibly slow and consumes an excessive amount of memory. CLIP interrogator can be used but it doesn’t work correctly with the GPU acceleration macOS uses so the default configuration will run it entirely via CPU (which is slow).
Most samplers are known to work with the only exception being the PLMS sampler when using the Stable Diffusion 2.0 model. Generated images with GPU acceleration on macOS should usually match or almost match generated images on CPU with the same settings and seed.
If you have an existing install of web UI that was created with setup_mac.sh, delete the run_webui_mac.sh file and repositories folder from your stable-diffusion-webui folder. Then run git pull to update web UI and then ./webui.sh to run it.
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。