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.1.tar.gz (22.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.1-py3-none-any.whl (27.3 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for muzaiten_features_clap-2026.7.12.1.tar.gz
Algorithm Hash digest
SHA256 9fda69a8cc3ea5257f7fbf41a51396a523893c72b68f7c89f146860fb54bb8f5
MD5 8fa3ccba13c4bf249a3f3a0d555c5c6c
BLAKE2b-256 796a86b68e15f161aea111e6e0557ebc90ac2611f77d610eab29299bf15c66a5

See more details on using hashes here.

Provenance

The following attestation bundles were made for muzaiten_features_clap-2026.7.12.1.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.1-py3-none-any.whl.

File metadata

File hashes

Hashes for muzaiten_features_clap-2026.7.12.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f8cd0015378c133f36ce4104fe5102be3350a5c7f67e9bf0161dafa5001512ae
MD5 1786a7746764aa63b3783659947b09fe
BLAKE2b-256 8a394df0c4abf89df2af42d24714a2beb1f1b193b9fadf5d406f4564b2ad4031

See more details on using hashes here.

Provenance

The following attestation bundles were made for muzaiten_features_clap-2026.7.12.1-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