Production ML: Serving, Quantization and Monitoring
Everything between a trained model and a live endpoint: training-system budgets, quantization, batching, KV-cache capacity, and drift monitoring. You will estimate throughput and memory, quantize weights and caches, size continuous batching, and decide when to retrain. Take it after the ML engineer track or the deep-learning essentials.
Your progress
0/30 · 0%Path readiness 0%Easy 0% · Medium 0% · Hard 0%
Continue path · Micro-Batch CountWhat you will learn
- Budget training memory, throughput, and sharded parameter storage
- Quantize weights and KV caches and measure latency and memory savings
- Serve with dynamic batching, prefix caching, and latency SLA budgets
- Monitor drift and time retraining against its cost
Before you start
1Training Systems and Cost
The compute bill before anything ships: micro-batch counts, throughput and latency estimates, gradient-checkpointing memory, parameter shard ranges, and FSDP shard sizes.
- Easy
- Easy
- Easy
- Medium
- Easy
- Easy
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
2Quantization and Compression
Smaller and faster models: quantized inference latency, MXFP4 block-quantization error, step sizes and error variance, memory-savings ratios, and quantized KV-cache size.
- Medium
- Hard
- Easy
- Easy
- Easy
- Easy
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
3Serving, Batching and Caching
Keep the endpoint busy: decode-latency estimates, prefix-cache reuse, dynamic batch admission, the batch-latency tradeoff, latency SLA budgets, and a continuous-batching slot simulation.
- Easy
- Easy
- Medium
- Medium
- Medium
- Hard
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
4LLM Inference Capacity
Capacity planning for serving: GQA cache savings, KV-cache bytes per token, the roofline crossover batch size, tokens per second from MFU, prefill-decode throughput blending, and the latency you can promise at a target throughput.
- Easy
- Easy
- Hard
- Medium
- Medium
- Medium
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
- Tokens Per Second From MFUMedium
- Prefill Decode Throughput BlendMedium
- Latency For Target ThroughputMedium
5Monitoring, Drift and Retraining
Production is not static: one-sample KS and chi-square drift statistics, feature-drift KS, retraining cost-benefit, feature-store consistency, and retrain cadence.
- Medium
- Medium
- Hard
- Medium
- Easy
- Medium
Stage checkpoint
0/2 to passA checkpoint is a short retrieval test drawn from this stage: solve 2 of 3 from memory to mark the stage complete. The stage stays open either way.
- One-Sample KS Drift StatisticMedium
- Retraining Cost-BenefitMedium
- Retrain CadenceMedium
Capstone
CollectionClose the path with one real artifact from the catalog.
FLOPs, memory, and MFU: the systems math behind the serving budgets this path computes.