TorchTPU runs PyTorch models natively on Google TPUs
Hugging Face’s open-source TorchTPU project brings PyTorch workloads to Google TPUs while preserving familiar PyTorch code instead of requiring a separate compiler-centric workflow.

AT A GLANCE
Key points
- TorchTPU was announced as an open-source project
- It aims to move existing PyTorch code to TPUs with minimal changes
- Transformers v5 supports device_map="tpu"
- Diffusers integration follows the same native PyTorch approach
What is changing?
Hugging Face announced the open-source TorchTPU project on October 20, aiming to run PyTorch models natively on Google TPUs. Rather than requiring a separate XLA-centered development path, the project is designed to preserve existing PyTorch code and familiar workflows.
The effort brings together the PyTorch core, Google Cloud’s TPU team, and Hugging Face libraries. In Transformers v5, models can be placed on TPUs with device_map="tpu", while Diffusers support follows the same native PyTorch approach. Google Cloud says TorchTPU is intended to move existing code with only small changes.
The announcement is a meaningful step toward reducing development friction, but real gains will vary by model, TPU generation, and workload. Teams should measure accuracy, compilation time, memory use, and total cost in their own environment before making a production decision.
Explore the original sources
Source date: 20 October 2026.
Published by AI Radar: 20 Oct 2026, 20:10 (Istanbul, UTC+3).
FOLLOW THE TOPIC
Topics and tags
Share your discovery.
Send this story to a friend.
Reader comments
What do you think about this development? Share your experience or question. Comments are published after editorial approval.
Your name/nickname and comment become public if approved. Read: Privacy notice.






Loading comments…