Spaces:
Runtime error
Runtime error
Update requirements.txt
Browse files- requirements.txt +27 -27
requirements.txt
CHANGED
@@ -3,46 +3,46 @@
|
|
3 |
|
4 |
# Core dependencies
|
5 |
gradio
|
6 |
-
torch
|
7 |
-
torchvision
|
8 |
-
transformers
|
9 |
-
timm
|
10 |
-
accelerate
|
11 |
-
bitsandbytes
|
12 |
|
13 |
# HuggingFace ecosystem
|
14 |
-
huggingface-hub
|
15 |
-
tokenizers
|
16 |
-
datasets
|
17 |
-
safetensors
|
18 |
|
19 |
# Image processing
|
20 |
-
Pillow
|
21 |
-
opencv-python
|
22 |
-
numpy
|
23 |
|
24 |
# PDF processing
|
25 |
-
PyMuPDF
|
26 |
|
27 |
# RAG and embeddings
|
28 |
-
sentence-transformers
|
29 |
-
scikit-learn
|
30 |
-
faiss-cpu
|
31 |
|
32 |
# Text processing and markdown
|
33 |
-
markdown
|
34 |
-
|
35 |
|
36 |
# Utilities
|
37 |
-
tqdm
|
38 |
-
requests
|
39 |
-
packaging
|
40 |
-
pyyaml
|
41 |
|
42 |
# Optional but recommended for better performance
|
43 |
-
flash-attn
|
44 |
-
xformers
|
45 |
|
46 |
# Development and debugging
|
47 |
-
ipython
|
48 |
-
jupyter
|
|
|
3 |
|
4 |
# Core dependencies
|
5 |
gradio
|
6 |
+
torch>=2.0.0
|
7 |
+
torchvision>=0.15.0
|
8 |
+
transformers>=4.53.0
|
9 |
+
timm>=1.0.16
|
10 |
+
accelerate>=0.20.0
|
11 |
+
bitsandbytes>=0.41.0
|
12 |
|
13 |
# HuggingFace ecosystem
|
14 |
+
huggingface-hub>=0.17.0
|
15 |
+
tokenizers>=0.15.0
|
16 |
+
datasets>=2.14.0
|
17 |
+
safetensors>=0.3.0
|
18 |
|
19 |
# Image processing
|
20 |
+
Pillow>=10.0.0
|
21 |
+
opencv-python>=4.8.0
|
22 |
+
numpy>=1.24.0
|
23 |
|
24 |
# PDF processing
|
25 |
+
PyMuPDF>=1.23.0
|
26 |
|
27 |
# RAG and embeddings
|
28 |
+
sentence-transformers>=2.2.0
|
29 |
+
scikit-learn>=1.3.0
|
30 |
+
faiss-cpu>=1.7.4
|
31 |
|
32 |
# Text processing and markdown
|
33 |
+
markdown>=3.5.0
|
34 |
+
python-markdown-math>=0.8
|
35 |
|
36 |
# Utilities
|
37 |
+
tqdm>=4.66.0
|
38 |
+
requests>=2.31.0
|
39 |
+
packaging>=23.0
|
40 |
+
pyyaml>=6.0
|
41 |
|
42 |
# Optional but recommended for better performance
|
43 |
+
flash-attn>=2.0.0; platform_system != "Darwin"
|
44 |
+
xformers>=0.0.22; platform_system != "Darwin"
|
45 |
|
46 |
# Development and debugging
|
47 |
+
ipython>=8.0.0
|
48 |
+
jupyter>=1.0.0
|