Spaces:
Running
Running
Simplify requirements.txt to fix audiotools build issue
Browse files- Use original format from upstream project
- Remove complex version constraints that may cause conflicts
- Keep essential dependencies only
- Add backup requirements files for testing
- requirements.txt +31 -31
- requirements_simple.txt +49 -0
- requirements_v2.txt +52 -0
requirements.txt
CHANGED
|
@@ -1,52 +1,52 @@
|
|
| 1 |
-
# Core ML dependencies
|
| 2 |
-
torch>=2.0.0
|
| 3 |
-
torchvision>=0.15.0
|
| 4 |
-
torchaudio>=2.0.0
|
| 5 |
-
numpy
|
| 6 |
-
scipy
|
| 7 |
|
| 8 |
# Deep Learning frameworks
|
| 9 |
-
diffusers
|
| 10 |
-
timm
|
| 11 |
-
accelerate
|
| 12 |
|
| 13 |
-
# Transformers and NLP
|
| 14 |
transformers>=4.35.0,<4.50.0
|
| 15 |
-
sentencepiece
|
| 16 |
|
| 17 |
-
# Audio processing
|
| 18 |
-
|
| 19 |
|
| 20 |
# Video/Image processing
|
| 21 |
-
pillow
|
| 22 |
-
av
|
| 23 |
-
einops
|
| 24 |
|
| 25 |
# Configuration and utilities
|
| 26 |
-
pyyaml
|
| 27 |
-
omegaconf
|
| 28 |
-
easydict
|
| 29 |
-
loguru
|
| 30 |
-
tqdm
|
| 31 |
-
setuptools
|
| 32 |
|
| 33 |
# Data handling
|
| 34 |
-
pandas
|
| 35 |
-
pyarrow
|
| 36 |
|
| 37 |
-
# Web interface -
|
| 38 |
-
gradio>=4.0.0
|
| 39 |
|
| 40 |
# Network
|
| 41 |
-
urllib3>=1.26.0
|
| 42 |
|
| 43 |
# Hugging Face integration
|
| 44 |
huggingface_hub>=0.16.0
|
| 45 |
-
datasets
|
| 46 |
|
| 47 |
# Additional dependencies for stability
|
| 48 |
-
packaging
|
| 49 |
-
typing-extensions
|
| 50 |
|
| 51 |
# Optional: reduce memory usage
|
| 52 |
-
psutil
|
|
|
|
| 1 |
+
# Core ML dependencies
|
| 2 |
+
torch>=2.0.0
|
| 3 |
+
torchvision>=0.15.0
|
| 4 |
+
torchaudio>=2.0.0
|
| 5 |
+
numpy==1.26.4
|
| 6 |
+
scipy
|
| 7 |
|
| 8 |
# Deep Learning frameworks
|
| 9 |
+
diffusers
|
| 10 |
+
timm
|
| 11 |
+
accelerate
|
| 12 |
|
| 13 |
+
# Transformers and NLP
|
| 14 |
transformers>=4.35.0,<4.50.0
|
| 15 |
+
sentencepiece
|
| 16 |
|
| 17 |
+
# Audio processing
|
| 18 |
+
git+https://github.com/descriptinc/audiotools
|
| 19 |
|
| 20 |
# Video/Image processing
|
| 21 |
+
pillow
|
| 22 |
+
av
|
| 23 |
+
einops
|
| 24 |
|
| 25 |
# Configuration and utilities
|
| 26 |
+
pyyaml
|
| 27 |
+
omegaconf
|
| 28 |
+
easydict
|
| 29 |
+
loguru
|
| 30 |
+
tqdm
|
| 31 |
+
setuptools
|
| 32 |
|
| 33 |
# Data handling
|
| 34 |
+
pandas
|
| 35 |
+
pyarrow
|
| 36 |
|
| 37 |
+
# Web interface - update for compatibility
|
| 38 |
+
gradio>=4.0.0
|
| 39 |
|
| 40 |
# Network
|
| 41 |
+
urllib3>=1.26.0
|
| 42 |
|
| 43 |
# Hugging Face integration
|
| 44 |
huggingface_hub>=0.16.0
|
| 45 |
+
datasets
|
| 46 |
|
| 47 |
# Additional dependencies for stability
|
| 48 |
+
packaging
|
| 49 |
+
typing-extensions
|
| 50 |
|
| 51 |
# Optional: reduce memory usage
|
| 52 |
+
psutil
|
requirements_simple.txt
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Simplified requirements for Hugging Face Spaces CPU deployment
|
| 2 |
+
torch>=2.0.0,<2.3.0
|
| 3 |
+
torchvision>=0.15.0,<0.18.0
|
| 4 |
+
torchaudio>=2.0.0,<2.3.0
|
| 5 |
+
numpy>=1.21.0,<1.27.0
|
| 6 |
+
scipy>=1.7.0
|
| 7 |
+
|
| 8 |
+
# Core dependencies
|
| 9 |
+
diffusers>=0.24.0
|
| 10 |
+
timm>=0.9.0
|
| 11 |
+
accelerate>=0.20.0
|
| 12 |
+
transformers>=4.35.0,<4.50.0
|
| 13 |
+
sentencepiece>=0.1.99
|
| 14 |
+
|
| 15 |
+
# Audio processing - try to install from PyPI first
|
| 16 |
+
# Note: descript-audiotools might need manual installation
|
| 17 |
+
# pip install git+https://github.com/descriptinc/audiotools.git
|
| 18 |
+
|
| 19 |
+
# Video/Image processing
|
| 20 |
+
pillow>=8.3.0
|
| 21 |
+
av>=10.0.0
|
| 22 |
+
einops>=0.6.0
|
| 23 |
+
|
| 24 |
+
# Configuration and utilities
|
| 25 |
+
pyyaml>=6.0
|
| 26 |
+
omegaconf>=2.3.0
|
| 27 |
+
easydict>=1.9.0
|
| 28 |
+
loguru>=0.6.0
|
| 29 |
+
tqdm>=4.64.0
|
| 30 |
+
setuptools>=65.0.0
|
| 31 |
+
|
| 32 |
+
# Data handling
|
| 33 |
+
pandas>=1.3.0
|
| 34 |
+
pyarrow>=10.0.0
|
| 35 |
+
|
| 36 |
+
# Web interface
|
| 37 |
+
gradio>=4.0.0,<5.0.0
|
| 38 |
+
|
| 39 |
+
# Network
|
| 40 |
+
urllib3>=1.26.0,<3.0.0
|
| 41 |
+
|
| 42 |
+
# Hugging Face integration
|
| 43 |
+
huggingface_hub>=0.16.0
|
| 44 |
+
datasets>=2.14.0
|
| 45 |
+
|
| 46 |
+
# Additional dependencies
|
| 47 |
+
packaging>=21.0
|
| 48 |
+
typing-extensions>=4.0.0
|
| 49 |
+
psutil>=5.8.0
|
requirements_v2.txt
ADDED
|
@@ -0,0 +1,52 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Core ML dependencies
|
| 2 |
+
torch>=2.0.0
|
| 3 |
+
torchvision>=0.15.0
|
| 4 |
+
torchaudio>=2.0.0
|
| 5 |
+
numpy==1.26.4
|
| 6 |
+
scipy
|
| 7 |
+
|
| 8 |
+
# Deep Learning frameworks
|
| 9 |
+
diffusers
|
| 10 |
+
timm
|
| 11 |
+
accelerate
|
| 12 |
+
|
| 13 |
+
# Transformers and NLP
|
| 14 |
+
transformers>=4.35.0,<4.50.0
|
| 15 |
+
sentencepiece
|
| 16 |
+
|
| 17 |
+
# Audio processing
|
| 18 |
+
git+https://github.com/descriptinc/audiotools
|
| 19 |
+
|
| 20 |
+
# Video/Image processing
|
| 21 |
+
pillow
|
| 22 |
+
av
|
| 23 |
+
einops
|
| 24 |
+
|
| 25 |
+
# Configuration and utilities
|
| 26 |
+
pyyaml
|
| 27 |
+
omegaconf
|
| 28 |
+
easydict
|
| 29 |
+
loguru
|
| 30 |
+
tqdm
|
| 31 |
+
setuptools
|
| 32 |
+
|
| 33 |
+
# Data handling
|
| 34 |
+
pandas
|
| 35 |
+
pyarrow
|
| 36 |
+
|
| 37 |
+
# Web interface - update for compatibility
|
| 38 |
+
gradio>=4.0.0
|
| 39 |
+
|
| 40 |
+
# Network
|
| 41 |
+
urllib3>=1.26.0
|
| 42 |
+
|
| 43 |
+
# Hugging Face integration
|
| 44 |
+
huggingface_hub>=0.16.0
|
| 45 |
+
datasets
|
| 46 |
+
|
| 47 |
+
# Additional dependencies for stability
|
| 48 |
+
packaging
|
| 49 |
+
typing-extensions
|
| 50 |
+
|
| 51 |
+
# Optional: reduce memory usage
|
| 52 |
+
psutil
|