Optional CLAP capability provider for muzaiten features
Project description
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.
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 .
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 muzaiten_features_clap-2026.7.12.tar.gz.
File metadata
- Download URL: muzaiten_features_clap-2026.7.12.tar.gz
- Upload date:
- Size: 18.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4a918c89a4ba174f4b9e9a6bbbd008f598b7bfa7284af45f3def6458c82f8389
|
|
| MD5 |
8617a9f8ce5a2d1f20f9ba78aaafcd5f
|
|
| BLAKE2b-256 |
8821673c55accf78615c41ba71d9ff8abda14e83b3433e9ba91e4abf22674bbb
|
Provenance
The following attestation bundles were made for muzaiten_features_clap-2026.7.12.tar.gz:
Publisher:
publish-features-clap.yml on 11xx/muzaiten
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
muzaiten_features_clap-2026.7.12.tar.gz -
Subject digest:
4a918c89a4ba174f4b9e9a6bbbd008f598b7bfa7284af45f3def6458c82f8389 - Sigstore transparency entry: 2148025465
- Sigstore integration time:
-
Permalink:
11xx/muzaiten@ab416e6e6e164320fcb4b636f3b469d5073be0d5 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/11xx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-features-clap.yml@ab416e6e6e164320fcb4b636f3b469d5073be0d5 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file muzaiten_features_clap-2026.7.12-py3-none-any.whl.
File metadata
- Download URL: muzaiten_features_clap-2026.7.12-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
45a6c330e9433aab7ec02b072d1693894c0727f18b655784b56280bb883590e4
|
|
| MD5 |
76f39badc503e71abf5d7acb3dadcb34
|
|
| BLAKE2b-256 |
2dc5a754d1f4b768e088a1b3f7f4a531d90c6b432174cc43dff93e80559df4a0
|
Provenance
The following attestation bundles were made for muzaiten_features_clap-2026.7.12-py3-none-any.whl:
Publisher:
publish-features-clap.yml on 11xx/muzaiten
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
muzaiten_features_clap-2026.7.12-py3-none-any.whl -
Subject digest:
45a6c330e9433aab7ec02b072d1693894c0727f18b655784b56280bb883590e4 - Sigstore transparency entry: 2148025480
- Sigstore integration time:
-
Permalink:
11xx/muzaiten@ab416e6e6e164320fcb4b636f3b469d5073be0d5 -
Branch / Tag:
refs/heads/master - Owner: https://github.com/11xx
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-features-clap.yml@ab416e6e6e164320fcb4b636f3b469d5073be0d5 -
Trigger Event:
workflow_dispatch
-
Statement type: