logoalt Hacker News

TorchTPU: Running PyTorch Natively on TPUs at Google Scale

110 pointsby mjiyesterday at 8:53 PM4 commentsview on HN

Comments

in-silicoyesterday at 11:30 PM

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

Reubendyesterday at 11:50 PM

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

show 1 reply
noraciststoday at 3:17 AM

Very excited for this.

yujunjietoday at 3:23 AM

[dead]

crimebrasiltoday at 1:20 AM

[dead]