We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b92da8c commit 3723ee7Copy full SHA for 3723ee7
.github/scripts/validate_binaries.sh
@@ -12,6 +12,13 @@ else
12
TEST_SUFFIX=" --package torchonly"
13
fi
14
15
+ # if RELESE version is passed as parameter - install speific version
16
+ if [[ ! -z ${RELEASE_VERSION} ]]; then
17
+ INSTALLATION=${INSTALLATION/"torch "/"torch==${RELEASE_VERSION} "}
18
+ INSTALLATION=${INSTALLATION/"-y pytorch "/"-y pytorch==${RELEASE_VERSION} "}
19
+ INSTALLATION=${INSTALLATION/"::pytorch "/"::pytorch==${RELEASE_VERSION} "}
20
+ fi
21
+
22
export OLD_PATH=${PATH}
23
# Workaround macos-arm64 runners. Issue: https://github.com/pytorch/test-infra/issues/4342
24
if [[ ${TARGET_OS} == 'macos-arm64' ]]; then
0 commit comments