Add explicit Python requirements

This commit is contained in:
aimfordeb
2026-04-22 04:31:41 +03:00
parent 44b1f46ce3
commit a7e8a193cb
2 changed files with 21 additions and 2 deletions
+13 -2
View File
@@ -15,9 +15,20 @@ FunPack is available on Comfy Registry and can be installed in any of these ways
## Dependencies
The main FunPack nodes rely only on packages that already come with ComfyUI, so no extra installation is normally required.
FunPack now includes a [`requirements.txt`](requirements.txt) file for the Python packages it expects outside the standard library.
`hpsv3` is an optional dependency used by the `FunPack StoryMem Keyframe Extractor` quality filter, so it is not included in the default requirements.
Install them with:
`pip install -r requirements.txt`
The requirements file uses the CUDA 12.9 PyTorch wheel index and requires:
- `torch >= 2.8.0`
- `transformers >= 5.0.0`
Higher Torch versions are fine. The important part is avoiding older Torch releases that may break FunPack workflows.
`hpsv3` is still an optional dependency used only by the `FunPack StoryMem Keyframe Extractor` quality filter, so it is not included in the default requirements.
Install it manually only if you need that feature:
+8
View File
@@ -0,0 +1,8 @@
--extra-index-url https://download.pytorch.org/whl/cu129
torch>=2.8.0
transformers>=5.0.0
huggingface_hub
safetensors
numpy
Pillow