advanced~10h
Model Optimization: Compression & KV Cache
Learn quantization, pruning, distillation, and the size and structure of KV Caches.
4
Subtopics
1
Exercises
1
Projects
1
Quiz Qs
8
Flashcards
▶📚 Prerequisites(1)
🎓 Learning objectives
- •Compare PTQ and QAT quantization techniques
- •Explain KV Caching and calculate KV cache size: $O(layers imes heads imes seq imes dim)$
- •Describe Multi-Query Attention (MQA) and Grouped-Query Attention (GQA)
Model Optimization: Compression & KV Cache is a Pro topic
Sign in, then upgrade to Pro or Power to unlock this topic and the full AI Engineering curriculum.
📂 Subtopics
Related concepts
llm-foundationsllm-deployment
Next to learn
llm-deployment →