Skip to content

Commit

Permalink
Don't do libtorch pre-cxx11-abi for ROCm
Browse files Browse the repository at this point in the history
  • Loading branch information
kit1980 authored Dec 20, 2024
1 parent c922275 commit b4bb616
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/scripts/generate_binary_build_matrix.py
Original file line number Diff line number Diff line change
Expand Up @@ -353,7 +353,10 @@ def generate_libtorch_matrix(
if os == WINDOWS:
abi_versions = [RELEASE, DEBUG]
elif os == LINUX:
abi_versions = [PRE_CXX11_ABI, CXX11_ABI]
if with_rocm == ENABLE:
abi_versions = [CXX11_ABI]
else:
abi_versions = [PRE_CXX11_ABI, CXX11_ABI]
elif os in [MACOS_ARM64]:
abi_versions = [CXX11_ABI]
else:
Expand Down

0 comments on commit b4bb616

Please sign in to comment.