Blogs / Why Running PyTorch on TPUs Used to Be Harder

Why Running PyTorch on TPUs Used to Be Harder

What a Hugging Face post says about how the TPU stack grew up, what PyTorch on TPUs meant until now and what TorchTPU changes.

  • Learning
  • 1 min read

For: Learners who know what PyTorch is.

How the TPU stack grew up

The TPU stack grew up around TensorFlow and JAX, and PyTorch users had to work harder to get in.[1]

What TorchTPU changes

With TorchTPU, a native PyTorch backend, TPU is now just another device.[1]

PyTorch on TPUs untilnowwent through PyTorch/XLA(torch_xla)TorchTPUa native PyTorch backendTPU is just anotherdeviceas the post puts itreplaced by
What changes with TorchTPU?

Sources

  1. Hugging Face and TorchTPU (huggingface.co · checked )

More articles