Course 5 · Unit 4
MLOps and infrastructure
Part of Advanced level (optional): specialisations
- 7 lessons
- ≈ 22 h of study
- Level: advanced
Topics covered
- Docker
- Kubernetes
- CI/CD
- Cloud
- Model serving
- Monitoring
- Logging
- Observability
- Security
- Cost optimisation
Lessons in this unit
- Serving models in production 85 min
From a model that works in your notebook to a service that handles real traffic - validation, micro-batching, timeouts, retries with backoff, idempotency and health checks. - Observability, percentiles and drift 80 min
Knowing what's happening to your model in production before a customer tells you - metrics, latency percentiles, sliding windows, SLOs and data drift detection with PSI and KS. - Reproducibility, tracking and CI/CD for models 65 min
Making sure any model in production can be rebuilt, explained and replaced safely - hashes of data and configuration, experiment records, a model registry and automatic promotion rules. - Cost, caching, secrets and privacy 80 min
Knowing how much each request costs before the bill arrives, making it cheaper with caching without breaking anything, and protecting keys and personal data the way a serious team would. - Paged KV cache — virtual memory for serving LLMs 80 min
Why reserving the KV cache contiguously wastes most of the memory, how PagedAttention splits it into blocks with page tables, shares prefixes with copy-on-write and decides whom to evict when it runs out. - Quantizing for serving — what speeds up, what fits and what breaks 75 min
4-bit weights, W8A8, FP8 and 8-bit KV cache seen from production — when they lower latency, when they raise capacity, how SmoothQuant tames activation outliers and how to decide with numbers. - Progressive delivery — shadow, canary and rollback 65 min
How to take a new model to production without betting everything on all or nothing — shadow traffic, canaries with growing real traffic, when a difference in errors is real and how to automate the rollback.
Prerequisites
Before this unit it helps to have done:
- Distributed AI (Course 5 · Unit 3)
The full explanations, auto-graded exercises, exams and projects are inside the academy.
Every lesson you complete gives you 10 yang, the academy's currency, and every unit exam you pass, 50.
Shall we start?
Create your account and activate your subscription: you get the whole syllabus from day one.