Reference · where the claims come from

Stand on the sources.

The lessons synthesize primary documentation, papers and production experience. Where a number is an estimate, the lesson says so. Where a topic moves quickly, the source is linked so you can check the current state.

43 sources7 groupsLast verified: November 2026

Hardware and performance models

The physical facts behind every estimate in the inference track.

5 items
Documentation
NVIDIA H100 Tensor Core GPU

Memory capacity, bandwidth and BF16 tensor throughput for the H100 family.

Documentation
NVIDIA H200 Tensor Core GPU

HBM3e capacity and bandwidth for the H200.

Documentation
NVIDIA Blackwell / B200

Blackwell architecture, NVLink 5 and B200 platform details.

Paper
Roofline: An Insightful Visual Performance Model

The original roofline paper. Arithmetic intensity and the compute/memory ceiling.

Benchmark
MLPerf Inference

Standardized inference benchmarks. Useful for comparing systems, with caveats about workload shape.

Transformers, attention and the KV cache

Architecture details that change serving behavior.

5 items
Paper
Attention Is All You Need

The transformer paper. Read it for the attention and residual structure, not serving advice.

Paper
Fast Transformer Decoding: One Write-Head is All You Need

Multi-query attention and the KV-cache bandwidth problem.

Paper
GQA: Training Generalized Multi-Query Transformer Models

Grouped-query attention, the default KV-memory compromise in many open models.

Paper
Paper
DeepSeek-V3 Technical Report

A large sparse MoE, MLA and the infrastructure behind it.

Serving engines and scheduling

How production systems turn a model into a service.

8 items
Paper
Efficient Memory Management for Large Language Model Serving with PagedAttention

The vLLM paper: paged KV cache, memory waste and continuous batching.

Documentation
vLLM documentation

Scheduler, prefix caching, quantization and OpenAI-compatible serving.

Documentation
SGLang documentation

RadixAttention, prefix sharing and high-throughput serving.

Paper
SGLang: Efficient Execution of Structured Language Model Programs

RadixAttention and the case for prefix-aware scheduling.

Documentation
TensorRT-LLM

NVIDIA’s optimized inference stack, kernels, quantization and in-flight batching.

Documentation
Text Generation Inference

Hugging Face’s serving stack and deployment patterns.

Documentation
llama.cpp

Local and edge inference, quantization formats and a very different set of tradeoffs.

Documentation
llm-d

Distributed inference on Kubernetes, including disaggregated prefill/decode patterns.

Optimization and decoding

The techniques that make tokens cheaper or faster — and their limits.

7 items
Paper
FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awareness

Tiling and IO awareness. Why attention speed is about memory movement.

Paper
Fast Inference from Transformers via Speculative Decoding

The original speculative decoding formulation and acceptance-rate math.

Paper
EAGLE: Speculative Sampling Requires Rethinking Feature Uncertainty

A stronger draft strategy for speculative decoding.

Paper
Medusa: Simple LLM Inference Acceleration Framework with Multiple Decoding Heads

Multiple decoding heads as an alternative to a separate draft model.

Paper
GPTQ: Accurate Post-Training Quantization for Generative Pre-trained Transformers

One of the foundational 4-bit weight-only quantization methods.

Paper
AWQ: Activation-aware Weight Quantization

Protecting salient weights. A common serving choice for 4-bit models.

Paper

Harnesses, agents and tools

The loop, context and tooling layers around the model.

11 items
Article
Anthropic: Building Effective Agents

Practical patterns and the case for simple, composable workflows.

Paper
ReAct: Synergizing Reasoning and Acting in Language Models

The observe-think-act pattern that most agent loops resemble.

Paper
Reflexion: Language Agents with Verbal Reinforcement Learning

Self-reflection as a learning signal, and its limits.

Paper
Toolformer: Language Models Can Teach Themselves to Use Tools

Early evidence that tool use can be learned rather than hand-wired.

Documentation
Model Context Protocol specification

The protocol behind many tool integrations. Read the security sections too.

Documentation
Claude Code documentation

Permission modes, subagents, hooks, skills and MCP integration.

Documentation
OpenAI Codex documentation

Codex surfaces, sandboxing and approval modes.

Documentation
OpenCode documentation

Open-source coding harness: agents, tools, permissions and providers.

Documentation
Aider documentation

A focused coding agent with repository maps and edit formats.

Documentation
Cline documentation

IDE-native agent with tool approvals and MCP support.

Documentation
OpenHands

An open platform for software agents and sandboxed execution.

Safety, traces and evaluation

How to make agent behavior observable, testable and bounded.

4 items
Article
The lethal trifecta for AI agents

Private data + untrusted content + external communication. A useful threat model.

Documentation
OWASP Top 10 for LLM Applications

A structured catalog of application-layer risks, including prompt injection and excessive agency.

Documentation
OpenTelemetry GenAI semantic conventions

A vendor-neutral starting point for model and tool spans.

Documentation
OpenAI evals guide

Eval design basics, with useful caveats about judges and datasets.

Books and longer courses

Where to go after the lessons.

3 items
Book / course
Programming Massively Parallel Processors

The GPU programming foundation behind kernel-level intuition.

Book / course
Designing Machine Learning Systems

Production ML systems, data and operations. Not LLM-specific, but durable.

Book / course
Stanford CS336: Language Modeling from Scratch

A rigorous course on building language models, useful for deeper architecture work.

Type at least two characters. Search is indexed after the production build.
Lessons · labs · glossary↑↓ to browse · esc to close