test: add end-to-end integration test for M2 vocals pipeline and eval

This commit is contained in:
2026-11-02 10:42:10 +01:00
parent f1736caff5
commit cdc47bc85a
3 changed files with 909 additions and 128 deletions

View File

@ -9,9 +9,15 @@ dependencies = [
"typer>=0.12.0",
"rich>=13.7.0",
"demucs>=4.0.0",
"torch>=2.0.0",
"torch>=2.4.0",
"torchaudio>=2.4.0",
"soundfile>=0.12.0",
"julius>=0.2.7",
"pyphen>=0.14.0",
"torchcrepe>=0.0.23",
"faster-whisper>=1.0.0",
"scipy>=1.12.0",
"jiwer>=3.0.0",
]
[project.optional-dependencies]
@ -38,6 +44,15 @@ markers = [
"integration: marks tests as integration tests",
]
[[tool.uv.index]]
name = "pytorch-cpu"
url = "https://download.pytorch.org/whl/cpu"
explicit = true
[tool.uv.sources]
torch = { index = "pytorch-cpu" }
torchaudio = { index = "pytorch-cpu" }
[tool.ruff]
line-length = 120
target-version = "py312"