Model Lifecycle State Diagram
State Definitions
API Operations
Model Record Schema
Storage Model
Model records are stored in a relational database with the following invariants:- model_id is unique and immutable
- state transitions follow the diagram above; invalid transitions are rejected
- artifact_hash references the ArtifactStore
- parent_models references other model_ids, creating a directed acyclic graph
Transition Triggers
Query Patterns
- List all models in REGISTERED state eligible for merge
- Find all models produced by a specific experiment
- Trace lineage from a deployed model to its ancestors
- Identify deprecated models with active deployments
The ModelRegistry does not store model weights. It stores metadata and references to the ArtifactStore. Weights are loaded on demand by the ModelLoader using the artifact_hash.