Altar Cherimoya binding
altar-cherimoya is the lightweight control-plane binding between Altar and the Cherimoya variant-effect
runtime. Installing it registers CHERIMOYA in the canonical altar.model_plugins discovery group.
The binding owns Cherimoya's artifact schema, score schema, prioritization predicate, resource requests, and
backend-neutral container plan. It does not import PyTorch, Cherimoya, a model registry, object-storage SDK,
or compute-provider SDK. The heavyweight cherimoya-score CLI and independently locked image live under
runtimes/cherimoya in this repository.
pip install altar-cherimoya
from altar.models import get_model_plugin
plugin = get_model_plugin("CHERIMOYA")
CherimoyaConfiguration.image defaults to the immutable runtime digest tested with the installed binding.
Callers may override it with another name@sha256:<digest> image reference; mutable tags remain invalid. Its
weights tuple contains one generic ResourceReference per fold, each with a required SHA-256 digest. The
URI may be local, HTTPS, GCS, S3, Hugging Face, or any other location understood by the selected storage
adapter. The digest, not the location, defines scientific identity. Mutable images and unidentified weight
bytes fail validation before a plan can be built.
The binding emits one GPU scoring task per weight resource followed by one CPU summarize task. Every weight is staged to a stable logical path, and the runtime receives only that mounted path and expected digest. It does not download weights or know which provider stored them.
The runtime streams large variant files in fixed outer batches and validates CATv1's single-track output
contract. profile_l1 is defined over softmax-normalized profile distributions.
The tests compose altar.testing.ModelResultContract and ContainerScorerContract and fake only the outer
Modal and Kubernetes clients, so they verify both result semantics and the plan/fan-in contract without an
ML framework, cloud account, cluster, GPU, or image pull.
Metadata
Release files for altar-cherimoya 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| altar_cherimoya-0.1.0.tar.gz | 19.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| altar_cherimoya-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 27.2 kB
Release files / altar_cherimoya-0.1.0.tar.gz
| Download URL | altar_cherimoya-0.1.0.tar.gz |
|---|---|
| Size | 19.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
818ff47e9d62b225d9a19938b5987abeda605b090e04b536260c8ab350f3a717
|
|
BLAKE2b-256 checksum How to use checksums |
5df4b7d69359f01d76d2adf0cfe568ac16d75d49ef1d5f63256774068f40b1e2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / altar_cherimoya-0.1.0-py3-none-any.whl
| Download URL | altar_cherimoya-0.1.0-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2e2308732f86ddfad34f9b610b1145be4a22e7216ac32b2f2b7a5a41bba1d5ef
|
|
BLAKE2b-256 checksum How to use checksums |
4371cc3bf140e2a18359f2377b31563391839ae0d8300deead1a00cbeebc43f0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.12.17 {"installer":{"name":"uv","version":"0.12.17","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|