Google and Meta Announce Native PyTorch Support for TPUs with TorchTPU

·2026.10.21 01:02

Key point

Google and Meta announce TorchTPU, a native PyTorch backend for TPUs supporting 450 Aten ops, with plans to open-source key repositories at the October 2026 PyTorch Conference.

1 / 5

Details

  • Google and Meta introduced TorchTPU, a native PyTorch backend for TPUs that removes JAX dependencies and allows execution via model.to("tpu"). The project plans to open-source TorchTPU, vLLM-TorchTPU, SGLang-TorchTPU, and TorchTitan repositories at the October 2026 PyTorch Conference.
  • Validated on 4,917 of the top 5,000 Hugging Face models, achieving a 98% pass rate for popular models and 97% for numerical accuracy.
  • Performance benchmarks include 500 tokens/sec/chip with >50% MFU for Llama 3 405B on 1,024 TPU v7x chips.
  • Key optimizations include SimpleFSDP, Scan Higher-Order Op, and Pallas SplashAttention, which provide up to 3.80x speedup for FLUX.1-dev and 17.5% attention speedup.
  • Distributed training uses 2D+ DeviceMesh to assign Tensor/Expert Parallelism to high-speed ICI and Data Parallelism to slower DCN, with SparseCore offloading for All-Gather/Reduce-Scatter.
  • TorchRec now includes a native TPU backend for recommendation models, matching JAX baseline performance (18.3ms step latency) on DLRM v2 with 32-chip TPU v7x clusters.
  • Future roadmap includes FP8/FP4 quantization support for TPUv8, Ray Core orchestration for RL loops, and expanded support for Reasoning, Multimodal, and Diffusion models.

This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.

Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.