Skip to content

Commit 478929e

Browse files
authored
Remove updating pre-cxx-abi mention for libtorch release builds as well (#1979)
1 parent 1c223ac commit 478929e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Diff for: scripts/gen_quick_start_module.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -158,8 +158,9 @@ def update_versions(versions, release_matrix, release_version):
158158
}
159159
if instr["versions"] is not None:
160160
for ver in [CXX11_ABI, PRE_CXX11_ABI]:
161-
# temporarily apply removal of cxx11 abi only to nightly and rocm builds
162-
if ver == PRE_CXX11_ABI and (release_version == "nightly" or gpu_arch_type == "rocm"):
161+
# temporarily remove setting pre-cxx11-abi. For Release 2.7 we
162+
# should remove pre-cxx11-abi completely.
163+
if ver == PRE_CXX11_ABI:
163164
continue
164165
else:
165166
instr["versions"][LIBTORCH_DWNL_INSTR[ver]] = (

0 commit comments

Comments
 (0)