Course / 12

MLOps: Machine Learning in Production

How a model becomes a dependable product: data pipelines, reproducible training, serving, safe rollouts, monitoring, retraining and responsible operation. The system-design and cost topics are being revised.

Before you start: the DevOps course for CI/CD, containers, Kubernetes and observability, and the Deep Learning course for how models are trained; the Machine Learning course is assumed through it. Quantization, efficient attention and agent evaluation are developed in the NLP and AI Agents courses and are linked here, not repeated. The notes explain concepts with worked examples; hands-on practice lives outside the site.

The plan of the course →

  1. Systems
  2. Data
  3. Training
  4. Serving
  5. Operations
  6. Responsibility
  1. 01

    ML Systems

    Why a model is the small part of an ML system, and how to design the rest.

    After this section: Describe the lifecycle of an ML system and its technical debt, and turn product requirements into metrics, budgets and a plan for the model being wrong.

    2 of 2 notes published
  2. 02

    Data

    Getting correct, versioned data and the same features to training and serving.

    After this section: Build an idempotent data pipeline, validate and version data, and prevent training–serving skew with point-in-time correct features.

    3 of 3 notes published
  3. 03

    Training

    Training that can be reproduced, tested and scaled beyond one GPU.

    After this section: Track and reproduce experiments, register models, test data, models and pipelines, and choose a parallelism strategy for a model that does not fit one device.

    3 of 3 notes published
  4. 04

    Serving

    Answering requests with a model within a latency and cost budget, and changing it safely.

    After this section: Choose between batch, online and streaming inference, explain how an LLM inference engine batches and caches, and roll out a new model with shadow, canary and A/B tests.

    3 of 3 notes published
  5. 05

    Operations

    Keeping a deployed model correct as the world changes.

    After this section: Monitor a model and detect data and concept drift, decide when and how to retrain, and operate an LLM application with versioned prompts, evaluation in CI and tracing.

    3 of 3 notes published
  6. 06

    Responsibility and Cost

    What a production model owes its users, and what it costs.

    After this section: Measure fairness, protect privacy and document a model for accountability, and estimate and reduce the cost of training and serving.

    2 of 2 notes published