Malaji71 commited on
Commit
8723d89
·
verified ·
1 Parent(s): 5750f01

Update requirements.txt

Browse files
Files changed (1) hide show
  1. requirements.txt +24 -27
requirements.txt CHANGED
@@ -1,32 +1,29 @@
1
- # Core ML frameworks - Standard versions for ZeroGPU compatibility
2
- torch==2.1.0
3
- torchvision==0.16.0
4
-
5
- # Transformers for Florence-2 model
6
- transformers==4.44.0
7
-
8
- # Florence-2 dependencies
9
- einops==0.8.0
10
- timm==1.0.3
11
-
12
- # Gradio UI framework
 
 
 
 
 
 
 
 
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.19.4
24
 
25
- # Optional accelerations (commented out to avoid conflicts)
26
- # accelerate==0.24.1
27
- # sentence-transformers==2.2.2
28
- # flash_attn # Optional, can work without it
29
 
30
- # Development and debugging (optional)
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