Repository navigation
Expand file tree
/
Copy pathpyproject.toml
More file actions
40 lines (37 loc) · 1.47 KB
/
Copy pathpyproject.toml
File metadata and controls
40 lines (37 loc) · 1.47 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
# Build-time tooling only. stemd itself is Rust; see crates/.
#
# Nothing here ships and nothing here runs at serve time. The server has no
# Python, no venv and no libtorch: it is one static binary against the system
# frameworks. This environment exists for two jobs that happen off to the side.
#
# Reading PyTorch checkpoints. Published model weights are PyTorch files, and
# stemd runs MLX, so adding a model means converting its tensors to safetensors
# once. That conversion has to open the original, which is all torch is here
# for.
#
# Scoring. `tools/eval/benchmark.py` scores model choices against MUSDB, which
# is how the numbers in docs/evaluation.md were derived rather than guessed.
[project]
name = "stemd-export-tools"
version = "0.1.0"
description = "Weight conversion and ground-truth benchmarks for stemd. Not part of the server."
requires-python = ">=3.11,<3.14"
dependencies = [
"numpy>=1.26",
# Only loads checkpoints and hands over their tensors. No Rust crate links
# against it, so the version is not pinned.
"torch>=2.4",
"torchaudio",
# Source of the pretrained demucs weights, for comparing a conversion
# against the original.
"demucs>=4.0",
]
[project.optional-dependencies]
# Ground-truth scoring for model and tuning decisions. Not needed to build or
# run stemd; only to re-derive the numbers in docs/evaluation.md.
eval = [
"musdb>=0.4",
]
[tool.uv]
# Not an installable package: an environment for the scripts.
package = false