Catalogue
xxx
Comfy UI 工作流的Mac安装
打开Terminal
安装Xcode
1
2
3
4xcode-select --install
xcode-select: error: command line tools are already installed, use "Software Update" in System Settings to install updates
出现这行,说明已经安装完成了对版本
1
2
3
4
5
6
7
8
9
10
11python3 --version
Python 3.11.5
pip3 --version
pip 23.2.1 from /opt/homebrew/lib/python3.11/site-packages/pip (python 3.11)
git --version
git version 2.39.2 (Apple Git-143)
brew install python3
brew install git克隆Repo
1
git clone https://github.com/comfyanonymous/ComfyUI
安装虚拟环境
1
2
3
4cd ComfyUI
python3 -m venv venv
然后激活
source venv/bin/activate安装Pytorch Nightly Build
1
2
3# 注意,一定要安装nightly build,不能安装官网上的版本。
pip3 install --pre torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/nightly/cpu
pip install git+https://github.com/pytorch/pytorch@refs/pull/114183/head git+https://github.com/pytorch/vision git+https://github.com/pytorch/audio下载模型
1
2
3
4
5
6
7
8
9
10
11# SDXL Turbo
<https://huggingface.co/stabilityai/sdxl-turbo/tree/main>
# Stable Video Diffusion
14 framerate
https://huggingface.co/stabilityai/stable-video-diffusion-img2vid/tree/main
25 framerate
https://huggingface.co/stabilityai/stable-video-diffusion-img2vid-xt/tree/main
下载完成后把模型复制到这个目录里
cd models/checkpoints安装comfiyui manager
1
2cd custom_nodes
git clone https://github.com/ltdrdata/ComfyUI-Manager安装Python 依赖包
1
2cd ..
pip install -r requirements.txt加载模型
1
cd models/checkpoints
启动ComfyUI
1
python main.py --force-fp16
加载 Work Flow
点击Manager,然后安装custom nodes
加载模型,就可以使用了