muzaiten-features-clap
muzaiten-features-clap is the optional CLAP capability provider used by the
native muzaiten-features orchestrator. It is a small Python package by
default. Runtime inference uses NumPy, ONNX Runtime, and Tokenizers from the
model extra, without PyTorch, torchvision, librosa, numba, or LAION-CLAP.
Install the runtime in user space:
uv tool install 'muzaiten-features-clap[model]'
The provider is not a human-facing command. One process handles one versioned
JSON request on stdin and emits JSONL events on stdout. Supported operations are
capabilities, status, model-download, scan, neighbors, and query.
Diagnostics go to stderr. muzaiten-features owns provider discovery,
orchestration, locking, progress presentation, and cancellation.
Artifact replacement retains a backup until installation succeeds. A failed installation restores the backup; if restoration also fails, the backup remains on disk for recovery.
Model download is always explicit. scan and query never fetch weights; they
return model_missing until the checkpoint has been converted into verified
ONNX artifacts. The one-time conversion uses the reference LAION-CLAP package
from the isolated convert extra:
uv tool install --reinstall 'muzaiten-features-clap[model,convert]'
muzaiten-features model download
uv tool install --reinstall 'muzaiten-features-clap[model]'
The middle command downloads and SHA-256-verifies the pinned CC0 checkpoint,
exports the audio and text towers, saves the exact RoBERTa tokenizer, verifies
the artifact manifest, and keeps the checkpoint as provenance. Reinstalling the
runtime-only extra removes the conversion stack without touching the model
cache or features.sqlite. The cache uses about 2.35 GB for the checkpoint and
790 MB for the fp32 ONNX artifacts. status reports source, license, cache
paths, checksums, device availability, and artifact validity without loading a
model session.
FEATURE_REVISION describes the input, preprocessing, and output semantics of
the stored vectors. It deliberately does not follow package or protocol
versions, so routine provider releases do not invalidate a large embedding
corpus.
Tests use fake inference and fake downloads; they do not download model weights:
uv sync --group dev
uv run python -m pytest
uv run ruff check .
Release files for muzaiten-features-clap 2026.9.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| muzaiten_features_clap-2026.9.11.tar.gz | 22.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| muzaiten_features_clap-2026.9.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.5 kB
Release files / muzaiten_features_clap-2026.9.11.tar.gz
| Download URL | muzaiten_features_clap-2026.9.11.tar.gz |
|---|---|
| Size | 22.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
5b0680787e4303fe8c04a7ba1078ae38fa5218bf841b40824d9d91e298017c78
|
|
BLAKE2b-256 checksum How to use checksums |
39cd45a0e41c0ff6a1ba5529b1a8de80532ecb3424655428fa7cc6e1b527ddb9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.
Transparency logRelease files / muzaiten_features_clap-2026.9.11-py3-none-any.whl
| Download URL | muzaiten_features_clap-2026.9.11-py3-none-any.whl |
|---|---|
| Size | 27.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a6b769ac650bf8e6cee28d9b327e2ae97de53b7ac35d1d9d7b8ce45041fcf75c
|
|
BLAKE2b-256 checksum How to use checksums |
180da7c900df1a3bb55fd43e313ead50257762ead57b4037dc85c7022dc0310d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.13
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.
Transparency log