Core model, configuration, and checkpoint package for music source separation.
Project description
pymss-core
Core model, configuration, and checkpoint package for music source separation.
pymss-core is the shared low-level package for higher-level projects such as
pymss inference and pymsst training. It contains model definitions,
configuration loading, and checkpoint compatibility helpers. It intentionally
does not include inference DSP pipelines, chunked demixing, audio file I/O,
model downloads, catalog management, CLI, HTTP server, WebUI, datasets, losses,
or training loops.
Install
pip install pymss-core
For local development:
uv sync --dev
Optional MLX backend on Apple Silicon:
pip install "pymss-core[mlx]"
Public API
from pymss_core import (
get_model_from_config,
load_config,
load_model_weights,
)
model, config = get_model_from_config("bs_roformer", "config.yaml")
load_model_weights(model, "model.ckpt", model_type="bs_roformer", strict=True)
model.eval()
Package Boundary
Included:
- YAML config loading with
AttrDict - PyTorch model definitions under
pymss_core.modules - Optional MLX backend implementations for supported model forward paths
- Model factory:
get_model_from_config(model_type, config_path) - Checkpoint helpers for common MSS checkpoint containers
- Small model-internal DSP math needed to construct model structures
- VR network structures and VR model parameter JSON files
Excluded:
- Audio file decoding/encoding
- Resampling, preprocessing, and full inference DSP pipelines
- Tensor-level chunked demixing runtime
- Model catalog, aliases, downloads, and cache management
- CLI, server, WebUI, and endpoint schemas
- Dataset, augmentation, loss, metrics, and trainer code
- Any default dependency on MLX, Librosa, tqdm, Lightning, FastAPI, Uvicorn, PyAV, WandB, or training extras
Repository Roles
pymss-core
shared model/config/checkpoint layer
pymss
user-facing inference package built on pymss-core, with audio I/O and demix
pymsst
training package built on pymss-core, with training data/loss/runtime code
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pymss_core-0.1.2.tar.gz.
File metadata
- Download URL: pymss_core-0.1.2.tar.gz
- Upload date:
- Size: 100.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
51e589c7c90b5bff12eba1971bf2761de52c7198f9da20721f2dba6df2670abe
|
|
| MD5 |
b138db10fc0441c942bb480f2f85b2a6
|
|
| BLAKE2b-256 |
c22de8b824b6feca669575c9a8a3df99ff603496e2dddf318c476665f6129191
|
Provenance
The following attestation bundles were made for pymss_core-0.1.2.tar.gz:
Publisher:
release.yml on pymss-project/pymss-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pymss_core-0.1.2.tar.gz -
Subject digest:
51e589c7c90b5bff12eba1971bf2761de52c7198f9da20721f2dba6df2670abe - Sigstore transparency entry: 1813594781
- Sigstore integration time:
-
Permalink:
pymss-project/pymss-core@1425aa6f547c44da9724eaf7e6f60ca0a1f40955 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/pymss-project
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1425aa6f547c44da9724eaf7e6f60ca0a1f40955 -
Trigger Event:
push
-
Statement type:
File details
Details for the file pymss_core-0.1.2-py3-none-any.whl.
File metadata
- Download URL: pymss_core-0.1.2-py3-none-any.whl
- Upload date:
- Size: 131.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bb038ebb102b19f870b76633626c38b3a1f6ff0a466bb82690d959fa86a73e8
|
|
| MD5 |
119c15ba9672bac84c8819904d249d5e
|
|
| BLAKE2b-256 |
3a1c45ae4a3509b57cd47521a6710e06c6310e4cd62fd8b3ebe8c37498a3919e
|
Provenance
The following attestation bundles were made for pymss_core-0.1.2-py3-none-any.whl:
Publisher:
release.yml on pymss-project/pymss-core
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pymss_core-0.1.2-py3-none-any.whl -
Subject digest:
0bb038ebb102b19f870b76633626c38b3a1f6ff0a466bb82690d959fa86a73e8 - Sigstore transparency entry: 1813595161
- Sigstore integration time:
-
Permalink:
pymss-project/pymss-core@1425aa6f547c44da9724eaf7e6f60ca0a1f40955 -
Branch / Tag:
refs/tags/v0.1.2 - Owner: https://github.com/pymss-project
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@1425aa6f547c44da9724eaf7e6f60ca0a1f40955 -
Trigger Event:
push
-
Statement type: