{"adoption": {"forks": 570, "observed_at": "2026-08-28T04:07:22.701664+00:00", "stars": 2803}, "canonical_url": "https://ross.abutalabs.com/products/pytorch-xla", "card": {"archived": false, "artifact_type": "library", "description": "Enabling PyTorch on XLA Devices (e.g. Google TPU)", "domain": ["deep-learning", "machine-learning", "gpu-computing"], "enriched": true, "function": ["deep-learning", "compiler", "machine-learning", "gpu-computing"], "health_score": 87, "homepage": "https://pytorch.org/xla", "language": "C++", "license": "NOASSERTION", "license_family": "other", "maturity": "active", "member_repos": ["pytorch/xla"], "name": "pytorch/xla", "platform": ["python", "cloud"], "pushed_at": "2026-05-27T19:58:05+00:00", "repo": "pytorch/xla", "stars": 2803, "tags": ["pytorch", "tpu", "xla", "torchtpu", "lazy-tensor-tracing", "distributed-training", "linux"], "topics": ["compiler", "deep-learning", "pytorch", "xla"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/pytorch-xla", "repo": "pytorch/xla", "role": "main", "score": 69}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.701664+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T08:14:31.881675+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ba454fc6a76b97cb8fab243e29e8f3ffdd016836cf5e2777caa1f48f858f2bc6", "fetched_at": "2026-08-28T04:07:22.701664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/xla"}, {"content_hash": "430678b24f5c00310407b673bbdf1d1e2c1ed2ed584676497378067130dab08d", "fetched_at": "2026-08-29T09:54:27.654761+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/xla"}, {"content_hash": "bfe7e85e1cdf57452a3cf1dab0a7f7c4f981f36c939a9a44aa399f6b8d8ec720", "fetched_at": "2026-08-29T09:54:27.663955+00:00", "kind": "site_page", "missing": false, "url": "https://docs.pytorch.org/xla/release/r2.8/index.html"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.701664+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T08:14:31.881675+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ba454fc6a76b97cb8fab243e29e8f3ffdd016836cf5e2777caa1f48f858f2bc6", "fetched_at": "2026-08-28T04:07:22.701664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/xla"}, {"content_hash": "430678b24f5c00310407b673bbdf1d1e2c1ed2ed584676497378067130dab08d", "fetched_at": "2026-08-29T09:54:27.654761+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/xla"}, {"content_hash": "bfe7e85e1cdf57452a3cf1dab0a7f7c4f981f36c939a9a44aa399f6b8d8ec720", "fetched_at": "2026-08-29T09:54:27.663955+00:00", "kind": "site_page", "missing": false, "url": "https://docs.pytorch.org/xla/release/r2.8/index.html"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T08:14:31.881675+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ba454fc6a76b97cb8fab243e29e8f3ffdd016836cf5e2777caa1f48f858f2bc6", "fetched_at": "2026-08-28T04:07:22.701664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/xla"}, {"content_hash": "430678b24f5c00310407b673bbdf1d1e2c1ed2ed584676497378067130dab08d", "fetched_at": "2026-08-29T09:54:27.654761+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/xla"}, {"content_hash": "bfe7e85e1cdf57452a3cf1dab0a7f7c4f981f36c939a9a44aa399f6b8d8ec720", "fetched_at": "2026-08-29T09:54:27.663955+00:00", "kind": "site_page", "missing": false, "url": "https://docs.pytorch.org/xla/release/r2.8/index.html"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.701664+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.701664+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.701664+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T08:14:31.881675+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ba454fc6a76b97cb8fab243e29e8f3ffdd016836cf5e2777caa1f48f858f2bc6", "fetched_at": "2026-08-28T04:07:22.701664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/xla"}, {"content_hash": "430678b24f5c00310407b673bbdf1d1e2c1ed2ed584676497378067130dab08d", "fetched_at": "2026-08-29T09:54:27.654761+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/xla"}, {"content_hash": "bfe7e85e1cdf57452a3cf1dab0a7f7c4f981f36c939a9a44aa399f6b8d8ec720", "fetched_at": "2026-08-29T09:54:27.663955+00:00", "kind": "site_page", "missing": false, "url": "https://docs.pytorch.org/xla/release/r2.8/index.html"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.701664+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.701664+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T08:14:31.881675+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ba454fc6a76b97cb8fab243e29e8f3ffdd016836cf5e2777caa1f48f858f2bc6", "fetched_at": "2026-08-28T04:07:22.701664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/xla"}, {"content_hash": "430678b24f5c00310407b673bbdf1d1e2c1ed2ed584676497378067130dab08d", "fetched_at": "2026-08-29T09:54:27.654761+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/xla"}, {"content_hash": "bfe7e85e1cdf57452a3cf1dab0a7f7c4f981f36c939a9a44aa399f6b8d8ec720", "fetched_at": "2026-08-29T09:54:27.663955+00:00", "kind": "site_page", "missing": false, "url": "https://docs.pytorch.org/xla/release/r2.8/index.html"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.701664+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.701664+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.701664+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T08:14:31.881675+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ba454fc6a76b97cb8fab243e29e8f3ffdd016836cf5e2777caa1f48f858f2bc6", "fetched_at": "2026-08-28T04:07:22.701664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/xla"}, {"content_hash": "430678b24f5c00310407b673bbdf1d1e2c1ed2ed584676497378067130dab08d", "fetched_at": "2026-08-29T09:54:27.654761+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/xla"}, {"content_hash": "bfe7e85e1cdf57452a3cf1dab0a7f7c4f981f36c939a9a44aa399f6b8d8ec720", "fetched_at": "2026-08-29T09:54:27.663955+00:00", "kind": "site_page", "missing": false, "url": "https://docs.pytorch.org/xla/release/r2.8/index.html"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.701664+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:07:22.701664+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T08:14:31.881675+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ba454fc6a76b97cb8fab243e29e8f3ffdd016836cf5e2777caa1f48f858f2bc6", "fetched_at": "2026-08-28T04:07:22.701664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/xla"}, {"content_hash": "430678b24f5c00310407b673bbdf1d1e2c1ed2ed584676497378067130dab08d", "fetched_at": "2026-08-29T09:54:27.654761+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/xla"}, {"content_hash": "bfe7e85e1cdf57452a3cf1dab0a7f7c4f981f36c939a9a44aa399f6b8d8ec720", "fetched_at": "2026-08-29T09:54:27.663955+00:00", "kind": "site_page", "missing": false, "url": "https://docs.pytorch.org/xla/release/r2.8/index.html"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T08:14:31.881675+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ba454fc6a76b97cb8fab243e29e8f3ffdd016836cf5e2777caa1f48f858f2bc6", "fetched_at": "2026-08-28T04:07:22.701664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/xla"}, {"content_hash": "430678b24f5c00310407b673bbdf1d1e2c1ed2ed584676497378067130dab08d", "fetched_at": "2026-08-29T09:54:27.654761+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/xla"}, {"content_hash": "bfe7e85e1cdf57452a3cf1dab0a7f7c4f981f36c939a9a44aa399f6b8d8ec720", "fetched_at": "2026-08-29T09:54:27.663955+00:00", "kind": "site_page", "missing": false, "url": "https://docs.pytorch.org/xla/release/r2.8/index.html"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T08:14:31.881675+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ba454fc6a76b97cb8fab243e29e8f3ffdd016836cf5e2777caa1f48f858f2bc6", "fetched_at": "2026-08-28T04:07:22.701664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/xla"}, {"content_hash": "430678b24f5c00310407b673bbdf1d1e2c1ed2ed584676497378067130dab08d", "fetched_at": "2026-08-29T09:54:27.654761+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/xla"}, {"content_hash": "bfe7e85e1cdf57452a3cf1dab0a7f7c4f981f36c939a9a44aa399f6b8d8ec720", "fetched_at": "2026-08-29T09:54:27.663955+00:00", "kind": "site_page", "missing": false, "url": "https://docs.pytorch.org/xla/release/r2.8/index.html"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T08:14:31.881675+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "ba454fc6a76b97cb8fab243e29e8f3ffdd016836cf5e2777caa1f48f858f2bc6", "fetched_at": "2026-08-28T04:07:22.701664+00:00", "kind": "readme", "missing": false, "url": "https://github.com/pytorch/xla"}, {"content_hash": "430678b24f5c00310407b673bbdf1d1e2c1ed2ed584676497378067130dab08d", "fetched_at": "2026-08-29T09:54:27.654761+00:00", "kind": "homepage", "missing": false, "url": "https://pytorch.org/xla"}, {"content_hash": "bfe7e85e1cdf57452a3cf1dab0a7f7c4f981f36c939a9a44aa399f6b8d8ec720", "fetched_at": "2026-08-29T09:54:27.663955+00:00", "kind": "site_page", "missing": false, "url": "https://docs.pytorch.org/xla/release/r2.8/index.html"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 84, "longevity": 100, "rhythm": 33}, "computed_at": "2026-09-03T02:20:16.233290+00:00", "flags": ["no_license"], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 2858, "days_push": 98, "days_rel": 289, "gap_med": 91, "n_releases_24m": 6}, "score": 69, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}