[add] comfy xpu
This commit is contained in:
parent
2d0fd54f68
commit
e0c302bcdd
13 changed files with 646 additions and 0 deletions
51
comfyui.xpu/builder-scripts/generate-pak5.sh
Normal file
51
comfyui.xpu/builder-scripts/generate-pak5.sh
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
#!/bin/bash
|
||||
set -eu
|
||||
|
||||
echo '#' > pak5.txt
|
||||
|
||||
array=(
|
||||
https://github.com/comfyanonymous/ComfyUI/raw/refs/heads/master/requirements.txt
|
||||
https://github.com/Comfy-Org/ComfyUI-Manager/raw/refs/heads/main/requirements.txt
|
||||
# Performance
|
||||
https://github.com/openvino-dev-samples/comfyui_openvino/raw/refs/heads/main/requirements.txt
|
||||
https://github.com/welltop-cn/ComfyUI-TeaCache/raw/refs/heads/main/requirements.txt
|
||||
https://github.com/city96/ComfyUI-GGUF/raw/refs/heads/main/requirements.txt
|
||||
# Workspace
|
||||
https://github.com/crystian/ComfyUI-Crystools/raw/refs/heads/main/requirements.txt
|
||||
# General
|
||||
https://github.com/ltdrdata/was-node-suite-comfyui/raw/refs/heads/main/requirements.txt
|
||||
https://github.com/kijai/ComfyUI-KJNodes/raw/refs/heads/main/requirements.txt
|
||||
https://github.com/jags111/efficiency-nodes-comfyui/raw/refs/heads/main/requirements.txt
|
||||
https://github.com/yolain/ComfyUI-Easy-Use/raw/refs/heads/main/requirements.txt
|
||||
# Control
|
||||
https://github.com/ltdrdata/ComfyUI-Impact-Pack/raw/refs/heads/Main/requirements.txt
|
||||
https://github.com/ltdrdata/ComfyUI-Impact-Subpack/raw/refs/heads/main/requirements.txt
|
||||
https://github.com/ltdrdata/ComfyUI-Inspire-Pack/raw/refs/heads/main/requirements.txt
|
||||
https://github.com/Fannovel16/comfyui_controlnet_aux/raw/refs/heads/main/requirements.txt
|
||||
https://github.com/Gourieff/ComfyUI-ReActor/raw/refs/heads/main/requirements.txt
|
||||
https://github.com/huchenlei/ComfyUI-layerdiffuse/raw/refs/heads/main/requirements.txt
|
||||
https://github.com/kijai/ComfyUI-Florence2/raw/refs/heads/main/requirements.txt
|
||||
# Video
|
||||
https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite/raw/refs/heads/main/requirements.txt
|
||||
https://github.com/Fannovel16/ComfyUI-Frame-Interpolation/raw/refs/heads/main/requirements-no-cupy.txt
|
||||
https://github.com/melMass/comfy_mtb/raw/refs/heads/main/requirements.txt
|
||||
# Pending Removal
|
||||
https://github.com/cubiq/ComfyUI_essentials/raw/refs/heads/main/requirements.txt
|
||||
)
|
||||
|
||||
for line in "${array[@]}";
|
||||
do curl -w "\n" -sSL "${line}" >> pak5.txt
|
||||
done
|
||||
|
||||
sed -i '/^#/d' pak5.txt
|
||||
sed -i 's/[[:space:]]*$//' pak5.txt
|
||||
sed -i 's/>=.*$//' pak5.txt
|
||||
sed -i 's/_/-/g' pak5.txt
|
||||
|
||||
# Don't "sort foo.txt >foo.txt". See: https://stackoverflow.com/a/29244408
|
||||
sort -ufo pak5.txt pak5.txt
|
||||
|
||||
# Remove duplicate items, compare to pak3.txt
|
||||
grep -Fixv -f pak3.txt pak5.txt > temp.txt && mv temp.txt pak5.txt
|
||||
|
||||
echo "<pak5.txt> generated. Check before use."
|
||||
30
comfyui.xpu/builder-scripts/pak3.txt
Normal file
30
comfyui.xpu/builder-scripts/pak3.txt
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
accelerate
|
||||
compel
|
||||
diffusers
|
||||
fairscale
|
||||
ftfy
|
||||
gguf
|
||||
huggingface-hub[cli]
|
||||
imageio
|
||||
joblib
|
||||
kornia
|
||||
lark
|
||||
matplotlib
|
||||
omegaconf
|
||||
onnx
|
||||
opencv-contrib-python-headless
|
||||
pandas
|
||||
pilgram
|
||||
pillow
|
||||
protobuf
|
||||
pygit2
|
||||
python-ffmpeg
|
||||
regex
|
||||
scikit-build-core
|
||||
scikit-image
|
||||
scikit-learn
|
||||
scipy
|
||||
timm
|
||||
torchdiffeq
|
||||
torchmetrics
|
||||
transformers
|
||||
55
comfyui.xpu/builder-scripts/pak5.txt
Normal file
55
comfyui.xpu/builder-scripts/pak5.txt
Normal file
|
|
@ -0,0 +1,55 @@
|
|||
addict
|
||||
aiohttp
|
||||
albumentations
|
||||
alembic
|
||||
av
|
||||
cachetools
|
||||
chardet
|
||||
clip-interrogator
|
||||
color-matcher
|
||||
colour-science
|
||||
deepdiff
|
||||
dill
|
||||
einops
|
||||
filelock
|
||||
fvcore
|
||||
GitPython
|
||||
imageio-ffmpeg
|
||||
importlib-metadata
|
||||
mss
|
||||
numba
|
||||
peft
|
||||
piexif
|
||||
pixeloe
|
||||
psutil
|
||||
py-cpuinfo
|
||||
pydantic-settings
|
||||
pydantic
|
||||
PyGithub
|
||||
python-dateutil
|
||||
pyyaml
|
||||
qrcode[pil]
|
||||
rembg
|
||||
requirements-parser
|
||||
rich
|
||||
rich-argparse
|
||||
safetensors
|
||||
segment-anything
|
||||
sentencepiece
|
||||
simpleeval
|
||||
spandrel
|
||||
SQLAlchemy
|
||||
tokenizers
|
||||
toml
|
||||
torchsde
|
||||
tqdm
|
||||
transparent-background
|
||||
trimesh[easy]
|
||||
typer
|
||||
typing-extensions
|
||||
ultralytics
|
||||
uv
|
||||
webcolors
|
||||
yacs
|
||||
yapf
|
||||
yarl
|
||||
7
comfyui.xpu/builder-scripts/pak7.txt
Normal file
7
comfyui.xpu/builder-scripts/pak7.txt
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
dlib
|
||||
facexlib
|
||||
insightface
|
||||
git+https://github.com/facebookresearch/sam2.git
|
||||
git+https://github.com/ltdrdata/cstr.git
|
||||
git+https://github.com/ltdrdata/ffmpy.git
|
||||
git+https://github.com/ltdrdata/img2texture.git
|
||||
3
comfyui.xpu/builder-scripts/pak9.txt
Normal file
3
comfyui.xpu/builder-scripts/pak9.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
# https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/download.html
|
||||
onnxruntime
|
||||
onnxruntime-openvino
|
||||
6
comfyui.xpu/builder-scripts/pakA.txt
Normal file
6
comfyui.xpu/builder-scripts/pakA.txt
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
# https://www.intel.com/content/www/us/en/developer/tools/openvino-toolkit/download.html
|
||||
# https://github.com/openvino-dev-samples/comfyui_openvino/blob/main/requirements.txt
|
||||
--pre
|
||||
--extra-index-url https://storage.openvinotoolkit.org/simple/wheels/nightly
|
||||
openvino
|
||||
openvino-genai
|
||||
86
comfyui.xpu/builder-scripts/preload-cache.sh
Normal file
86
comfyui.xpu/builder-scripts/preload-cache.sh
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
gcs() {
|
||||
git clone --depth=1 --no-tags --recurse-submodules --shallow-submodules "$@"
|
||||
}
|
||||
|
||||
echo "########################################"
|
||||
echo "[INFO] Downloading ComfyUI & Nodes..."
|
||||
echo "########################################"
|
||||
|
||||
cd /default-comfyui-bundle
|
||||
git clone 'https://github.com/comfyanonymous/ComfyUI.git'
|
||||
cd /default-comfyui-bundle/ComfyUI
|
||||
# Using stable version (has a release tag)
|
||||
git reset --hard "$(git tag | grep -e '^v' | sort -V | tail -1)"
|
||||
|
||||
# Force ComfyUI-Manager to use PIP instead of UV
|
||||
mkdir -p /default-comfyui-bundle/ComfyUI/user/__manager
|
||||
|
||||
cat <<EOF > /default-comfyui-bundle/ComfyUI/user/__manager/config.ini
|
||||
[default]
|
||||
use_uv = False
|
||||
EOF
|
||||
|
||||
cd /default-comfyui-bundle/ComfyUI/custom_nodes
|
||||
|
||||
# Performance
|
||||
gcs https://github.com/openvino-dev-samples/comfyui_openvino.git
|
||||
gcs https://github.com/welltop-cn/ComfyUI-TeaCache.git
|
||||
gcs https://github.com/city96/ComfyUI-GGUF.git
|
||||
|
||||
# Workspace
|
||||
gcs https://github.com/crystian/ComfyUI-Crystools.git
|
||||
|
||||
# General
|
||||
gcs https://github.com/ltdrdata/was-node-suite-comfyui.git
|
||||
gcs https://github.com/kijai/ComfyUI-KJNodes.git
|
||||
gcs https://github.com/bash-j/mikey_nodes.git
|
||||
gcs https://github.com/chrisgoringe/cg-use-everywhere.git
|
||||
gcs https://github.com/jags111/efficiency-nodes-comfyui.git
|
||||
gcs https://github.com/pythongosssss/ComfyUI-Custom-Scripts.git
|
||||
gcs https://github.com/rgthree/rgthree-comfy.git
|
||||
gcs https://github.com/shiimizu/ComfyUI_smZNodes.git
|
||||
gcs https://github.com/yolain/ComfyUI-Easy-Use.git
|
||||
|
||||
# Control
|
||||
gcs https://github.com/ltdrdata/ComfyUI-Impact-Pack.git
|
||||
gcs https://github.com/ltdrdata/ComfyUI-Impact-Subpack.git
|
||||
gcs https://github.com/ltdrdata/ComfyUI-Inspire-Pack.git
|
||||
gcs https://github.com/Fannovel16/comfyui_controlnet_aux.git
|
||||
gcs https://github.com/florestefano1975/comfyui-portrait-master.git
|
||||
gcs https://github.com/huchenlei/ComfyUI-layerdiffuse.git
|
||||
gcs https://github.com/kijai/ComfyUI-Florence2.git
|
||||
gcs https://github.com/Kosinkadink/ComfyUI-Advanced-ControlNet.git
|
||||
gcs https://github.com/mcmonkeyprojects/sd-dynamic-thresholding.git
|
||||
gcs https://github.com/twri/sdxl_prompt_styler.git
|
||||
|
||||
# Video
|
||||
gcs https://github.com/Fannovel16/ComfyUI-Frame-Interpolation.git
|
||||
gcs https://github.com/Kosinkadink/ComfyUI-AnimateDiff-Evolved.git
|
||||
gcs https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite.git
|
||||
gcs https://github.com/melMass/comfy_mtb.git
|
||||
|
||||
# More
|
||||
gcs https://github.com/pythongosssss/ComfyUI-WD14-Tagger.git
|
||||
gcs https://github.com/SLAPaper/ComfyUI-Image-Selector.git
|
||||
gcs https://github.com/ssitu/ComfyUI_UltimateSDUpscale.git
|
||||
|
||||
# To be removed in future
|
||||
gcs https://github.com/cubiq/ComfyUI_essentials.git
|
||||
gcs https://github.com/Gourieff/ComfyUI-ReActor.git ComfyUI-ReActor.disabled
|
||||
|
||||
|
||||
echo "########################################"
|
||||
echo "[INFO] Downloading Models..."
|
||||
echo "########################################"
|
||||
|
||||
# VAE Models
|
||||
cd /default-comfyui-bundle/ComfyUI/models/vae
|
||||
|
||||
aria2c 'https://github.com/madebyollin/taesd/raw/refs/heads/main/taesdxl_decoder.pth'
|
||||
aria2c 'https://github.com/madebyollin/taesd/raw/refs/heads/main/taesd_decoder.pth'
|
||||
aria2c 'https://github.com/madebyollin/taesd/raw/refs/heads/main/taesd3_decoder.pth'
|
||||
aria2c 'https://github.com/madebyollin/taesd/raw/refs/heads/main/taef1_decoder.pth'
|
||||
Loading…
Add table
Add a link
Reference in a new issue