Google and Meta Open-Source TorchTPU for Native PyTorch on TPUs

Google and Meta released TorchTPU as open source at PyTorch Conference 2026, letting teams run Hugging Face, vLLM, and TorchTitan workloads on Google Cloud

By AI World

Google and Meta Open-Source TorchTPU for Native PyTorch on TPUs

🚀 **Google** and **Meta** open-sourced **TorchTPU** at **PyTorch Conference 2026**, giving developers a native **PyTorch** path onto **Google Cloud** tensor processing units without rebuilding models tuned for **NVIDIA** GPUs.

The stack supports eager debugging, **torch.compile** for production, and validated hooks into **Hugging Face**, **vLLM**, **SGLang**, **TorchTitan**, and **Ray**. Google says many workloads need only a device change to run on **TPUs** spanning **v5e**, **v5p**, **v6e**, and **v7 Ironwood**, though peak performance may still require tuning shapes and sharding.

That matters because **TPUs** underpin much of **Google's** **Gemini** training, yet PyTorch shops have long treated Google silicon as a separate port. **Meta** described the release as essential hardware diversity for ads, recommendation, and large language model systems that cannot lock into one accelerator vendor.

Documentation highlights **FP8** quantization, mixture-of-experts transformers, and multi-slice training across thousands of chips. The code lives on **GitHub** under **Apache 2.0**, installable via **pip install torch_tpu**. ⚙️

For enterprises juggling **GPU** shortages and cloud commitments, fungible PyTorch code lowers the cost of shifting fine-tuning and inference between silicon generations—and keeps the accelerator market competitive.

Affissi