Spaces:
Sleeping
Sleeping
Update requirements.txt
Browse files- requirements.txt +10 -11
requirements.txt
CHANGED
|
@@ -1,13 +1,12 @@
|
|
| 1 |
# Core dependencies
|
| 2 |
torch>=2.0.0
|
| 3 |
-
transformers>=4.36.0
|
| 4 |
accelerate>=0.21.0
|
| 5 |
bitsandbytes>=0.41.0
|
| 6 |
sentencepiece>=0.1.99
|
| 7 |
protobuf>=3.20.0
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
|
| 12 |
# Multimodal processing
|
| 13 |
pillow>=9.5.0
|
|
@@ -21,18 +20,18 @@ gradio>=3.50.2
|
|
| 21 |
sentence-transformers>=2.2.2
|
| 22 |
faiss-cpu>=1.7.4
|
| 23 |
|
| 24 |
-
# Optional: use faiss with GPU (if CUDA available)
|
| 25 |
-
# faiss-gpu>=1.7.4
|
| 26 |
-
|
| 27 |
# Utilities
|
| 28 |
numpy>=1.24.0
|
| 29 |
scikit-learn>=1.2.2
|
| 30 |
tqdm>=4.65.0
|
|
|
|
|
|
|
| 31 |
huggingface-hub>=0.19.0
|
|
|
|
| 32 |
|
| 33 |
-
# Optional: improved image
|
| 34 |
torchvision>=0.15.0
|
| 35 |
|
| 36 |
-
#
|
| 37 |
-
|
| 38 |
-
|
|
|
|
| 1 |
# Core dependencies
|
| 2 |
torch>=2.0.0
|
|
|
|
| 3 |
accelerate>=0.21.0
|
| 4 |
bitsandbytes>=0.41.0
|
| 5 |
sentencepiece>=0.1.99
|
| 6 |
protobuf>=3.20.0
|
| 7 |
+
|
| 8 |
+
# Transformers from GitHub for Qwen2.5 support
|
| 9 |
+
git+https://github.com/huggingface/transformers.git
|
| 10 |
|
| 11 |
# Multimodal processing
|
| 12 |
pillow>=9.5.0
|
|
|
|
| 20 |
sentence-transformers>=2.2.2
|
| 21 |
faiss-cpu>=1.7.4
|
| 22 |
|
|
|
|
|
|
|
|
|
|
| 23 |
# Utilities
|
| 24 |
numpy>=1.24.0
|
| 25 |
scikit-learn>=1.2.2
|
| 26 |
tqdm>=4.65.0
|
| 27 |
+
|
| 28 |
+
# Compatibility for Hugging Face Spaces
|
| 29 |
huggingface-hub>=0.19.0
|
| 30 |
+
safetensors>=0.4.0
|
| 31 |
|
| 32 |
+
# Optional: improved image processing
|
| 33 |
torchvision>=0.15.0
|
| 34 |
|
| 35 |
+
# Qwen-specific dependencies
|
| 36 |
+
tiktoken>=0.4.0
|
| 37 |
+
einops>=0.6.1
|