Model Registry Lifecycle
Evidence is CURRENT_SOURCE and OWNING_REPOSITORY_DOCUMENTATION, inspected statically; no artifacts were registered or promoted. See the owner guide, storage API and HTTP schemas/handlers.
Prepare storage and metadata
The implementation supports localfs; declaring cloud-ready storage does not
provide an S3/Azure backend. Studio mounts the registry at /registry and training
runs read-only separately; confirm server-visible paths using
operator guidance. A path returned by resolution is a
server filesystem path, not an artifact download or automatically visible in TES.
MySQL tracks experiments; filesystem artifacts and ownership records require their
own preservation. operator guidance and
operator guidance identify responsibilities and evidence gaps.
Use safe task/model/version identifiers. Prepare required files from
layout.py:
model.pt, model_genes.txt, label_map.json, model_meta.json, metrics.json,
feature_schema.json; registration generates sha256sums.txt. Record training
code revision, dataset reference, parameters, preprocessing and run lineage in
metadata. Metadata records provenance assertions; it does not attest training
correctness or architecture compatibility. No mandatory model CPU/GPU architecture
validation is inferred from this generic metadata interface.
Register through use
- Authenticate to the HTTP service with
model.useauthority when auth is enabled; HTTP handlers derive organization ownership from IAM. Review auth.py for the enabled/disabled boundary. Current catalog/detail reads can acceptmodel.readormodel.use; resolve/verify and writes requiremodel.use. The owner README still generalizes every data-bearing route asmodel.use. CLI/direct Python operate with local filesystem trust and do not automatically provide the HTTP tenant checks. - Register a new immutable version via
/v1/register, supplyingtask,model_name,version, server-localartifacts_dir, metadata and optional alias settings fromRegisterRequest. The storage layer rejects existing versions, nonexistent source directories, sources inside the registry itself, and sources outside configuredOMNIBIOAI_MODEL_REGISTRY_ARTIFACTS_ALLOWED_ROOTSwhen set. Files are copied, metadata/hash manifest generated, required-file presence checked. Re-read hash verification is a separate resolve/verify step. This is not a scientific inference test. - Verify the registered task/ref using
/v1/verify(task,ref) or resolve with verification enabled. Manifest verification checks entries listed in the manifest; it is not a signature, publisher attestation or exhaustive malicious-manifest audit. Missing listed files/hash mismatch raise integrity errors. Do not suppress verification to treat a damaged artifact as valid. - Resolve
<model_name>@<version-or-alias>through/v1/resolvewithtask,refand defaultverify=true. Record the resolved version and content evidence for repeatability; aliases are mutable selectors. Inspect package metadata through/v1/showand artifact listings through/v1/artifactsusing their owner schemas. - Promote explicitly with
/v1/promote(task,model_name,alias,version, optional reason).latest,staging,productionare conventions, not an automatically enforced staged approval pipeline. Promotion changes an alias and appends a local promotion event; it does not redeploy a consumer or validate the model. - Retrieve/use the verified artifacts through a deployment-approved filesystem or distribution path. Confirm the actual execution environment can read them and perform a representative supported inference on approved test data. TES training clients can log tracking information using PluginRunClient; that integration does not itself transfer or execute a registered model.
The CLI implementation
provides omr register, resolve, verify, promote, show and related tracking
commands. Use its help/owner examples with operator-owned paths; CLI access is a
separate filesystem administration boundary, not an authenticated HTTP substitute.
Hugging Face and failure handling
HF routes
implement asynchronous push and status lookup. Configure the approved repository,
visibility and protected Hub credential using the owner guide; inspect the job's
terminal result before claiming upload. Ownership checks apply to model push and
job reads. The push handler requests resolution with verify=false; strict verification
configuration can still require it. Explicitly verify the selected package before publication. Job state is process-local, so restart can lose status. Review external
publication authorization/licensing before invoking it; no push was performed here.
Malformed references/path identifiers, denied organization ownership, missing models/versions, duplicate versions and integrity failures have distinct storage errors translated by HTTP handlers. Do not infer absence of authorization from a not-found result. Legacy unowned models require the explicit ownership-resolution permission/workflow; never assign ownership through free-form model metadata. Cross-service audit and usage emission have failure handling separate from the local promotion trail; presence of an emission call does not prove durable delivery.
| State | Required evidence |
|---|---|
| Registered | Version/package record exists |
| Integrity verified | Manifest verification completed for the selected artifacts |
| Promoted/aliased | Explicit alias change and associated event |
| Retrieved | Consumer can access the selected artifacts |
| Architecture/model compatible | Consumer-specific validation; not inferred from metadata |
| Runtime verified | Supported inference exercised in the actual intended runtime |