Inference Engineering

Hardware

Google TPU

21 entries · 11 sections

Editor’s pick

I Start Here 2

  1. 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.

    Start Here

  2. Efficiently Scaling Transformer Inference Paper

    Analytical model of latency, memory, and partitioning trade-offs for serving very large transformers.

    Start Here · MLSys 2023

II Inference Engines 2

  1. vLLM Tool

    High-throughput serving engine built on paged KV cache management, continuous batching, and a broad hardware plugin ecosystem.

    Datacenter Engines · Apache-2.0 · 97k stars · Updated 2026-11

  2. ZML Tool

    Zig inference stack that compiles models through MLIR and OpenXLA for NVIDIA, AMD, Intel, TPU, and Trainium from one codebase.

    Language-Native Runtimes · Apache-2.0 · 4.3k stars · Updated 2026-11

III Distributed Serving & Orchestration 3

  1. llm-d Tool

    Kubernetes-native distributed inference stack for vLLM and SGLang with prefix-cache-aware routing, prefill/decode disaggregation, and wide expert parallelism.

    Distributed & Disaggregated Serving · Apache-2.0 · 5.3k stars · Updated 2026-11

  2. 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.

    Autoscaling, Scheduling & Multi-Cloud · Apache-2.0 · 11k stars · Updated 2026-11

  3. dstack Tool

    Orchestration layer for GPU clouds, Kubernetes, and bare metal that provisions fleets and runs autoscaled inference services alongside training.

    Autoscaling, Scheduling & Multi-Cloud · MPL-2.0 · 2.3k stars · Updated 2026-11

VIII Scheduling & Parallelism 1

  1. GShard Paper

    Scaled sparsely gated MoE transformers across thousands of TPU cores using top-2 routing, expert capacity limits, and XLA sharding annotations.

    Parallelism & MoE Serving · ICLR 2021

IX Kernels & GPU Programming 1

  1. Pallas Docs

    JAX extension for writing custom kernels that lower through Mosaic on TPUs and through Triton or Mosaic GPU on NVIDIA GPUs.

    Kernel Languages & DSLs · Apache-2.0 · 37k stars · Updated 2026-11

X Compilers & Graph Runtimes 2

  1. XLA Tool

    Compiler behind JAX and TensorFlow, also usable from PyTorch, that turns StableHLO graphs into fused code for TPUs, GPUs, and CPUs.

    Open Compiler Stacks · Apache-2.0 · 4.7k stars · Updated 2026-11

  2. StableHLO Spec

    Versioned operation set that acts as the portability layer between JAX, PyTorch, and TensorFlow and compilers such as XLA and IREE.

    Open Compiler Stacks · Apache-2.0 · 730 stars · Updated 2026-11

XI Hardware & Accelerators 5

  1. TPU7x (Ironwood) Documentation Docs

    Google Cloud's reference for Ironwood TPU chip specs, pod topologies, VM configurations, and supported frameworks.

    Google TPU

  2. 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.

    Google TPU

  3. Pallas TPU Hardware Model Docs

    JAX documentation on the TPU memory spaces, core structure, and pipelining that Pallas kernels must account for.

    Google TPU

  4. TPU v4 Paper

    Google's paper on the TPU v4 supercomputer, its optical circuit-switched interconnect, and embedding-accelerating SparseCores.

    Google TPU · ISCA 2023

  5. vLLM JAX (tpu-inference) Tool

    Hardware plugin that serves JAX and PyTorch models on TPUs through vLLM, moving to the vllm-project/vllm-jax repository.

    Google TPU · experimental · Apache-2.0 · 481 stars · Updated 2026-11

XII Benchmarking & Capacity Planning 1

  1. InferenceX Benchmark

    SemiAnalysis benchmark, formerly InferenceMAX, that reruns public serving recipes on NVIDIA, AMD, and TPU systems through open CI with published logs.

    Suites & Leaderboards · Apache-2.0 · 2.1k stars · Updated 2026-11

XVI Providers & Clouds 1

  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.

    Hyperscaler AI Platforms · commercial

XVII Case Studies & Engineering Blogs 1

  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.

    Production Case Studies

XVIII Learning Resources 2

  1. How to Scale Your Model Book

    Full textbook behind the Start Here inference chapter, covering rooflines, TPU and GPU anatomy, sharding, and transformer math.

    Books · MIT · 1.5k stars · Updated 2026-10

  2. Hot Chips Event

    Annual symposium at Stanford where vendors present new GPUs, accelerators, and interconnects at the level of architecture detail.

    Conferences & Venues