安装Python
brew install python
安装PyTorch
pip install torch torchvision torchaudio
// or
python3 -m pip install torch torchvision torchaudio
克隆Comfy UI仓库
git clone https://github.com/comfyanonymous/ComfyUI
cd ComfyUI
安装依赖
pip install -r requirements.txt
运行Comfy UI
python main.py
// or
python3 main.py

下载模型
到liblib或huggingface下载模型后,放在Comfy UI仓库 models/checkpoints 目录下,即可选择模型,运行工作流出图。

发表回复