Skip to main content
MLOps: Model Registry vs MLflow Tracking, And When You Need Both

MLOps: Model Registry vs MLflow Tracking, And When You Need Both

KU
· Founder & Chief Editor
• 8 min read•Updated •

Tracking experiments and shipping models are different problems. The MLOps tooling assumes one solution; production splits them. The patterns we use.

Key takeaways

  • MLflow Tracking records experiments: parameters, metrics, artifacts and logged models for every training run.
  • The Model Registry versions the few models worth shipping and points aliases such as champion at them.
  • Stages were deprecated in MLflow 2.9, so use aliases, and keep production approvals and canary rules in a reviewed GitOps repo.

MLflow Tracking answers "which experiment won?"; the Model Registry answers "which version is live, and what was before it?". You need Tracking from the first training run and the Registry once a model serves real traffic. Use registry aliases, not the deprecated stages, and put the actual production gate in a reviewed GitOps repo.

Verified against

MLflow 3.17 (3.17.2, released 2026-10-21), against the mlflow.org Tracking and Model Registry workflow docs. Checked October 2026.

The two workflows are different problems

Experiment tracking. A data scientist trains 50 variations of a model with different hyperparameters, data splits, and feature sets. They want to compare which performed best, see how training went, and reproduce a specific run. The artifact at the end isn't necessarily going to production; it's research output.

Model registry. A specific trained model goes from "this is the best one" to "this is in production." It needs versioning, a promotion workflow, rollback, and a clear answer to "what's deployed right now."

MLflow has Tracking for the experiment side and the Model Registry for the production side. They share model storage but are conceptually different, and the Registry needs a database-backed store (SQLite, PostgreSQL or MySQL) where Tracking can live on files.

OptionPrimary jobPromotion modelTraffic split / canaryAudit of who shipped whatLock-in
MLflow TrackingLog runs, params, metrics, artifactsNoneNoRun metadata onlyLow (open source)
MLflow Model RegistryVersion models, move aliasesAliases (@champion) and tagsNoBasicLow (open source)
Weights & BiasesExperiment tracking and UIHosted registryNoPlatform logsMedium (SaaS)
SageMaker / Vertex AI registryRegistry tied to cloud training and servingVersioned, vendor workflowVia the vendor's endpointsCloud audit logsHigh
GitOps model-config repoDecide what is deployedPull request on a version pointerYes, in rollout configFull, via PR historyNone

What MLflow Tracking is good at

For the experiment side:

  • mlflow.start_run() wraps a training run and logs parameters, metrics, and artifacts.
  • Logged models. Since MLflow 3, a logged model is a first-class entity with its own ID, so models:/<model_id> replaces the older runs:/<run_id>/<path> URI, and metrics can be tied to a specific model and dataset.
  • Search APIs for programmatic queries, such as mlflow.search_logged_models() with a filter like metrics.accuracy > 0.95 AND params.model_type = 'RandomForest'.

What it's not designed for: long-term archival of every experiment forever, compliance auditing of which model went to production when, and rollback workflows.

What the Model Registry adds

The Registry is a layer on top: take a specific model, register it as a versioned entry, and point named aliases at versions. The older stage model (Staging, Production, Archived) still appears in plenty of tutorials, but the MLflow docs state that model stages have been deprecated since MLflow 2.9.0 and will be removed in a future major release. Write new code against aliases:

promote.py
import mlflow
from mlflow import MlflowClient

# Register a logged model as a new version
mv = mlflow.register_model(f"models:/{model_id}", "fraud-classifier")

# Point the "champion" alias at it (replaces the Production stage)
client = MlflowClient()
client.set_registered_model_alias("fraud-classifier", "champion", mv.version)

# Serving code never changes: it loads whatever champion points at
model = mlflow.pyfunc.load_model("models:/fraud-classifier@champion")

Promotion is one API call, and rollback is the same call with the previous version number. Unlike stages, one version can carry several aliases, so champion and challenger can coexist for an A/B test. Tags such as validation_status=passed record where a version stands in your checks.

Where the MLflow Registry falls short for production

Environments are your problem. Aliases fix the old "Production is one global slot" complaint, but MLflow's own recommendation for environment separation is separate registered models per environment (for example prod.ml_team.revenue_forecasting) with access controlled through MLflow Authentication. That's workable, but it's a convention you have to enforce.

No traffic split or canary built in. Moving champion from v3 to v4 is atomic. You can't say "10% to v4, 90% to v3" in the registry. We layered our own routing in front for canary.

Limited audit trail by default. Alias changes happen through an API call, and the UI doesn't make "who promoted what, when, and who approved it" easy to answer. We layered our own approval workflow on top.

