Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +24 -27
requirements.txt
CHANGED
|
@@ -1,32 +1,29 @@
|
|
| 1 |
-
#
|
| 2 |
-
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
gradio==5.33.2
|
| 14 |
|
| 15 |
-
# Image processing
|
| 16 |
-
pillow==10.0.1
|
| 17 |
-
|
| 18 |
-
# Essential utilities
|
| 19 |
-
numpy==1.24.3
|
| 20 |
-
requests==2.31.0
|
| 21 |
-
|
| 22 |
# Hugging Face Spaces support
|
| 23 |
-
spaces==0.
|
| 24 |
|
| 25 |
-
#
|
| 26 |
-
|
| 27 |
-
# sentence-transformers==2.2.2
|
| 28 |
-
# flash_attn # Optional, can work without it
|
| 29 |
|
| 30 |
-
#
|
| 31 |
-
# logging
|
| 32 |
-
# typing-extensions
|
|
|
|
| 1 |
+
# BAGEL 7B dependencies - Exact from working implementation
|
| 2 |
+
decord==0.6.0
|
| 3 |
+
einops==0.8.1
|
| 4 |
+
huggingface_hub==0.29.1
|
| 5 |
+
matplotlib==3.7.0
|
| 6 |
+
numpy==1.24.4
|
| 7 |
+
opencv_python==4.7.0.72
|
| 8 |
+
pyarrow==11.0.0
|
| 9 |
+
PyYAML==6.0.2
|
| 10 |
+
requests==2.32.3
|
| 11 |
+
safetensors==0.4.5
|
| 12 |
+
scipy==1.10.1
|
| 13 |
+
sentencepiece==0.1.99
|
| 14 |
+
torch==2.5.1
|
| 15 |
+
torchvision==0.20.1
|
| 16 |
+
transformers==4.49.0
|
| 17 |
+
accelerate>=0.34.0
|
| 18 |
+
wandb
|
| 19 |
+
|
| 20 |
+
# Gradio UI framework
|
| 21 |
gradio==5.33.2
|
| 22 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 23 |
# Hugging Face Spaces support
|
| 24 |
+
spaces==0.37.0
|
| 25 |
|
| 26 |
+
# Image processing
|
| 27 |
+
pillow==10.0.1
|
|
|
|
|
|
|
| 28 |
|
| 29 |
+
# Flash attention will be installed dynamically in app.py
|
|
|
|
|
|