Spaces:
Sleeping
Sleeping
mystic_CBK
commited on
Commit
·
b7bda95
1
Parent(s):
38203fc
CRITICAL FIX: Update OmegaConf to 2.0.0 (has is_primitive_type) for fairseq-signals compatibility
Browse files
requirements_hf_spaces.txt
CHANGED
|
@@ -17,7 +17,7 @@ torch==1.13.1
|
|
| 17 |
torchvision==0.14.1
|
| 18 |
torchaudio==0.13.1
|
| 19 |
|
| 20 |
-
# omegaconf - Version that has is_primitive_type
|
| 21 |
-
omegaconf==2.
|
| 22 |
|
| 23 |
# fairseq-signals will be installed from source in Dockerfile
|
|
|
|
| 17 |
torchvision==0.14.1
|
| 18 |
torchaudio==0.13.1
|
| 19 |
|
| 20 |
+
# omegaconf - Version that has is_primitive_type (CRITICAL!)
|
| 21 |
+
omegaconf==2.0.0
|
| 22 |
|
| 23 |
# fairseq-signals will be installed from source in Dockerfile
|
requirements_hf_spaces_py39.txt
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# HF Spaces Requirements - Python 3.9 Compatible
|
| 2 |
+
# These versions work on HF Spaces with Python 3.9
|
| 3 |
+
|
| 4 |
+
# Core dependencies
|
| 5 |
+
fastapi==0.104.1
|
| 6 |
+
uvicorn[standard]==0.24.0
|
| 7 |
+
huggingface-hub==0.19.4
|
| 8 |
+
pyyaml==6.0.1
|
| 9 |
+
einops==0.7.0
|
| 10 |
+
|
| 11 |
+
# PyTorch 1.13.x - Compatible with Python 3.9 and NumPy 1.24
|
| 12 |
+
torch==1.13.1
|
| 13 |
+
torchvision==0.14.1
|
| 14 |
+
torchaudio==0.13.1
|
| 15 |
+
|
| 16 |
+
# NumPy 1.24.x - Compatible with PyTorch 1.13.x
|
| 17 |
+
numpy==1.24.3
|
| 18 |
+
|
| 19 |
+
# OmegaConf - Version that has is_primitive_type (CRITICAL!)
|
| 20 |
+
omegaconf==2.0.0
|
| 21 |
+
|
| 22 |
+
# Transformers - Compatible version
|
| 23 |
+
transformers==4.21.0
|
| 24 |
+
|
| 25 |
+
# fairseq-signals will be installed from source in Dockerfile
|