Pro
LLM internals in 3 weeks
A focused run through the advanced architecture track with the explainers that go with it. One problem a day.
0 of 15 steps done on this device
Next: How does attention work, without the maths overloadWeek 1 Attention and position 0/4
Week 2 Variants that save memory 0/5
- ProblemShare keys and values across heads with grouped-query attentionMedium
- ProblemLimit attention to a sliding window of recent tokensEasy
- ProblemRoute each token to its top 2 experts in a mixture of expertsMedium
- LessonWhat is a KV cache, and why it decides what you can serve
- ProblemGenerate one token at a time with a KV cacheMedium
Week 3 Serving 0/6
- ProblemWork out how many tokens fit in GPU memory for the KV cacheEasy
- LessonThe KV Cache Problem Is an OS Problem. Paging Is the Fix
- ProblemAllocate KV cache memory in pages, like vLLMMedium
- LessonSpeculative decoding, in plain English, and how it works in production
- ProblemVerify a draft model's guesses in speculative decodingMedium
- ProblemQuantize weights to int8 and measure the errorMedium
Progress is saved in this browser. Solved problems, lessons you marked done and mocks you took tick themselves; tick anything else by hand.
Other plans: AI Engineer in 4 weeks, ML Engineer in 6 weeks.