zhaxnb
Published on 2025-12-03 / 2 Visits
0
0

comfy 部署

安装部署

pip install comfy-cli
comfy install --manager-url 安装路径

认证

cd ComfyUI/custom_nodes
git clone https://github.com/liusida/ComfyUI-Login.git
cd ComfyUI-Login
pip install -r requirements.txt

export COMFYUI_USERNAME=username
export COMFYUI_PASSWORD=password

环境配置

set CUDA_VISIBLE_DEVICES=4,5,6,7

启动

cd ComfyUI
nohup python main.py --listen 0.0.0.0 --port 8188 > comfy.log 2>&1 &

多卡

cd ComfyUI/custom_nodes
git clone https://github.com/ltdrdata/ComfyUI-MultiGPU.git


Comment