Golden cheatsheet¶
A dense quick reference to the TorchTPU ecosystem, organised by topic. It covers the whole stack, from TPU silicon to TorchTPU, TorchTitan, vLLM-TorchTPU, SGLang-TorchTPU and llm-d. Keep a page open next to the chapter you are reading; the chapters carry the full explanations.
Pages by topic¶
| Page | Topics | Related chapters |
|---|---|---|
| Overview | The stack at a glance: layers, recommended defaults, canonical repositories and documentation | How to read this book, The TorchTPU stack |
| Fundamentals | TPU hardware, the ecosystem map, glossary, CUDA to TorchTPU translation | Chapter 1, Chapter 2, Chapter 3, Hardware, Glossary, CUDA to TorchTPU |
| How it works | Execution modes, memory, precision, dynamic shapes, collectives, disaggregated serving | Chapters 4 to 7, Chapter 13, Chapter 20 |
| Recipes | Setup, idioms and Hugging Face, training, serving, llm-d, model blueprints | Part II, Part IV, Part V, Guides |
| Diagnosis and evaluation | Profiling, diagnostics, observability, trade-offs, validation gates | Part III, Part VI |
| Extending the stack | Custom kernels, compiler passes, plugins, end-to-end blueprints | Chapter 12, Part VII |
| Reference tables | Environment variables, API matrix, llm-d API | Reference, Production readiness checklist |
The verified tables for environment variables, APIs, hardware and supported models live in the Reference section.