[ROCm][CI] Baseline legacy extensions in the Torch ABI audit (#50805)

Signed-off-by: Andreas Karatzas <akaratza@amd.com>

Andreas Karatzas committed Aug 8, 2026 at 01:01 UTC 643c125fab66d5ed5ec3143b7e764a77e7ae8ac7
1 file changed +7 -1
.buildkite/check-torch-abi.py
+7 -1
@@ -12,7 +12,13 @@ from torch_abi_audit.report import ExtensionReport, PackageReport
12
13 # Temporary allowlist of extensions not yet on the stable ABI.
14 # Shrink and remove over time.
15 -ALLOWED_UNSTABLE_LIBRARIES: tuple[str, ...] = ("third_party/deep_gemm/_C*.so",)
15 +ALLOWED_UNSTABLE_LIBRARIES: tuple[str, ...] = (
16 + # ROCm-only legacy extensions. Most ROCm ops have moved to
17 + # _C_stable_libtorch, but these two modules still bind libtorch directly.
18 + "_C.abi3.so",
19 + "_rocm_C.abi3.so",
20 + "third_party/deep_gemm/_C*.so",
21 +)
22
23
24 def _relative_path(lib: ExtensionReport, package_root: Path) -> str: