- Mac computers with Apple silicon or AMD GPUs
- macOS 12.3 or later
- Python 3.7 or later
- Xcode command-line tools:
xcode-select --install
安装 pytorch
查看这个内容安装
https://developer.apple.com/metal/pytorch/
或者
curl -O https://repo.anaconda.com/miniconda/Miniconda3-latest-MacOSX-arm64.sh
sh Miniconda3-latest-MacOSX-arm64.sh
conda install pytorch torchvision torchaudio -c pytorch-nightly
安装comfigUI
#克隆ComfyUI代码并安装依赖
cd ~/
git clone https://github.com/comfyanonymous/ComfyUI
cd ComfyUI
pip install -r requirements.txt
#安装插件管理器及汉化插件
cd ~/ComfyUI/custom_nodes
git clone https://github.com/ltdrdata/ComfyUI-Manager.git
cd ComfyUI-Manager && pip install -r requirements.txt
cd ..
git clone https://github.com/AIGODLIKE/AIGODLIKE-COMFYUI-TRANSLATION.git
启动 comfigUI
cd ~/ComfyUI
python3 main.py
后面就下载 模型 和汉化操作
参考:
1、ComfyUI介绍(官方直译)详细部署教程和使用 - 知乎
2、3步搞定Mac下的ComfyUI安装(Apple Silicon M1/M2/M3) [小白友好版] - 知乎