At PyTorch Conference 2026, Google Cloud open-sourced TorchTPU, a native PyTorch stack for its TPUs co-developed with Meta's PyTorch team. The signal matters as much as the code: Google's silicon now sits on PyTorch's default hardware menu.

From bridge to native: migration shrinks to a device name

Google's blog puts it plainly: TPUs now join GPUs and CPUs as a native backend option for PyTorch, covering Cloud TPU v5e, v5p, v6e and v7 (Ironwood). In eager mode, .to("tpu") is the whole ritual; production workloads add torch.compile() on top, backed by custom ATen kernels and an XLA compilation cache. The engineering is already usable: Apache 2.0 on GitHub, version 0.2.0 on PyPI, Python 3.11+, and shipped examples for Llama, Qwen, ResNet, DLRM, minGPT and UNet with data and tensor parallelism. The developer forum posts a three-line install.

Not "it runs" — the whole stack moves

The real story is ecosystem gravity. On inference, a native vLLM backend (built with Inferact) preserves upstream schedulers and API servers while adding continuous batching, quantization and multi-chip parallelism; the SGLang backend (with RadixArk) reuses KV cache across requests via RadixAttention. llm-d 1.0 shipped the same day with Red Hat, IBM and 500+ contributors as a CNCF sandbox project doing prefix-cache-aware routing on Kubernetes. On training, TorchTitan integrates deeply: Google reports up to 52% MFU pre-training Qwen 3 8B with near-linear scaling across 8,192 Ironwood TPUs, plus recipes for Llama 3 70B/405B, Qwen 3 235B MoE and FLUX.1 12B. RL framework VeRL got an upstreamed TPU backend and a GRPO reference recipe, and Ray gained native TorchTPU support. Hugging Face reduces migration in Transformers v5 to device_map="tpu", with Diffusers native support and nightly CI on TPU infrastructure. Zenteiq's cited case: 4x aggregate throughput via GKE Inference Gateway and llm-d, lifting daily token capacity from 1.47B to 5.97B per 1,000 TPU v6e. Edge and agent tooling came along too: LiteRT (formerly TensorFlow Lite) joins the PyTorch ecosystem with a single litert-torch.convert() call, and the TPU Agent Suite preview lets coding agents like Claude Code run TPU diagnostics in natural language.

Discount the numbers, not the direction

The caveats are real: 52% MFU, the 8,192-chip scaling and the 4x throughput are all vendor- or partner-reported, with no third-party replication yet; the repo had just passed 700 stars at writing time. Reddit and Hacker News read TorchTPU as the successor to PyTorch/XLA, though the README shows it still runs an XLA/MLIR compilation backend — less a rebuild than a takeover of the device layer into PyTorch's main path. Meta's motive is candid: PyTorch engineering director Jana van Greunen said Meta "cannot be constrained by a single hardware architecture" and is putting LLM, ads and recommendation workloads on TPUs. Chinese media framed the release as a joint Meta-Google assault on Nvidia; the framing is loud, but the direction holds — CUDA's moat was never raw compute, it was migration cost. Squeeze that cost into one device name, and competition finally moves to price and supply.

For developers the takeaway is concrete: your next training script has one more device option — and the harder question of whose chips to rent just got more interesting.