Google TPU
21 entries · 11 sections
Editor’s pick
I Start Here 2
How to Scale Your Model — Inference Book
Derives prefill and decode costs, batching limits, and KV cache memory from first principles, with worked latency estimates.
Efficiently Scaling Transformer Inference Paper
Analytical model of latency, memory, and partitioning trade-offs for serving very large transformers.
II Inference Engines 2
III Distributed Serving & Orchestration 3
llm-d Tool
Kubernetes-native distributed inference stack for vLLM and SGLang with prefix-cache-aware routing, prefill/decode disaggregation, and wide expert parallelism.
SkyPilot Tool
Runs and scales AI jobs and inference endpoints across clouds, Kubernetes, and on-prem clusters, placing work wherever GPUs are available and cheaper.
dstack Tool
Orchestration layer for GPU clouds, Kubernetes, and bare metal that provisions fleets and runs autoscaled inference services alongside training.
VIII Scheduling & Parallelism 1
GShard Paper
Scaled sparsely gated MoE transformers across thousands of TPU cores using top-2 routing, expert capacity limits, and XLA sharding annotations.
IX Kernels & GPU Programming 1
Pallas Docs
JAX extension for writing custom kernels that lower through Mosaic on TPUs and through Triton or Mosaic GPU on NVIDIA GPUs.
X Compilers & Graph Runtimes 2
XI Hardware & Accelerators 5
TPU7x (Ironwood) Documentation Docs
Google Cloud's reference for Ironwood TPU chip specs, pod topologies, VM configurations, and supported frameworks.
TPU 8t and TPU 8i Technical Deep Dive Article
Google Cloud blog detailing the eighth-generation TPU 8t training chip and TPU 8i inference chip, including the Boardfly topology.
Pallas TPU Hardware Model Docs
JAX documentation on the TPU memory spaces, core structure, and pipelining that Pallas kernels must account for.
TPU v4 Paper
Google's paper on the TPU v4 supercomputer, its optical circuit-switched interconnect, and embedding-accelerating SparseCores.
Hardware plugin that serves JAX and PyTorch models on TPUs through vLLM, moving to the vllm-project/vllm-jax repository.
XII Benchmarking & Capacity Planning 1
InferenceX Benchmark
SemiAnalysis benchmark, formerly InferenceMAX, that reruns public serving recipes on NVIDIA, AMD, and TPU systems through open CI with published logs.
XVI Providers & Clouds 1
Gemini Enterprise Agent Platform (formerly Vertex AI) Service
Google Cloud platform for serving Gemini and other models and for building, tuning, and deploying agents and custom models; the successor to Vertex AI.
XVII Case Studies & Engineering Blogs 1
A Postmortem of Three Recent Issues (Anthropic) Article
Anthropic's 2025 account of three serving bugs, covering a routing error, a TPU misconfiguration, and an approximate top-k compiler miscompilation.
XVIII Learning Resources 2
Full textbook behind the Start Here inference chapter, covering rooflines, TPU and GPU anatomy, sharding, and transformer math.
Hot Chips Event
Annual symposium at Stanford where vendors present new GPUs, accelerators, and interconnects at the level of architecture detail.