Live data from Hacker News

TorchTPU: Running PyTorch Natively on TPUs at Google Scale

developers.googleblog.com

1–10 of 22 posts

Re: TorchTPU: Running PyTorch Natively on TPUs at Google Scale

#2
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

Re: TorchTPU: Running PyTorch Natively on TPUs at Google Scale

#8
post #3

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

I attended the related session at Next’26 yesterday. From my understanding it is a new backend and they will release the torch tpu source on github in one or two months. It will not support all ops initially but they are moving fast. Still for a while torchax is mature enough to run torch models on tpus by translating to jax.

Re: TorchTPU: Running PyTorch Natively on TPUs at Google Scale

#10
post #9

Now all that’s missing is an actual chip that can be purchased. Any ideas?

I'm thinking of picking up some used Gaudis from eBay. they're pretty TPU-like. but other than oddball hardware like that it's just the GPU duopoly and proprietary bespoke stuff the hyperscalers have made for themselves.

shit, maybe China will start selling Huawei Ascend chips internationally.

Post reply on HN