#99 · Primary category: Deep Learning Frameworks

xla

compiler deep-learning pytorch xla

Enabling PyTorch on XLA Devices (e.g. Google TPU)

Project last updated:05/27/26

GitHub Stars

2.8K

Forks

570

Contributors

264

License

Other

Why we included this project

PyTorch/XLA is the main way to run PyTorch models on Google Cloud TPUs. It sends tensor operations through the XLA compiler, which fuses and optimizes the computation graph so the TPU's hardware is actually put to work, not treated as a slow compatibility layer. The package installs with pip on TPU VMs, supports distributed training across chips via the PJRT runtime, and has handled demanding workloads like Stable Diffusion. Since TPUs can be far cheaper per flop than GPUs for many training and inference jobs, this is the practical route for teams that want to keep their existing PyTorch code while moving to TPU infrastructure.

Articles for this project

No articles for this project yet.

To suggest a topic or contribute an article, contact us.

Related projects in this category