Upload comfy_kuvshin.sh
Browse files- comfy_kuvshin.sh +65 -0
comfy_kuvshin.sh
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
cd /workspace
|
| 2 |
+
|
| 3 |
+
git clone https://github.com/comfyanonymous/ComfyUI
|
| 4 |
+
|
| 5 |
+
cd /workspace/ComfyUI
|
| 6 |
+
|
| 7 |
+
python -m venv venv
|
| 8 |
+
|
| 9 |
+
source venv/bin/activate
|
| 10 |
+
|
| 11 |
+
pip install -r requirements.txt
|
| 12 |
+
|
| 13 |
+
pip uninstall torch torchvision torchaudio --yes
|
| 14 |
+
|
| 15 |
+
pip3 install torch==2.2.0 torchvision torchaudio --index-url https://download.pytorch.org/whl/cu121 --upgrade
|
| 16 |
+
|
| 17 |
+
pip install xformers==0.0.24
|
| 18 |
+
|
| 19 |
+
pip install insightface==0.7.3
|
| 20 |
+
|
| 21 |
+
pip install ifnude --upgrade
|
| 22 |
+
|
| 23 |
+
pip install onnxruntime-gpu
|
| 24 |
+
|
| 25 |
+
cd /workspace/ComfyUI/custom_nodes
|
| 26 |
+
|
| 27 |
+
git clone https://github.com/ltdrdata/ComfyUI-Manager
|
| 28 |
+
|
| 29 |
+
git clone https://github.com/ltdrdata/ComfyUI-Impact-Pack
|
| 30 |
+
|
| 31 |
+
git clone https://github.com/Fannovel16/comfyui_controlnet_aux
|
| 32 |
+
|
| 33 |
+
git clone https://github.com/Gourieff/comfyui-reactor-node
|
| 34 |
+
|
| 35 |
+
git clone https://github.com/cubiq/ComfyUI_InstantID
|
| 36 |
+
|
| 37 |
+
git clone https://github.com/cubiq/ComfyUI_essentials
|
| 38 |
+
|
| 39 |
+
git clone https://github.com/cubiq/ComfyUI_IPAdapter_plus
|
| 40 |
+
|
| 41 |
+
cd /workspace/ComfyUI
|
| 42 |
+
|
| 43 |
+
wget -c https://huggingface.co/Lykon/dreamshaper-xl-lightning/resolve/main/DreamShaperXL_Lightning.safetensors -P ./models/checkpoints/
|
| 44 |
+
|
| 45 |
+
wget -c https://huggingface.co/Kuvshin/kuvshin8/resolve/main/inswapper_128.onnx -P ./models/insightface/
|
| 46 |
+
|
| 47 |
+
cd /workspace/ComfyUI
|
| 48 |
+
|
| 49 |
+
wget -c https://huggingface.co/MonsterMMORPG/tools/resolve/main/1k3d68.onnx -P ./models/insightface/models/antelopev2/
|
| 50 |
+
|
| 51 |
+
wget -c https://huggingface.co/MonsterMMORPG/tools/resolve/main/2d106det.onnx -P ./models/insightface/models/antelopev2/
|
| 52 |
+
|
| 53 |
+
wget -c https://huggingface.co/MonsterMMORPG/tools/resolve/main/genderage.onnx -P ./models/insightface/models/antelopev2/
|
| 54 |
+
|
| 55 |
+
wget -c https://huggingface.co/MonsterMMORPG/tools/resolve/main/glintr100.onnx -P ./models/insightface/models/antelopev2/
|
| 56 |
+
|
| 57 |
+
wget -c https://huggingface.co/MonsterMMORPG/tools/resolve/main/scrfd_10g_bnkps.onnx -P ./models/insightface/models/antelopev2/
|
| 58 |
+
|
| 59 |
+
wget -c https://huggingface.co/InstantX/InstantID/resolve/main/ip-adapter.bin -P ./models/instantid/
|
| 60 |
+
|
| 61 |
+
wget -c https://huggingface.co/InstantX/InstantID/resolve/main/ControlNetModel/diffusion_pytorch_model.safetensors -P ./models/controlnet/
|
| 62 |
+
|
| 63 |
+
wget -c https://huggingface.co/xinsir/controlnet-openpose-sdxl-1.0/resolve/main/diffusion_pytorch_model.safetensors -O ./models/controlnet/pose.safetensors
|
| 64 |
+
|
| 65 |
+
cd /workspace
|