GraphCanon updated today · GitHub synced today
Decision brief
scaling-book
Good fit when
- You are working specifically with machine learning models that leverage Tensor Processing Units (TPUs) for performance and are looking to understand optimization techniques.
- If you require detailed methodologies focused on scaling LLMs using JAX on TPUs, this resource offers applicable insights.
Avoid when
- Do not use if your project focuses exclusively on GPU scaling or other hardware not aligned with Tensor Processing Units (TPUs).
- If you are looking for a general approach to any framework's scalability without emphasis on TPUs.
Observed Jul 16, 2026 · Source: enrich:decision_facts
Verify the decision
Maintenance and security
Full trust report- Maintenance
- Very active (4d since push)
- As of today
- Provenance
- Not a fork · Organization account
- As of today
- Security (OSV)
- No lockfile
- As of 1mo
Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.
Install
git clone https://github.com/jax-ml/scaling-bookSimilar tools
Same-category neighbours. No typed graph edges are catalogued for this tool yet.
Evidence and technical details
Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.
Overview
Provides insights and methodologies for scaling machine learning models particularly focusing on the use of tensor processing units (TPUs).
Capability facts
- MCP server
- No MCP server detected
Source: repo_scan · Aug 25, 2026
- Languages
- html, javascript
Source: github.language+package.json · Aug 25, 2026
Categories
Compatibility
Sourced claims from the README excerpt - not unsourced marketing copy.
Source: README excerpt (regex_v1, Aug 25, 2026)
python bin/convert_to_single_md.pySource link
Tags
README
How To Scale Your Model
This book aims to demystify the art of scaling LLMs on TPUs. We try to explain how TPUs work, how LLMs actually run at scale, and how to pick parallelism schemes during training and inference that avoid communication bottlenecks. The book is available at https://jax-ml.github.io/scaling-book.
Acknowledgments
This book was written by Jacob Austin, Sholto Douglas, Roy Frostig, Anselm Levskaya, Charlie Chen, Sharad Vikram, Federico Lebron, Peter Choy, Vinay Ramasesh and Albert Webson at Google DeepMind. Many of the ideas were first derived by James Bradbury and Reiner Pope.
The website uses a Distill-style Jekyll theme created by https://github.com/alshedivat/al-folio and the Distill team. Thank you!
Running Locally
To build this repo locally, you will need Ruby, ImageMagick, and Jupyter installed, which for MacOS can be installed with Homebrew using
brew install imagemagick ruby
pip install jupyter
After this is installed, you should make sure the correct version of Ruby is found in PATH. You should have at least Ruby 3.4.5 installed. Then you ought to be able to run
git clone https://github.com/jax-ml/scaling-book.git
cd scaling-book
bundle install
bundle exec jekyll serve
Once you have run jekyll serve successfully, the book will be available at http://127.0.0.1:4000/scaling-book.
The Github Pages deployment is handled by a GitHub Action that runs automatically on new commits to the main branch.
Generating a Single Document
To combine all chapters into a single markdown file with standardized formatting:
python bin/convert_to_single_md.py
This generates scaling-book-combined.md in the repository root. The script:
- Strips Jekyll frontmatter
- Converts
{% include figure.liquid %}to standard markdown images - Converts internal page links to anchor links
- Converts inline
$$math to$ - Strips unsupported LaTeX commands (with warnings)
To convert the combined markdown to a Word document:
pandoc scaling-book-combined.md -o scaling-book.docx
Contributing and Contact
If you see any issues or have questions, please leave a comment on the website itself (powered by Giscus) or in the GitHub discussion. Feel free to send a PR if you want to contribute. You can also email jaaustin [at] google [dot] com.
To contribute on GitHub you will need to sign a Google "Contributor License Agreement" (CLA). You can do that here: https://cla.developers.google.com/clas.
Citation
For attribution in academic contexts, please cite this work as
Austin et al., "How to Scale Your Model", Google DeepMind, online, 2025.
BibTeX citation
@article{scaling-book,
title = {How to Scale Your Model},
author = {Austin, Jacob and Douglas, Sholto and Frostig, Roy and Levskaya, Anselm and Chen, Charlie and Vikram, Sharad and Lebron, Federico and Choy, Peter and Ramasesh, Vinay and Webson, Albert and Pope, Reiner},
publisher = {Google DeepMind},
howpublished = {Online},
note = {Retrieved from https://jax-ml.github.io/scaling-book/},
year = {2025}
}
This book was originally called "How To Scale Your Dragon", after the Dreamworks film, hence the dragon imagery.
For agents
This page has a .md twin and JSON over the API.