May we use cookies so Meta, Google, LinkedIn and ChatGPT see your visit and we learn which ads work? PrivacyMay we use cookies to see which pages help, and let Meta, Google, LinkedIn and ChatGPT see your visit, so we know which of our ads work? That way we spend less on ads that do not work. We do not sell your data, and the site works the same if you decline. You can change your answer at any time under Cookie settings at the foot of the page. Privacy policy
Loading...
This idea carries a full system design question on its own. Each walks through the full answer.
AI Engineering · Core
Free preview: the first part of this 12-part lesson.
Already bought the course? Sign in to read the whole lesson.
this lesson is part of
Generative AI and Agentic AI Engineering
Unlock this lesson and the 208 other paid lessons
$35 once, by card or PayPal
See the Generative AI and Agentic AI courseread the rest of this lesson in
Generative AI and Agentic AI Engineering
Unlock this lesson and the 208 other paid lessons
$35 once, by card or PayPal
See the Generative AI and Agentic AI coursein Core
This lesson is part of the AI Engineering course. Unlock the full course, a separate one-time payment, for lifetime access.
One-time payment by card or PayPal
Get Lifetime AccessOne-time payment: UPI, card or netbanking
Get Lifetime AccessFoundation lessons of this course are free, no payment needed. Try them now
It is 2 a.m. Fraud losses are spiking. The team pulls up the model that scores every transaction, and someone asks a simple question: which version is this? The answer that comes back is the one you never want to hear. Nobody is sure.
Was it the model trained last Tuesday, or the hotfix from Thursday? Is it model_final.pkl in the shared bucket, or model_final_v2_really.pkl that someone uploaded during the last incident? What data trained it? Which git commit? Everyone starts grepping through object storage and scrolling old chat messages while money leaks out the door. The engineer who trained the current model is asleep, and the file that is supposedly live has a timestamp nobody can explain.
This is the situation a exists to end. A team ships model after model, each as a loose file saved somewhere, and after a few months nobody can answer the three questions that matter most in an incident:
When you cannot say with certainty which model is live, you do not have a production system. You have a liability that happens to make predictions.
The failure here is not a lack of talent. It is a lack of a system of record. Every other part of the stack already has one. Your code lives in git, where every change is a commit you can name, review, and revert. Your infrastructure lives in a state file. Only the model, the single most valuable artifact your team produces, gets tossed into a bucket with a hopeful filename. The registry closes that gap.
A model registry is the fix. It is the catalog of every model version your team has ever produced, with its metrics, its parameters, its data lineage, and one field that changes everything: its stage. The registry always knows which version is in Production, and it can put a known-good version back in seconds. By the end of this lesson you will understand exactly how it stores all of that, how a version earns its way to serving real users, and why the whole design turns a 2 a.m. scavenger hunt into a single command.