-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
108 lines (99 loc) · 2.74 KB
/
pyproject.toml
File metadata and controls
108 lines (99 loc) · 2.74 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
[project]
name = "case-benchmark"
version = "1.0.0"
description = "CASE Benchmark: Carrier-Agnostic Speaker Verification Evaluation"
readme = "README.md"
license = { text = "MIT" }
authors = [
{ name = "Ben Gitter", email = "Gitterbd@gmail.com" }
]
keywords = [
"speaker-verification",
"speaker-recognition",
"benchmark",
"audio",
"deep-learning",
"evaluation"
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
requires-python = ">=3.10"
dependencies = [
"numpy>=1.24.0",
"scipy>=1.10.0",
"scikit-learn>=1.2.0",
"soundfile>=0.12.0",
"torchaudio>=2.0.0",
"torch>=2.0.0",
"tqdm>=4.65.0",
"rich>=13.0.0",
"huggingface-hub>=0.30.0,<1.0",
"requests>=2.32.5",
]
[project.optional-dependencies]
# Model-specific dependencies (install based on what you want to evaluate)
# Note: Version constraints ensure compatibility with torch/torchaudio
speechbrain = ["speechbrain>=1.0.0,<1.1.0"]
wespeaker = ["wespeakerruntime>=1.0.0"]
wespeaker-gpu = ["wespeakerruntime>=1.0.0", "onnxruntime-gpu>=1.16.0"]
pyannote = ["pyannote.audio>=3.3.0"]
nemo = ["nemo_toolkit[asr]>=1.20.0"]
resemblyzer = ["resemblyzer>=0.1.1"]
case-hf = ["transformers>=4.30.0"]
all-models = [
"speechbrain>=1.0.0,<1.1.0",
"wespeakerruntime>=1.0.0",
"pyannote.audio>=3.0.0,<3.4.0",
"nemo_toolkit[asr]>=1.20.0",
"resemblyzer>=0.1.1",
"transformers>=4.30.0",
]
# GPU support - install onnxruntime-gpu AFTER wespeakerruntime to avoid conflicts
gpu = ["onnxruntime-gpu>=1.16.0"]
dev = [
"pytest>=7.0.0",
"pytest-cov>=4.0.0",
"ruff>=0.1.0",
]
[project.scripts]
case-benchmark = "case_benchmark.cli:main"
[project.urls]
Homepage = "https://case-benchmark.github.io"
Documentation = "https://case-benchmark.github.io/docs"
Repository = "https://github.com/gittb/case-benchmark"
Issues = "https://github.com/gittb/case-benchmark/issues"
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.hatch.build.targets.sdist]
exclude = [
"benchmark/",
"results/",
"scripts/",
"docs/",
"examples/",
"website/",
"tests/",
"personal_notes.txt",
".claude/",
]
[tool.hatch.build.targets.wheel]
packages = ["case_benchmark"]
[tool.ruff]
line-length = 100
target-version = "py310"
[tool.ruff.lint]
select = ["E", "F", "W", "I", "UP"]
ignore = ["E501"]
[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["test_*.py"]
addopts = "-v --tb=short"