cd /home/zhuifeng/comfyui/
cd /home/zhuifeng/comfyui/
手动下载或者git下载:git clone https://github.com/comfyanonymous/ComfyUI.git
cd /home/zhuifeng/comfyui/ComfyUI
wget https://repo.anaconda.com/miniconda/Miniconda3-py310_23.1.0-1-Linux-x86_64.sh
bash Miniconda3-py310_23.1.0-1-Linux-x86_64.sh
source ~/.bashrc
前提-已安装conda、python3.10
conda env list
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda create -n comfyui
conda activate comfyui
python -m venv venv
source venv/bin/activate
pip install torch torchvision torchaudio --extra-index-url https://download.pytorch.org/whl/cu121
pip install -r requirements.txt
comfyui启动脚本:
python main.py --preview-method auto
如下即为启动成功。