TorchTPU: Running PyTorch Natively on TPUs at Google Scale- Google Developers Blog
Apr 7, 2026Claudio Basile, Kat Ko, Ben Wilson, Lee Howes, Bill Jia, Joe Pamer, Michael Voznesensky, Robert Hundt

Summary
Introduced TorchTPU, a new engineering effort to enable PyTorch to run natively and efficiently on Google's Tensor Processing Units (TPUs). This includes an 'Eager First' philosophy using PyTorch's 'PrivateUse1' interface with Debug, Strict, and Fused eager modes. For static compilation, it leverages Torch Dynamo, XLA, and StableHLO, with support for custom kernels via Pallas and JAX. TorchTPU also enhances distributed training support for DDP, FSDPv2, and DTensor, and addresses the MPMD challenge for divergent executions. Hardware awareness guidelines are provided for optimal TPU utilization.
More from the Google Developer Platform trail
- Autonomous LLM post-training with Tunix on TPUs- Google Developers Blog
- HeyGen x Google Cloud: Bringing Avatar IV to TPUs- Google Developers Blog
- Run Ray on TPU, Part 2: Ray AI libraries- Google Developers Blog
- Scaling Agentic RL: High-Throughput Agentic Training with Tunix- Google Developers Blog
- Run Ray on TPU, Part 1: The foundations- Google Developers Blog