Skip to content
AI & MLadvanced

What is MLOps?

Updated Nov 30, 20263 min readBased on official documentation
What is MLOps?

In short

MLOps is a set of practices that combines machine learning, software engineering and operations to build, deploy, and maintain ML-based software reliably. It treats models, data and code as parts of one lifecycle that must be managed, tested and monitored after release.

Why MLOps exists

Machine learning, or ML, lets a program learn patterns from data instead of following hand-written rules. That sounds simple, but building an ML-based product is harder than training a model in a notebook. The data changes, the model drifts away from reality, and the business goals shift over time. MLOps is the discipline that deals with these changes in a structured way.

The documentation at ml-ops.org describes MLOps as a way to manage the iterative nature of ML-based software development. Development rarely moves in a straight line. Teams go back from deployment to data preparation, or from evaluation to requirements, many times before a system is stable. MLOps gives that loop a shape, with clear steps and responsibilities.

Three core elements

An ML-based system has three elements that all need attention:

  • Data: the raw input, along with the pipelines that collect, clean and transform it.
  • ML models: the trained artifacts that turn inputs into predictions.
  • Code: the software that wraps the model, serves it, and connects it to the rest of the system.

The key point is that these three change at different speeds. A model can be retrained every week while the code stays the same for months. MLOps keeps track of each element and of the versions that belong together.

How the lifecycle works

The documentation outlines an end-to-end workflow that starts with understanding the business problem and its requirements. Only after that do teams design the data flow, the model, and the serving approach. Later stages cover deployment, monitoring, and governance.

A process model called CRISP-ML(Q) is one way to structure this work. It describes the standard steps of machine learning development and adds a focus on quality at each step. Teams can use it as a shared map, so that everyone knows which stage they are in and what must be true before moving on.

The MLOps principles page describes established practices for testing, deploying, managing and monitoring ML models in production. In practice this means automated pipelines, repeatable training runs, and checks that catch problems before users see them.

A simple example

Imagine a team that builds a model to predict late deliveries for a logistics company. The first version works well in tests. Two months after release, the delivery routes change and the predictions get worse. Without MLOps, someone may notice only when customers complain.

With MLOps practices, the team tracks prediction quality over time, stores the data and model version used for each release, and has a pipeline that retrains and redeploys the model when a check fails. The code, data and model are managed together, so a bad release can be rolled back quickly.

An architecture view

The MLOps Stack Canvas is a framework for planning the architecture and infrastructure of an MLOps setup. It is designed to be neutral to both the application and the industry, so teams can use it for many kinds of projects. It helps answer questions such as where data is stored, how models are served, and who owns each part.

Governance is another piece. The documentation covers ML model governance as an integral part of MLOps. Governance means defining who can approve a model, how decisions are recorded, and how a team proves that a deployed model behaves as intended. For teams in regulated fields, this part is often as important as the technical work.

Common mistakes

Teams new to MLOps often make a few predictable mistakes. They treat deployment as the end of the project, when in fact it is the start of monitoring. They version the model but not the data it was trained on, which makes results impossible to reproduce. They also skip the early step of clarifying the business problem, and then build a technically strong model that solves the wrong question.

Another frequent mistake is building heavy infrastructure before the process is clear. A simple, repeatable workflow usually beats a complex platform that nobody understands.

Where to start

Start with the documentation sections in order: motivation, design, the end-to-end workflow, and the three levels of ML-based software. Then read the principles and the stack canvas to plan your own setup. If you are new to the wider topic, our site also has reference pages you can use to build background, and the official documentation at https://ml-ops.org/ remains the best place to go deeper.

FAQ

Is MLOps the same as DevOps?

MLOps borrows ideas from DevOps, such as automation and continuous delivery. It adds concerns that are specific to ML, including data versions, model retraining, and monitoring for drift.

Do I need MLOps for a small model that runs once?

A one-off experiment may not need the full set of practices. Once a model is deployed and must stay accurate over time, the lifecycle and monitoring parts of MLOps become useful.

What does CRISP-ML(Q) add to a normal ML workflow?

It is a standard process model for ML development with a focus on quality at every stage. It gives teams a shared structure for moving from business understanding to deployment.

Who usually works on MLOps?

The work is shared by data scientists, software engineers and operations people. Good MLOps depends on them agreeing on how models, data and code move through the lifecycle.

Sources

This page is based on the official documentation below. Read it for full detail.

MLOps — official documentation ↗
blozhikDeveloper news from across the web, explained. Every story links to its original sources.