当前位置:   article > 正文

comfyui部署(Centos7)_comfyui linux

comfyui linux

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

如下即为启动成功。

声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/从前慢现在也慢/article/detail/882549
推荐阅读
相关标签
  

闽ICP备14008679号