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

Signed-off-by: Andreas Karatzas <akaratza@amd.com>
This commit is contained in:
Andreas Karatzas
2026-08-08 01:01:04 -05:00
committed by GitHub
parent 6e18901195
commit 643c125fab
+7 -1
View File
@@ -12,7 +12,13 @@ from torch_abi_audit.report import ExtensionReport, PackageReport
# Temporary allowlist of extensions not yet on the stable ABI.
# Shrink and remove over time.
ALLOWED_UNSTABLE_LIBRARIES: tuple[str, ...] = ("third_party/deep_gemm/_C*.so",)
ALLOWED_UNSTABLE_LIBRARIES: tuple[str, ...] = (
# ROCm-only legacy extensions. Most ROCm ops have moved to
# _C_stable_libtorch, but these two modules still bind libtorch directly.
"_C.abi3.so",
"_rocm_C.abi3.so",
"third_party/deep_gemm/_C*.so",
)
def _relative_path(lib: ExtensionReport, package_root: Path) -> str: