Google open-sources TorchTPU: TPU becomes a native PyTorch device, and CUDA's deepest moat begins to loosen
谷歌开源TorchTPU!TPU成PyTorch原生设备,CUDA最深的护城河开始松动
At PyTorch Conference 2026, Google announced the open-sourcing of TorchTPU, a complete software stack that lets PyTorch run natively on TPUs, making TPUs a native PyTorch option alongside GPUs and CPUs. The project was jointly developed by Google and Meta, with projects including vLLM, SGLang, Hugging Face, Ray, and TorchTitan integrating in parallel, and a 23-page technical report published on arXiv; according to the official PyTorch/XLA documentation, TorchTPU will replace PyTorch/XLA once it is public. The report also notes that changing just one line to .to("tpu") does not achieve peak performance, that the default collective-communication compilation approach brings a 30% to 40% end-to-end loss, and that most performance data was self-tested by Google and still requires independent community verification.