Skip to content

Commit b21ac01

Browse files
authored
Use old libtorch package for test channel (#4719)
This should use old libtorch file and fix validation error: https://github.com/pytorch/builder/actions/runs/6801641578/job/18496782857
1 parent de23f95 commit b21ac01

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/scripts/generate_binary_build_matrix.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -240,6 +240,10 @@ def get_libtorch_install_command(
240240
build_name = f"libtorch-macos-{arch}-latest.zip"
241241
if channel == RELEASE:
242242
build_name = f"libtorch-macos-{mod.CURRENT_VERSION}.zip"
243+
# Please note this is temporary, to be removed when doing branch cut for 2.2 release
244+
elif channel == TEST:
245+
build_name = "libtorch-macos-latest.zip"
246+
243247
elif os == LINUX and (channel == RELEASE or channel == TEST):
244248
build_name = (
245249
f"{prefix}-{devtoolset}-{_libtorch_variant}-{mod.CURRENT_VERSION}%2B{desired_cuda}.zip"

0 commit comments

Comments
 (0)