TPU Model Design Considerations and Optimization Guide
Google•How-to••by Gagik Amirkhanyan and Vaibhav Singh•Google Developers Blog
The newly launched AI-Hypercomputer/tpu-codesign guide provides hardware-grounded design rules to help developers maximize performance on TPUs for LLMs and Mixture-of-Experts (MoE) workloads. Key principles include aligning reduction and output dimensions to 256 for systolic arrays, adopting LatentMoE to compress routed token traffic, and mapping parallel axes directly onto physical links.
A Google guide gives hardware-based design rules for LLMs and Mixture-of-Experts models on TPUs, covering 256-aligned dimensions, LatentMoE compression, and mapping parallel axes to physical links.
Who it is for
Teams building or adapting large models for Ironwood TPUs who need to choose model shapes, MoE layouts and parallelism settings.
Key points
Shape rules (principles 1-2) are presented as near-zero quality risk; architecture choices need ablations.
Google's measured results are from its own Ironwood profiling on 20-30B MoEs and a 63B LatentMoE; the post says the exact percentages are config-specific.
Eighth-generation TPU notes (TPU 8t, 8i, 8tx) are included, but the post says thresholds must be re-measured on those chips.
AI:MaxText now supports long-context training with four context-parallel strategies on Cloud TPU, using the Tokamax Splash Attention kernel to handle sequences of up to 14 million tokens.
AI:Google's performance team reports serving Qwen 3.5-397B on Ironwood TPUs with custom Pallas kernels and DP+EP sharding, claiming about 3.1x decode and 4.7x prefill throughput gains from April to June 2026.