Skip to main content

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​

  1. Authenticate to the HTTP service with model.use authority when auth is enabled; HTTP handlers derive organization ownership from IAM. Review auth.py for the enabled/disabled boundary. Current catalog/detail reads can accept model.read or model.use; resolve/verify and writes require model.use. The owner README still generalizes every data-bearing route as model.use. CLI/direct Python operate with local filesystem trust and do not automatically provide the HTTP tenant checks.
  2. Register a new immutable version via /v1/register, supplying task, model_name, version, server-local artifacts_dir, metadata and optional alias settings from RegisterRequest. The storage layer rejects existing versions, nonexistent source directories, sources inside the registry itself, and sources outside configured OMNIBIOAI_MODEL_REGISTRY_ARTIFACTS_ALLOWED_ROOTS when 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.
  3. 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.
  4. Resolve <model_name>@<version-or-alias> through /v1/resolve with task, ref and default verify=true. Record the resolved version and content evidence for repeatability; aliases are mutable selectors. Inspect package metadata through /v1/show and artifact listings through /v1/artifacts using their owner schemas.
  5. Promote explicitly with /v1/promote (task, model_name, alias, version, optional reason). latest, staging, production are 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.
  6. 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.

StateRequired evidence
RegisteredVersion/package record exists
Integrity verifiedManifest verification completed for the selected artifacts
Promoted/aliasedExplicit alias change and associated event
RetrievedConsumer can access the selected artifacts
Architecture/model compatibleConsumer-specific validation; not inferred from metadata
Runtime verifiedSupported inference exercised in the actual intended runtime