DeepMind releases book on scaling LLMs on TPUs, demystifying performance optimization
TheZachMueller · x · 2026-08-24
Google DeepMind has released a new online book titled "How To Scale Your Model," which provides a systems-level view of running Large Language Models on TPUs. The text aims to demystify the science behind scaling models, covering hardware operations, inter-device communication, and parallelization strategies.
Key topics include:
- Performance Analysis: Using Roofline models to gauge how close model components are to theoretical optima.
- Parallelism Schemes: Guidance on choosing between data, tensor, and pipeline parallelism at different scales.
- Cost Estimation: Methods to estimate the memory, time, and financial costs of training and serving models.
- Co-design: Designing algorithms for specific hardware constraints and vice versa.
The book assumes a basic understanding of LLMs and JAX, targeting engineers looking to optimize performance at massive scale.
More from Infra
- open-daytona: rootless gVisor sandbox pool runs 1,536 concurrent agent-RL sandboxes on Slurm — victor_explore · 2026-11-30
- Notes on 'Looking Back at Postgres': Extensibility, No WAL, Open Source — sh_reya · 2026-11-30
- NRDC concedes BAAJA makes data centers pay grid costs, countering 'giveaway' claim — zacharynado · 2026-11-30
- NIDO 0.1.131: A Fully Offline Phone AI Assistant With No Account, No Cloud, No Analytics — NIDO_007 · 2026-11-30
- Ibiden to spend ~¥2T on four new plants as AI chip substrate demand extends past 2030 — BenBajarin · 2026-11-30
- Simulated FP64 matmul runs 83x faster than native on NVIDIA B300, ETH Zurich paper shows — JiliJeanlouis · 2026-11-30