Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +23 -14
requirements.txt
CHANGED
|
@@ -1,34 +1,44 @@
|
|
|
|
|
| 1 |
torch==2.6.0
|
| 2 |
torchvision==0.21.0
|
| 3 |
torchdata==0.10.1
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
opencv-python>=4.9.0.80
|
| 6 |
diffusers>=0.31.0
|
| 7 |
-
transformers=
|
| 8 |
-
#transformers==4.46.3 # was needed by llamallava used by i2v hunyuan before patch
|
| 9 |
tokenizers>=0.20.3
|
| 10 |
accelerate>=1.1.1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
tqdm
|
| 12 |
imageio
|
| 13 |
easydict
|
| 14 |
ftfy
|
| 15 |
dashscope
|
| 16 |
imageio-ffmpeg
|
| 17 |
-
|
| 18 |
-
# flash_attn
|
| 19 |
-
flash-attn @ https://github.com/Dao-AILab/flash-attention/releases/download/v2.7.4.post1/flash_attn-2.7.4.post1+cu12torch2.6cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
|
| 20 |
-
|
| 21 |
-
gradio==5.33.0
|
| 22 |
-
numpy>=1.23.5,<2
|
| 23 |
einops
|
| 24 |
-
moviepy==1.0.3
|
| 25 |
-
mmgp==3.4.8
|
| 26 |
-
peft>=0.17.0
|
| 27 |
mutagen
|
| 28 |
-
pydantic>=2.10.6
|
| 29 |
decord
|
| 30 |
onnxruntime-gpu
|
| 31 |
-
rembg[gpu]==2.0.65
|
| 32 |
matplotlib
|
| 33 |
timm
|
| 34 |
segment-anything
|
|
@@ -38,4 +48,3 @@ librosa
|
|
| 38 |
loguru
|
| 39 |
sentencepiece
|
| 40 |
av
|
| 41 |
-
# rembg==2.0.65
|
|
|
|
| 1 |
+
# Torch suite strictly pinned to match the flash-attn wheel below
|
| 2 |
torch==2.6.0
|
| 3 |
torchvision==0.21.0
|
| 4 |
torchdata==0.10.1
|
| 5 |
|
| 6 |
+
# Pre-compiled Flash Attention (must match Python 3.10 and Torch 2.6)
|
| 7 |
+
flash-attn @ https://github.com/Dao-AILab/flash-attention/releases/download/v2.7.4.post1/flash_attn-2.7.4.post1+cu12torch2.6cxx11abiFALSE-cp310-cp310-linux_x86_64.whl
|
| 8 |
+
|
| 9 |
+
# Gradio strictly pinned to perfectly match your README.md sdk_version
|
| 10 |
+
gradio==5.33.0
|
| 11 |
+
|
| 12 |
+
# Core AI and processing libraries (loosened to >= to prevent pip resolution errors)
|
| 13 |
opencv-python>=4.9.0.80
|
| 14 |
diffusers>=0.31.0
|
| 15 |
+
transformers>=4.51.3
|
|
|
|
| 16 |
tokenizers>=0.20.3
|
| 17 |
accelerate>=1.1.1
|
| 18 |
+
peft>=0.17.0
|
| 19 |
+
mmgp>=3.4.8
|
| 20 |
+
rembg[gpu]>=2.0.65
|
| 21 |
+
|
| 22 |
+
# Prevent Numpy 2.x breaking changes
|
| 23 |
+
numpy>=1.23.5,<2
|
| 24 |
+
|
| 25 |
+
# Prevent MoviePy 2.x breaking changes (v2 completely changed the API)
|
| 26 |
+
moviepy==1.0.3
|
| 27 |
+
|
| 28 |
+
# Pydantic loosened to allow Gradio to use its preferred version
|
| 29 |
+
pydantic>=2.10.6
|
| 30 |
+
|
| 31 |
+
# Unpinned Image/Video/Audio utilities (pip will automatically find the best versions)
|
| 32 |
tqdm
|
| 33 |
imageio
|
| 34 |
easydict
|
| 35 |
ftfy
|
| 36 |
dashscope
|
| 37 |
imageio-ffmpeg
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 38 |
einops
|
|
|
|
|
|
|
|
|
|
| 39 |
mutagen
|
|
|
|
| 40 |
decord
|
| 41 |
onnxruntime-gpu
|
|
|
|
| 42 |
matplotlib
|
| 43 |
timm
|
| 44 |
segment-anything
|
|
|
|
| 48 |
loguru
|
| 49 |
sentencepiece
|
| 50 |
av
|
|
|