Inline ComfyUI deps (fix -r build error)
Browse files- requirements.txt +51 -15
requirements.txt
CHANGED
|
@@ -1,28 +1,64 @@
|
|
| 1 |
# ββ Core app + LLM (transformers backend on ZeroGPU) ββββββββββββββββββ
|
| 2 |
-
torch
|
| 3 |
transformers>=4.56
|
| 4 |
accelerate
|
| 5 |
bitsandbytes
|
| 6 |
spaces
|
| 7 |
requests
|
| 8 |
pillow
|
| 9 |
-
numpy
|
| 10 |
huggingface_hub[hf_transfer]
|
| 11 |
gradio==6.16.0
|
| 12 |
|
| 13 |
-
# ββ In-process ComfyUI (embed transport, ZeroGPU
|
| 14 |
-
# ComfyUI +
|
| 15 |
-
#
|
| 16 |
-
#
|
| 17 |
-
#
|
| 18 |
-
#
|
| 19 |
-
#
|
| 20 |
-
#
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
| 24 |
-
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 25 |
|
| 26 |
-
# Background removal for alpha sprites
|
| 27 |
rembg[cpu]
|
| 28 |
onnxruntime
|
|
|
|
| 1 |
# ββ Core app + LLM (transformers backend on ZeroGPU) ββββββββββββββββββ
|
|
|
|
| 2 |
transformers>=4.56
|
| 3 |
accelerate
|
| 4 |
bitsandbytes
|
| 5 |
spaces
|
| 6 |
requests
|
| 7 |
pillow
|
| 8 |
+
numpy>=1.25.0
|
| 9 |
huggingface_hub[hf_transfer]
|
| 10 |
gradio==6.16.0
|
| 11 |
|
| 12 |
+
# ββ In-process ComfyUI (embed transport, ZeroGPU) βββββββββββββββββββββ
|
| 13 |
+
# ComfyUI + custom-node deps INLINED here, not `-r third_party/...`: HF's
|
| 14 |
+
# gradio build installs requirements.txt in isolation (the repo isn't mounted
|
| 15 |
+
# yet), so relative -r includes can't resolve. Versions track ComfyUI commit
|
| 16 |
+
# b6332446 + the pinned custom nodes. torch itself is provided by the Space
|
| 17 |
+
# base image (build appends torch<=2.11.0); we only add the siblings. SAM2
|
| 18 |
+
# (git+facebookresearch/sam2) is intentionally omitted β the pipeline uses SAM
|
| 19 |
+
# ViT-B via SAMLoader, validated without SAM2; and PyOpenGL/glfw (GLSL nodes,
|
| 20 |
+
# unused, need system GL) are omitted to keep the headless build clean.
|
| 21 |
+
# ComfyUI core
|
| 22 |
+
comfyui-frontend-package==1.42.15
|
| 23 |
+
comfyui-workflow-templates==0.9.63
|
| 24 |
+
comfyui-embedded-docs==0.4.4
|
| 25 |
+
torchsde
|
| 26 |
+
torchvision
|
| 27 |
+
torchaudio
|
| 28 |
+
einops
|
| 29 |
+
tokenizers>=0.13.3
|
| 30 |
+
sentencepiece
|
| 31 |
+
safetensors>=0.4.2
|
| 32 |
+
aiohttp>=3.11.8
|
| 33 |
+
yarl>=1.18.0
|
| 34 |
+
pyyaml
|
| 35 |
+
scipy
|
| 36 |
+
tqdm
|
| 37 |
+
psutil
|
| 38 |
+
alembic
|
| 39 |
+
SQLAlchemy>=2.0.0
|
| 40 |
+
filelock
|
| 41 |
+
av>=14.2.0
|
| 42 |
+
comfy-kitchen>=0.2.8
|
| 43 |
+
comfy-aimdo==0.3.0
|
| 44 |
+
simpleeval>=1.0.0
|
| 45 |
+
blake3
|
| 46 |
+
kornia>=0.7.1
|
| 47 |
+
spandrel
|
| 48 |
+
pydantic~=2.0
|
| 49 |
+
pydantic-settings~=2.0
|
| 50 |
+
# ComfyUI-GGUF (Anima UNET loader)
|
| 51 |
+
gguf>=0.13.0
|
| 52 |
+
protobuf
|
| 53 |
+
# Impact-Pack + Impact-Subpack (face gate, FaceDetailer, SAM, YOLO)
|
| 54 |
+
segment-anything
|
| 55 |
+
scikit-image
|
| 56 |
+
piexif
|
| 57 |
+
opencv-python-headless
|
| 58 |
+
dill
|
| 59 |
+
matplotlib
|
| 60 |
+
ultralytics>=8.3.162
|
| 61 |
|
| 62 |
+
# ββ Background removal for alpha sprites ββββββββββββββββββββββββββββββ
|
| 63 |
rembg[cpu]
|
| 64 |
onnxruntime
|