Skip to content

Commit 2bbdbf2

Browse files
committed
Remove pre-cxx-abi mention
1 parent c98d4a1 commit 2bbdbf2

File tree

1 file changed

+5
-10
lines changed

1 file changed

+5
-10
lines changed

scripts/gen_quick_start_module.py

+5-10
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ class OperatingSystem(Enum):
2424
MACOS: str = "macos"
2525

2626

27-
PRE_CXX11_ABI = "pre-cxx11"
2827
CXX11_ABI = "cxx11-abi"
2928
DEBUG = "debug"
3029
RELEASE = "release"
@@ -57,8 +56,7 @@ class OperatingSystem(Enum):
5756
acc_arch_ver_map = acc_arch_ver_default
5857

5958
LIBTORCH_DWNL_INSTR = {
60-
PRE_CXX11_ABI: "Download here (Pre-cxx11 ABI):",
61-
CXX11_ABI: "Download here (cxx11 ABI):",
59+
CXX11_ABI: "Download here:",
6260
RELEASE: "Download here (Release version):",
6361
DEBUG: "Download here (Debug version):",
6462
MACOS: "Download arm64 libtorch here (ROCm and CUDA are not supported):",
@@ -157,13 +155,10 @@ def update_versions(versions, release_matrix, release_version):
157155
if x["libtorch_variant"] == "shared-with-deps"
158156
}
159157
if instr["versions"] is not None:
160-
for ver in [PRE_CXX11_ABI, CXX11_ABI]:
161-
if gpu_arch_type == "rocm" and ver == PRE_CXX11_ABI:
162-
continue
163-
else:
164-
instr["versions"][LIBTORCH_DWNL_INSTR[ver]] = (
165-
rel_entry_dict[ver]
166-
)
158+
for ver in [CXX11_ABI]:
159+
instr["versions"][LIBTORCH_DWNL_INSTR[ver]] = (
160+
rel_entry_dict[ver]
161+
)
167162

168163
elif os_key == OperatingSystem.WINDOWS.value:
169164
rel_entry_dict = {

0 commit comments

Comments
 (0)