-
-
Notifications
You must be signed in to change notification settings - Fork 110
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
258 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
#!/bin/bash | ||
set -eu | ||
|
||
echo '#' > pak5.txt | ||
|
||
array=( | ||
https://github.com/comfyanonymous/ComfyUI/raw/refs/heads/master/requirements.txt | ||
https://github.com/MrForExample/ComfyUI-3D-Pack/raw/b015ed3918d6916ff2a2ee230beafe2169a5de51/requirements.txt | ||
https://github.com/edenartlab/eden_comfy_pipelines/raw/refs/heads/main/requirements.txt | ||
https://github.com/kijai/ComfyUI-KJNodes/raw/refs/heads/main/requirements.txt | ||
https://github.com/Kosinkadink/ComfyUI-VideoHelperSuite/raw/refs/heads/main/requirements.txt | ||
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/ltdrdata/ComfyUI-Manager/raw/refs/heads/main/requirements.txt | ||
https://github.com/WASasquatch/was-node-suite-comfyui/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." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
accelerate | ||
diffusers | ||
ftfy | ||
huggingface-hub[hf-transfer] | ||
imageio | ||
joblib | ||
kornia | ||
matplotlib | ||
onnx | ||
onnxruntime-gpu | ||
opencv-contrib-python-headless | ||
pandas | ||
pillow | ||
pygit2 | ||
python-ffmpeg | ||
regex | ||
scikit-build-core | ||
scikit-image | ||
scikit-learn | ||
scipy | ||
timm | ||
torchmetrics | ||
transformers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
aiohttp | ||
cachetools | ||
clip-interrogator==0.6.0 | ||
color-matcher | ||
dill | ||
einops | ||
fairscale | ||
GitPython | ||
gpytoolbox | ||
imageio-ffmpeg | ||
iopath | ||
jaxtyping | ||
libigl | ||
matrix-client==0.4.0 | ||
mss | ||
nerfacc | ||
ninja | ||
numba | ||
OmegaConf | ||
open-clip-torch | ||
openai | ||
packaging | ||
peft | ||
piexif | ||
pilgram | ||
plyfile | ||
psutil | ||
PyGithub | ||
pygltflib | ||
pyhocon | ||
PyMCubes | ||
pymeshlab | ||
python-dotenv | ||
pytorch-lightning | ||
pytorch-msssim | ||
pyyaml | ||
rembg | ||
requests | ||
rich | ||
safetensors | ||
segment-anything | ||
sentencepiece | ||
slangtorch | ||
soundfile | ||
spandrel | ||
tokenizers | ||
torchsde | ||
torchtyping | ||
tqdm | ||
trimesh | ||
typer | ||
typing-extensions | ||
ultralytics | ||
webcolors | ||
xatlas |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
dlib | ||
insightface | ||
git+https://github.com/openai/CLIP.git | ||
git+https://github.com/WASasquatch/cstr | ||
git+https://github.com/WASasquatch/ffmpy.git | ||
git+https://github.com/WASasquatch/img2texture.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
https://github.com/YanWenKun/ComfyUI-3D-Pack-LinuxWheels/releases/download/v5.1/pointnet2_ops-3.0.0-cp312-cp312-linux_x86_64.whl | ||
https://github.com/YanWenKun/ComfyUI-3D-Pack-LinuxWheels/releases/download/v5.1/simple_knn-0.0.0-cp312-cp312-linux_x86_64.whl | ||
https://github.com/YanWenKun/ComfyUI-3D-Pack-LinuxWheels/releases/download/v5.1/diff_gaussian_rasterization-0.0.0-cp312-cp312-linux_x86_64.whl | ||
https://github.com/YanWenKun/ComfyUI-3D-Pack-LinuxWheels/releases/download/v5.1/kiui-0.2.14-py3-none-any.whl | ||
https://github.com/YanWenKun/ComfyUI-3D-Pack-LinuxWheels/releases/download/v5.1/nvdiffrast-0.3.3-py3-none-any.whl | ||
https://github.com/YanWenKun/ComfyUI-3D-Pack-LinuxWheels/releases/download/v5.1/pytorch3d-0.7.8-cp312-cp312-linux_x86_64.whl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# https://pip.pypa.io/en/stable/reference/requirements-file-format/ | ||
# https://github.com/rusty1s/pytorch_scatter?tab=readme-ov-file#binaries | ||
--find-links https://data.pyg.org/whl/torch-2.5.1%2Bcu124.html | ||
torch-scatter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
numpy==1.26.4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
#!/bin/bash | ||
|
||
set -euo pipefail | ||
|
||
echo "########################################" | ||
echo "[INFO] Building Dependencies for 3D-Pack..." | ||
echo "########################################" | ||
|
||
cd /root | ||
|
||
if [ -z "${CMAKE_ARGS}" ]; then | ||
export CMAKE_ARGS='-DBUILD_opencv_world=ON -DWITH_CUDA=ON -DCUDA_FAST_MATH=ON -DWITH_CUBLAS=ON -DWITH_NVCUVID=ON' | ||
fi ; | ||
|
||
# Compile PyTorch3D first | ||
pip install --force-reinstall \ | ||
"git+https://github.com/facebookresearch/pytorch3d.git" | ||
|
||
# Compile libs in Comfy3D_Pre_Builds | ||
aria2c \ | ||
https://github.com/MrForExample/Comfy3D_Pre_Builds/archive/refs/heads/main.zip \ | ||
-d /tmp \ | ||
-o Comfy3D_Pre_Builds-main.zip ; | ||
unzip -q /tmp/Comfy3D_Pre_Builds-main.zip -d /tmp ; | ||
rm /tmp/Comfy3D_Pre_Builds-main.zip ; | ||
|
||
cd /tmp/Comfy3D_Pre_Builds-main/_Libs | ||
for D in *; do | ||
if [ -d "${D}" ] ; then | ||
pip install --force-reinstall "${D}" | ||
fi | ||
done | ||
|
||
# Compile other deps, using latest | ||
cd /root | ||
|
||
pip install --force-reinstall \ | ||
"git+https://github.com/ashawkey/diff-gaussian-rasterization.git" | ||
|
||
pip install --force-reinstall \ | ||
"git+https://github.com/ashawkey/kiuikit.git" | ||
|
||
pip install --force-reinstall \ | ||
"git+https://github.com/NVlabs/nvdiffrast.git" | ||
|
||
# Ensure Numpy1 | ||
pip install numpy==1.26.4 | ||
|
||
# Finish | ||
touch /root/.build-complete |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters