|
cd /workspace |
|
|
|
git clone https://github.com/comfyanonymous/ComfyUI |
|
|
|
cd /workspace/ComfyUI |
|
|
|
python -m venv venv |
|
|
|
source venv/bin/activate |
|
|
|
pip install -r requirements.txt |
|
|
|
pip uninstall torch torchvision torchaudio --yes |
|
|
|
pip3 install torch==2.2.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 --upgrade |
|
|
|
pip install xformers==0.0.24 |
|
|
|
cd /workspace/ComfyUI/custom_nodes |
|
|
|
git clone https://github.com/ltdrdata/ComfyUI-Manager |
|
|
|
git clone https://github.com/kijai/ComfyUI-SUPIR |
|
|
|
cd /workspace/ComfyUI/custom_nodes/ComfyUI-SUPIR |
|
|
|
pip install -r requirements.txt |
|
|
|
wget -c https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors -P /workspace/ComfyUI/models/checkpoints/ |
|
|
|
wget -c https://huggingface.co/camenduru/SUPIR/resolve/main/SUPIR-v0F.ckpt -P /workspace/ComfyUI/models/checkpoints/ |
|
|
|
cd /workspace/ComfyUI |