What is MLOps?

MLOps (machine learning operations) is the set of practices and tools for training, deploying, monitoring and retraining machine learning models in production, applying DevOps ideas to data and models as well as code.

Also called machine learning operations, ML operations, LLMOpsUpdated

Training a model in a notebook is the easy part. The hard part is keeping it useful in production. You need to know which data and code produced it, deploy it without breaking the app, notice when its predictions drift and retrain it safely. MLOps (short for machine learning operations) is the discipline that covers that work.

MLOps vs DevOps

DevOps automates the path from code to production. MLOps adds two things that ordinary software doesn't have:

  • Data is an input. The same code trained on different data gives a different model, so data and features must be versioned and validated like code.
  • Models decay. Customer behaviour, prices and sensors change, and accuracy falls even when nothing in the code changed.

So MLOps extends CI/CD with continuous training: tests cover data, schemas and model quality as well as code, and pipelines retrain and redeploy models.

Maturity levels

Google Cloud's widely used guide describes three levels:

  • Level 0, manual. Data scientists train in notebooks and hand a model file to engineers. Releases are rare and nobody watches live accuracy.
  • Level 1, pipeline automation. The training pipeline itself is deployed and retrains on new data, on a schedule or when performance drops. Data and model validation run automatically.
  • Level 2, CI/CD for pipelines. Changes to the pipeline code are built, tested and deployed automatically, so teams can try new features and models quickly.

Most teams only need level 1 for their important models.

The pipeline

  1. Ingest and validate data. Check the schema, missing values and ranges.
  2. Build features, ideally the same code for training and serving, to avoid training-serving skew.
  3. Train and track experiments, recording parameters, data version and metrics (MLflow is a common choice).
  4. Evaluate against a holdout set and against the current production model.
  5. Register the approved model with its lineage.
  6. Deploy behind an API or batch job, often as a canary.
  7. Monitor latency, input drift and, when labels arrive, actual accuracy.

Example: a credit risk model at a lender

An NBFC scores loan applications with a gradient-boosted model. The team sets up:

  • A monthly retraining pipeline that runs only if the new data passes schema and volume checks.
  • A promotion rule: the new model must beat the current one on the last quarter's repayments and show no worse approval-rate gaps across groups.
  • Drift monitoring on key inputs using the population stability index (PSI). A common rule of thumb treats a PSI above 0.25 as a large shift worth investigating.
  • A registry entry for each model with its training data snapshot, so the team can answer "why was this applicant declined in March?"

If the lender serves EU customers, credit scoring of individuals is a high-risk use under the EU AI Act. That brings duties on data governance, logging and human oversight from 2 December 2027, and this lineage is the evidence those duties need.

MLOps and LLMOps

LLMOps applies the same thinking to applications built on large language models. You rarely train the model. Instead you version prompts, retrieval indexes and model choices, and replace accuracy metrics with LLM evaluation suites and cost and latency tracking. See taking an LLM feature from demo to production.

Common mistakes

  • Building a feature store and orchestration platform before a single model is in production.
  • Monitoring only uptime, not prediction quality.
  • Different feature code for training and serving.

We set up training pipelines, model registries and monitoring as part of our data and AI work.

Any idea in mind? Let's make it real.

Tell us what you're building. You'll hear back from an engineer, not a sales team, usually within one working day.

Book a 30-min call