abi-stable

Installation
SKILL.md

PyTorch Stable ABI Migration

Migrate C++/CUDA PyTorch extension code to the stable ABI so that extensions built against one PyTorch version continue to work with future versions without recompilation.

Prerequisites

PyTorch 2.11+ is required. Before making any changes, verify the installed version:

python3 -c "import torch; print(torch.__version__)"

If the version is below 2.11, stop and tell the user they need to upgrade PyTorch first. The stable ABI headers (torch/csrc/stable/) were introduced in PyTorch 2.7 but the API surface needed for most migrations was not complete until 2.11.

Reference Documentation

Installs
11
GitHub Stars
8
First Seen
Jun 11, 2026
abi-stable — meta-pytorch/skills