在Windows上安装ComfyUI的步骤如下:
ComfyUI_windows_portable_nvidia.7z
)。v1-5-pruned-emaonly.safetensors
)。ComfyUI/models/checkpoints/
目录下。run_nvidia_gpu.bat
;如果是CPU用户,运行run_cpu.bat
。http://127.0.0.1:8188/
即可使用。git clone https://github.com/comfyanonymous/ComfyUI.git
cd ComfyUI
python -m venv venv
venv\Scripts\activate
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cu118 # 对于NVIDIA显卡
# 或
pip install torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu # 对于CPU
pip install -r requirements.txt
ComfyUI/models/checkpoints
目录下。extra_model_paths.yaml.example
为extra_model_paths.yaml
,按需修改模型路径。python main.py
python main.py --listen
python main.py --port 8188
http://localhost:8188
即可使用。请注意,访问ComfyUI的官方网站可能需要科学上网,请自行解决或尝试使用手机流量开热点链接。