Skip to content

Commit 19eba1d

Browse files
committed
Fix libtorch file naming in matrix
1 parent 1c5e341 commit 19eba1d

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

tools/scripts/generate_binary_build_matrix.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -238,9 +238,7 @@ def get_libtorch_install_command(
238238
else libtorch_variant
239239
)
240240
build_name = (
241-
f"{prefix}-{devtoolset}-{_libtorch_variant}-latest.zip"
242-
if devtoolset == "cxx11-abi"
243-
else f"{prefix}-{_libtorch_variant}-latest.zip"
241+
f"{prefix}-{_libtorch_variant}-latest.zip"
244242
)
245243

246244
if os == MACOS_ARM64:
@@ -251,9 +249,7 @@ def get_libtorch_install_command(
251249

252250
elif os == LINUX and (channel in (RELEASE, TEST)):
253251
build_name = (
254-
f"{prefix}-{devtoolset}-{_libtorch_variant}-{CURRENT_VERSION}%2B{desired_cuda}.zip"
255-
if devtoolset == "cxx11-abi"
256-
else f"{prefix}-{_libtorch_variant}-{CURRENT_VERSION}%2B{desired_cuda}.zip"
252+
f"{prefix}-{_libtorch_variant}-{CURRENT_VERSION}%2B{desired_cuda}.zip"
257253
)
258254
elif os == WINDOWS and (channel in (RELEASE, TEST)):
259255
build_name = (

0 commit comments

Comments
 (0)