Google open-sources TorchTPU, a PyTorch backend for its TPU chips
Google has released TorchTPU, an open-source project that lets PyTorch models run directly on its Tensor Processing Units. The package includes custom ATen kernels, a compilation cache for optimizing XLA computations, support for distributed training, and sample implementations for models like Llama, Qwen, ResNet and UNet. It is available via pip as version 0.2.0 or can be built from source using Bazel.