pytorch/xla
Enabling PyTorch on XLA Devices (e.g. Google TPU) observed · 2026-08-28
Health v2 · maintenance only
69/100
- Activity 84
- Release rhythm 33
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 91
- age_days: 2858
- days_rel: 289
- days_push: 98
- n_releases_24m: 6
Adoption not part of the score
2803 stars · 570 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
PyTorch/XLA is a Python package that connects the PyTorch deep learning framework to XLA devices such as Google Cloud TPUs via the XLA deep learning compiler. It enables training and inference of PyTorch models on TPU hardware, with distributed support via PJRT and custom kernel support through Pallas.
Use cases
- train pytorch models on google cloud tpu
- run stable diffusion on tpu
- distributed pytorch training on tpu vms
- port existing pytorch code to tpu hardware
- run pytorch on kaggle free tpu
- write custom tpu kernels with pallas
When to choose
- you need to run PyTorch workloads on Google Cloud TPUs or Kaggle TPU VMs
- you want distributed PyTorch training across TPU pods with PJRT
- you want to experiment with PyTorch on TPU for free via Kaggle notebooks
When to avoid
- you only train on GPUs or CPUs - standard PyTorch suffices
- you need a fully native TPU backend - wait for TorchTPU, which will replace this project
- you depend on pre-C++11 ABI wheels or Python versions older than 3.11 in recent releases
Facets
library · maturity active
deep-learning compiler machine-learning gpu-computing deep-learning machine-learning gpu-computing python cloud pytorch tpu xla torchtpu lazy-tensor-tracing distributed-training linux
3 sources
- readme: https://github.com/pytorch/xla · fetched 2026-08-28 · ba454fc6a76b
- homepage: https://pytorch.org/xla · fetched 2026-08-29 · 430678b24f5c
- site_page: https://docs.pytorch.org/xla/release/r2.8/index.html · fetched 2026-08-29 · bfe7e85e1cdf
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| pytorch/xla | main | 69 |
For agents
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem