#99 · Primary category: Deep Learning Frameworks
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
tensorflow
An Open Source Machine Learning Framework for Everyone
pytorch
Tensors and Dynamic neural networks in Python with strong GPU acceleration
keras
Deep Learning for humans
nanoGPT
The simplest, fastest repository for training/finetuning medium-sized GPTs.
ray
Ray is an AI compute engine. Ray consists of a core distributed runtime and a set of AI Libraries for accelerating ML workloads.