Full-Stack AI & SystemsTransformers & Large Language Model Internals
0%
overview/stage 03 of 13

Transformers & Large Language Model Internals

Tokenization, attention mechanics, RoPE, KV cache, and decoding algorithms.

3 weeks · wk 5–7Core / deep pace6 topics18 Interview Questions
Why this pace:To design low-latency AI backends, configure context windows, and optimize GPU memory, you must master the exact mechanics of token generation and KV cache expansion.
SEC FOCUS

KV cache consumption grows linearly with batch size and sequence length; without paging or quantization, serving spikes cause sudden GPU OOM crashes.

Topics & Action Items (6)
01
Tokenization: BPE, Tiktoken, SentencePiece & Token Tax
4 hrs
02
Self-Attention & Scaled Dot-Product Math
6 hrs
03
Multi-Query Attention (MQA) & Grouped-Query Attention (GQA)
4 hrs
04
Rotary Position Embedding (RoPE) & Context Extension
5 hrs
05
The KV Cache & Autoregressive Decoding Dynamics
5 hrs
06
Decoding Algorithms: Greedy, Nucleus (Top-p), Temperature & Min-P
4 hrs
Full-Stack AI & Systems Roadmap • ~28 Weeks • 60 Topics • LLMs / RAG / AI Agents / vLLM / PyTorch / GPU Infra
Local browser storage active•Back to top ↑