Google open-sourced TorchTPU on 20 October. It lets PyTorch, a toolkit for building AI models, run natively on Google's Tensor Processing Units (TPUs), the company's custom AI chips. It was built with the PyTorch team at Meta, so developers keep their familiar tools for debugging, compiling and training across many chips.
Google announced support in several popular open-source projects for training and serving models, including vLLM, SGLang and TorchTitan. Hugging Face confirmed native TPU support in its Transformers, Diffusers and Kernels libraries. A separate TPU agent suite, in early preview, helps with setup, diagnosing problems and tuning performance.
For AI teams, the appeal is more choice of hardware without switching frameworks. But the project is still in active development, and some features, such as FlexAttention, aren't supported yet. Easier migration doesn't guarantee that every model will run unchanged, or more cheaply.
Related: AWS brings native PyTorch to Trainium
Sources: Google Cloud: TorchTPU is open source · PyTorch: introducing TorchTPU · Hugging Face: native TPU support · TorchTPU repository