Models trained elsewhere need wiring. A model from a SageMaker job or an external pipeline has to be logged or registered into MLflow by hand. Doable, but it's friction.

For one model in one environment, the Registry is enough. Beyond that, it's a starting point.

The split that worked for us

MLflow Tracking: every training run logged, used as the experiment notebook. Long retention isn't a goal; we keep about six months.

MLflow Registry: the candidate shelf. Models that pass evaluation thresholds get registered, compared, and tagged.

Production gates: a separate, simpler system controls what's deployed: a GitOps repo with a YAML file per model. PRs to that repo are the deploy mechanism, and approvals, audit, and traffic-split rules all live there. If the pattern is new to you, GitOps explained covers the reconciliation model it relies on.

The flow:

  1. A data scientist trains the model with MLflow Tracking.
  2. The best variant gets registered in the MLflow Registry.
  3. An SRE or ML engineer opens a PR against the model-config repo updating the version pointer.
  4. PR review is the production gate. On merge, deployment automation rolls the new model out with a canary.

MLflow handles steps 1 and 2 well. The repo handles 3 and 4 with the same discipline we apply to every other production change.

What we log, and what we register

For every training run we log hyperparameters, dataset and feature-set versions, random seeds, training and validation metrics, the model itself, evaluation outputs (confusion matrices, calibration plots, predictions on canary inputs), and a hash of the training data. The data hash is the most underrated: change preprocessing and retrain, and the hash changes, so we can prove which preprocessing version a model used.

The Registry gets only models that pass evaluation thresholds, one entry per real production candidate, with explicit metadata: training data version, evaluation summary, who initiated it, and when. Ad-hoc experiments stay in Tracking, which keeps the Registry clean.

A model going to production must pass an offline eval suite, a regression eval against the current production model on a set of historical failures, a period of shadow traffic, and a 5% canary before full rollout. MLflow covers the first step through Tracking artifacts. The rest is production-side discipline the Registry alone doesn't provide; LLM evals that predict production quality goes deeper on making the offline suite actually predictive.

Alternatives we evaluated

Weights & Biases is a common pick for research teams that want a more polished tracking UI, and production registry workflows can still run through MLflow. SageMaker and Vertex AI registries integrate tighter with their own clouds, so a single-cloud shop might reasonably pick one. A homegrown Postgres plus S3 registry pays back only if your needs diverge sharply from these. For a mixed-cloud shape where portability matters, MLflow plus a GitOps gate is the right balance. We also flag any production model older than 90 days without re-evaluation, alongside the drift monitoring we run in production. Our MLOps tools roundup for 2026 covers the wider stack.

Questions people ask

Is MLflow Model Registry the same as MLflow Tracking?

No. Tracking records every training run: parameters, metrics, artifacts and logged models. The Model Registry is a separate component that versions selected models under a name and lets you point aliases such as champion at a version. They share storage, but the Registry requires a database-backed store, and it is the part your serving code should load from, using a URI like models:/fraud-classifier@champion.

Are MLflow model stages deprecated?

Yes. The MLflow docs state that model stages (Staging, Production, Archived) have been deprecated since MLflow 2.9.0 and will be removed in a future major release. Use model version aliases instead, set with MlflowClient().set_registered_model_alias(), and tags to record validation status. Migrating means choosing an alias per stage and changing URIs from /Production to @champion.

Do I need a model registry if I only have one model?

Not on day one. With one model in one environment, Tracking plus a registered model with a champion alias is plenty, and it costs nothing extra. You need more structure when several people can promote models, when you need canary rollouts, or when an auditor asks who shipped which version and why. That's when a reviewed GitOps gate earns its keep.

The call we'd make

Log everything to MLflow Tracking from the first experiment, register only real production candidates, and use aliases rather than stages in any code you write today. Then don't let the Registry be your production gate: put the version pointer in a GitOps repo so promotions get the same review, audit trail, and canary as any other deploy. Once the model is live, the monitoring half of the job starts, and our roundup of LLM observability tools covers that side.

Sources

Explore topics:MLOpsAI
React
Share this post
Cite this article
Plain text

Kiril Urbonas (2026). MLOps: Model Registry vs MLflow Tracking, And When You Need Both. DevOpsNess. Updated 2026-10-31. https://www.devopsness.com/blog/mlops-model-registry-vs-mlflow-tracking

Markdown

[MLOps: Model Registry vs MLflow Tracking, And When You Need Both](https://www.devopsness.com/blog/mlops-model-registry-vs-mlflow-tracking) (Kiril Urbonas, DevOpsNess, updated 2026-10-31)

KU

Kiril Urbonas

Founder & Chief Editor

612 articles
View all articles by Kiril Urbonas

You might have missed

Evergreen posts worth revisiting.