TorchTPU: Running PyTorch Natively on TPUs at Google Scale

mji 105 points 4 comments April 23, 2026
developers.googleblog.com · View on Hacker News

Discussion Highlights (3 comments)

in-silico

This is great to see. I did trained some research models using the existing PyTorch/XLA on TPUs, and it was a mess of undocumented behavior and bugs (silently hanging after 8 hours of training!). If anyone is trying to use PyTorch on TPU before TorchTPU is released, you can check out the training pipeline that I ended up building to support my research: https://github.com/aklein4/easy-torch-tpu

Reubend

Sounds good, but my main question is: is this a fork, or a new backend they're building in (like MPS)?

noracists

Very excited for this.

Semantic search powered by Rivestack pgvector
5,406 stories · 50,922 chunks indexed