Google open-sources PyTorch backend for TPUs

Original: Google open-sources TorchTPU, a native PyTorch back end for TPUs

Why This Matters

Easier PyTorch-on-TPU access could broaden Google Cloud TPU adoption among ML researchers.

Google has released TorchTPU as an open-source project on GitHub, providing a native PyTorch backend for its Tensor Processing Units (TPUs), including custom ATen kernels, a compilation cache, and distributed training examples.

Google has published TorchTPU under the google-pytorch GitHub organization, making it a public repository for developers who want to run PyTorch models directly on TPU hardware. The project delivers a native PyTorch backend—meaning users no longer need to rely on workarounds like XLA-based compilation paths to target TPUs from PyTorch code.

The library ships with custom ATen kernels covering a range of PyTorch operations, a compilation cache designed to cut repeated overhead during execution, and ready-made examples for distributed training and model deployment. The repo already has 398 stars and 20 forks, with 48 open issues and 221 pull requests indicating active development.

Technically, the project sits alongside existing TPU-PyTorch integration efforts such as torch_xla, but positions itself as a more direct backend implementation. Documentation is hosted at torchtpu.readthedocs.io. No official launch blog post or announcement date was included in the repository metadata.

Source

github.com — Read original →