[M] Migrate to poetry for modern dependency management

This commit is contained in:
2023-10-11 18:39:53 -04:00
parent 583928827d
commit 81cc62ef32
3 changed files with 1782 additions and 16 deletions
Generated
+1754
View File
File diff suppressed because it is too large Load Diff
+28
View File
@@ -0,0 +1,28 @@
[tool.poetry]
name = "msclap"
version = "1.3.0"
description = "CLAP (Contrastive Language-Audio Pretraining) is a model that learns acoustic concepts from natural language supervision and enables “Zero-Shot” inference. The model has been extensively evaluated in 26 audio downstream tasks achieving SoTA in several of them including classification, retrieval, and captioning."
authors = ["Benjamin Elizalde and Soham Deshmukh and Huaming Wang"]
license = "MIT"
readme = "README.md"
[tool.poetry.dependencies]
python = "^3.9"
librosa = "^0.10.1"
numpy = ">=1.25.0,<1.26.0"
numba = ">=0.58.0,<0.59.0"
pandas = ">=2.0.0,<2.1.0"
torch = "^2.1.0"
torchaudio = "^2.1.0"
torchlibrosa = "^0.1.0"
torchvision = "^0.16.0"
tqdm = "^4.66.1"
transformers = "^4.34.0"
pyyaml = "^6.0.1"
scikit-learn = "^1.3.1"
importlib-resources = ">=5.12.0,<5.13.0"
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"
-16
View File
@@ -1,16 +0,0 @@
huggingface-hub~=0.12.1
importlib-resources~=5.12.0
# joblib~=1.2.0
librosa~=0.10.1
numba~=0.58.0
numpy~=1.25.0
pandas~=2.1.1
PyYAML~=6.0
scikit-learn~=1.2.1
setuptools~=65.6.3
torch~=2.1.0
torchaudio~=2.1.0
torchlibrosa~=0.1.0
torchvision~=0.16.0
tqdm~=4.64.1
transformers~=4.26.1