Making Models Smaller & Faster

Generative & Agentic AI · Customize & Ship · Master · 26 min

Do the memory maths for any model, choose a precision, explain quantization, distillation, the KV cache, FlashAttention and batching, and serve models on AWS with autoscaling and safe rollouts.

This lesson is part of TuringPath Pro. See plans.

What you will learn

  • Memory maths: parameters × bytes
  • Quantization: fewer bits per number
  • Distillation and pruning
  • Faster generation: KV cache, FlashAttention, GQA, batching
  • Serving on AWS: chips, endpoints, scaling and safe rollouts
  • Go deeper (engineer level)

More in Customize & Ship

Previous: Fine-Tuning & LoRA · Next: LLM Inference & Serving at Scale