InferQuest

Library

The sources the curriculum recommends without assigning: books that span phases, canon that serves the whole map, references you keep open rather than finish. No XP here — just why each one earns its shelf space.

Books

Chapters 2–4 are review if you did Zero to Hero; the payload is 5–7.

The hands-on companion to the Transformer Internals phase. What it adds over Karpathy's videos: BPE tokenization done properly, loading real GPT-2 checkpoints into your own code and matching their outputs — the milestone where “my code” and “a real model” become the same thing — and fine-tuning for classification and instruction following.

The repo (github.com/rasbt/LLMs-from-scratch) is fully open; the book buys you the prose and the ordering, which matter most from chapter 5 on.

Inference Engineering Philip Kiely, 2026bookfree

Chapters stand alone: read it once end to end early in the inference path, then return to ch. 5 (Techniques) before spec decoding and ch. 7 (Production) alongside Production Serving. Skip ch. 1 if you've finished Bedrock.

The one book that covers the inference path's whole map — models, hardware, software, techniques, production — written by someone who spent four years at an inference shop explaining these tradeoffs to customers. It's a survey, not a deep dive: FlashAttention and FLOPs accounting get a paragraph where the quests here make you build them.

Use it as the connective tissue between quests: the chapter that tells you why a technique exists before the paper that tells you how, and the vocabulary reference for the interview gauntlet. Its Techniques chapter has the clearest short account of EAGLE-style speculative decoding in print. The PDF, EPUB, and audiobook are free from Baseten; only print costs money. Appendix B's reading list overlaps this library heavily — treat disagreements between the two as things to reconcile, not ignore.

Courses

Neural Networks: Zero to Hero Andrej Karpathycoursefree

Videos 1–3 and 7 are the spine; 4 (activations/batchnorm) pays off once you've met LayerNorm and init scales in the wild; 5 (backprop ninja) is optional if you hand-built micrograd.

Karpathy building neural nets from scratch on camera, from a scalar autograd engine to a small GPT. It's the on-ramp task in Go Brrrr for anyone who hasn't trained a model before, and it earns a library entry because you come back: The Forward Pass rebuilds the same GPT with real weights, and the training path re-derives the backward pass you first met here.

Posts

PyTorch internals Edward Z. Yang, 2019postfree

Still ~80% current. Skip the TH/THC legacy sections; read the 2020 dispatcher post as the patch.

The canonical tour of strides, views, autograd, and the operator registry — the parts of PyTorch that haven't changed in seven years. What it can't cover is the compiler stack (torch.compile: Dynamo, AOTAutograd, Inductor), which is now the other half of “internals”; the author's podcast below picks that up.

The successor to the 2019 post's dispatch chapter: DispatchKeys as a stack of functionality (autograd, autocast, tracing) that intercepts an op before its kernel runs. Read it immediately after the internals post; together they explain why a one-line PyTorch call does so much more than launch a kernel.

The compute/memory/overhead taxonomy the whole map leans on — it's the first assigned reading in Go Brrrr, and it sits in the library because you'll reread it: before profiling in the GPU phase, and again when decode bandwidth math shows up in the inference engine. Every perf conversation in this field silently assumes this post.

Podcasts

PyTorch Developer Podcast Edward Z. Yangpodcastfree

10–20 min episodes, one internals topic each. Start with strides, the dispatcher, and the Inductor IR episodes.

The living edition of the internals post, by the same author, covering the compile stack the 2019 post predates. Commute-sized: each episode is one mechanism explained by someone who built it.

Reference