赞
踩
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
如下即为启动成功。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。