Back to directory

How To Scale Your Model

A short, blog-style textbook from Google DeepMind researchers that explains how TPUs work, how large language models run at scale, and how to choose parallelism strategies that avoid communication bottlenecks.

How To Scale Your Model

How To Scale Your Model is a written explainer aimed at demystifying the practice of scaling large language models on TPUs. It covers how TPUs work, how LLMs actually execute at scale, and how to choose parallelism schemes for training and inference that avoid communication bottlenecks, and it is published as a website built with Jekyll.

The repository includes scripts to build the site locally and to combine all chapters into a single Markdown or Word document. It was written by researchers at Google DeepMind and is released under the MIT license.

More in Books

See all 105
  • A long technical guide to AI agent memory: why stateless LLMs need it, the different memory architectures from vector stores to knowledge graphs, and how Cognee implements one as an open-source memory layer.

  • Samizdat

    rare-books.vercel.app

    A free, curated shelf of rare internal memos, leaked handbooks, and out-of-print books from technology and business history, collected for builders to read or borrow.

  • A free, web-only book that explains AI systems, from raw compute to a deployed and governed behavior, design-first, for a software engineer who knows distributed systems but is new to machine learning.