Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

muzaiten_features_clap-2026.7.12.tar.gz (18.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

muzaiten_features_clap-2026.7.12-py3-none-any.whl (23.3 kB view details)

Uploaded Python 3

File details

Details for the file muzaiten_features_clap-2026.7.12.tar.gz.

File metadata

File hashes

Hashes for muzaiten_features_clap-2026.7.12.tar.gz
Algorithm Hash digest
SHA256 4a918c89a4ba174f4b9e9a6bbbd008f598b7bfa7284af45f3def6458c82f8389
MD5 8617a9f8ce5a2d1f20f9ba78aaafcd5f
BLAKE2b-256 8821673c55accf78615c41ba71d9ff8abda14e83b3433e9ba91e4abf22674bbb

See more details on using hashes here.

Provenance

The following attestation bundles were made for muzaiten_features_clap-2026.7.12.tar.gz:

Publisher: publish-features-clap.yml on 11xx/muzaiten

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file muzaiten_features_clap-2026.7.12-py3-none-any.whl.

File metadata

File hashes

Hashes for muzaiten_features_clap-2026.7.12-py3-none-any.whl
Algorithm Hash digest
SHA256 45a6c330e9433aab7ec02b072d1693894c0727f18b655784b56280bb883590e4
MD5 76f39badc503e71abf5d7acb3dadcb34
BLAKE2b-256 2dc5a754d1f4b768e088a1b3f7f4a531d90c6b432174cc43dff93e80559df4a0

See more details on using hashes here.

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

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page