Update requirements.txt
Browse files- requirements.txt +5 -5
requirements.txt
CHANGED
|
@@ -1,18 +1,18 @@
|
|
| 1 |
-
#
|
| 2 |
numpy==1.26.4
|
| 3 |
|
| 4 |
-
#
|
| 5 |
-
gradio==
|
| 6 |
datasets==2.19.1
|
| 7 |
sentence-transformers==2.7.0
|
| 8 |
|
| 9 |
-
# HF stack
|
| 10 |
transformers==4.41.2
|
| 11 |
tokenizers==0.19.1
|
| 12 |
safetensors==0.4.3
|
| 13 |
accelerate==0.31.0
|
| 14 |
|
| 15 |
-
# PyTorch CPU
|
| 16 |
torch==2.2.2
|
| 17 |
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 18 |
|
|
|
|
| 1 |
+
# Pin NumPy to avoid ABI crashes with PyTorch / ST
|
| 2 |
numpy==1.26.4
|
| 3 |
|
| 4 |
+
# Core app
|
| 5 |
+
gradio==5.42.0
|
| 6 |
datasets==2.19.1
|
| 7 |
sentence-transformers==2.7.0
|
| 8 |
|
| 9 |
+
# HF stack (version-matched)
|
| 10 |
transformers==4.41.2
|
| 11 |
tokenizers==0.19.1
|
| 12 |
safetensors==0.4.3
|
| 13 |
accelerate==0.31.0
|
| 14 |
|
| 15 |
+
# PyTorch CPU wheels
|
| 16 |
torch==2.2.2
|
| 17 |
--extra-index-url https://download.pytorch.org/whl/cpu
|
| 18 |
|