Yes. Google now points PyTorch users to TorchTPU, an open-source, PyTorch-native backend for TPUs. It replaces PyTorch/XLA, which is deprecated.
TorchTPU
Google's TorchTPU documentation describes the following:
- Co-developed with the PyTorch team at Meta, and open source.
- Eager execution by default, with one process per device.
torch.compilecaptures the graph with TorchDynamo and compiles it for TPU through OpenXLA and StableHLO.- Distributed training through
torch.distributedwith thetpu_distbackend, supporting DDP, FSDP2 and DTensor. - A
tpudevice in place ofcuda:torch.device("tpu"), installed withpip install torch_tpu.
PyTorch/XLA is being retired
The PyTorch/XLA project page says "This project is deprecated and replaced by TorchTPU" and that the repository "will be archived on November 15, 2026." It asks teams to start new PyTorch TPU work with TorchTPU and move existing workloads over.
JAX-based serving stacks remain supported separately for JAX workflows. For the chip itself, see what a TPU is, and for the wider field, NVIDIA's main competitors in AI.