How it works · 2 of 27 Core
What are a model registry, model versioning and model lineage?
Which model is live, built from what
Model registry, versioning & lineage: A model registry keeps one record per model version (its fingerprint, the data and code that made it, its test scores and who approved it) and lets production call a name that points to a version, so any answer can be traced to the exact model behind it and a release or a rollback is moving that name.
Loading the animation…
Say it like this A model registry keeps a record for every model version (its data, code, test and approval), and production calls a name that points to one, so you can always say which model answered and move back in one step.
Under the hood — for builders
- Worked example: MLflow's champion alias
- MLflow's own example: "you can create an alias named champion that points to version 1 of a model named MyModel". Serving loads "models:/MyModel@champion"; reassigning the alias ships a new version.
- Registry and version
- Registry: the store of every model version and its record. Version: one trained model that never changes; any change makes the next version.
- Lineage, alias, fingerprint
- Lineage: the chain back to the data, code and run. Alias: a movable name production calls. Fingerprint: a hash of the model file.
- Run here: one weight, a new fingerprint
- 67,108,864 float32 weights (256 MB), hashed with SHA-256. Moving one weight to the next value, 0.6111065 → 0.6111066, flipped 110 of 256 bits.
- Run here: checking is cheap
- Hashing ran at 1.33 GB/s on this 4-core machine: cheap enough to check the fingerprint on every load, not just at registration.
- What one record holds
- Version · fingerprint · data snapshot · code commit and settings · dated base model, if bought · test scores with test-set version · approver · every alias move.
- The law asks for the trail
- EU AI Act, Article 12(1): high-risk systems "shall technically allow for the automatic recording of events (logs) over the lifetime of the system."
- Measure it
- Share of answers traceable to a registered version (target: all) · minutes to say which version answered · live versions with no test record (target: none).
- Watch out
- A "latest" tag that moves itself · data snapshot not registered · bought model called by an undated alias · alias moves with no log. Passport stamps are our example.
- Sources
- MLflow, Model Registry docs, mlflow.org · EU AI Act, Article 12 · both read 21 Nov 2026 · fingerprint runs, Python 3.13, 21 Nov 2026.
What happens in the model registry, versioning & lineage animation, step by step?
- Six weeks after launch, a customer asks why the bot refused their refund. Before anyone can answer: which model said that, and what was it built from?
- The live model carries a passport. Each stamp points back along the board: data snapshot, training run and code, test score, approver.
- Your turn: tap a stamp to follow its thread back. A registry keeps this record for every version, so the answer travels with the model.
- The fingerprint is a hash of the model file. Nudge one of 67 million weights by 0.00000006 and 110 of its 256 bits flip: a new model, same name.
- Production calls a name, not a file: "champion". Moving it from v7 to v8 ships the new model; moving it back is the rollback.
- A laptop file with a blank passport reaches the gate, and the gate stays shut: no record, no production. Next: prompts need passports too.
What everyday example explains model registry, versioning & lineage?
A passport stamped at every border. The traveller is the model; each stamp is a step it passed (data, training, test, sign-off); the border guard is the gate to production, and a traveller with a blank passport is turned back.
Why should a team care about model registry, versioning & lineage?
Every incident, audit and rollback starts with "which version was live?"; teams that cannot answer it in a minute end up rolling back blind or freezing all changes, and the record has to exist before the incident, not be rebuilt after it.