From 60a305ccbf0b36437f570f89735d8ff8ad512469 Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 31 Aug 2023 12:30:28 -0700 Subject: [PATCH 1/3] Release only change temporary fix aarch64 builds --- .github/workflows/build_wheels_linux.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index a0470ee9cf..7de7a8e957 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -149,6 +149,10 @@ jobs: set -euxo pipefail source "${BUILD_ENV_FILE}" # shellcheck disable=SC2086 + # temporary change to force rlease aarch64 vision and audio builds use pre and hence install 2.1.0 torch + if [[ ${ARCH} == 'aarch64' && ${CHANNEL} == 'test' ]]; then + PIP_INSTALL_TORCH=${PIP_INSTALL_TORCH/"pip install"/"pip install --pre"} + fi ${CONDA_RUN} ${PIP_INSTALL_TORCH} - name: Run Pre-Script with Caching if: ${{ inputs.pre-script != '' }} From 5c66c87e22211b3e2d72d8d7f6f6b35cb16afa9a Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 31 Aug 2023 12:35:48 -0700 Subject: [PATCH 2/3] fix lint --- .github/workflows/build_wheels_linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index 7de7a8e957..a655ef4ef3 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -150,7 +150,7 @@ jobs: source "${BUILD_ENV_FILE}" # shellcheck disable=SC2086 # temporary change to force rlease aarch64 vision and audio builds use pre and hence install 2.1.0 torch - if [[ ${ARCH} == 'aarch64' && ${CHANNEL} == 'test' ]]; then + if [[ ${ARCH} == "aarch64" && ${CHANNEL} == "test" ]]; then PIP_INSTALL_TORCH=${PIP_INSTALL_TORCH/"pip install"/"pip install --pre"} fi ${CONDA_RUN} ${PIP_INSTALL_TORCH} From fc21cfbd6861aec20c154b32e536413fae60151c Mon Sep 17 00:00:00 2001 From: atalman Date: Thu, 31 Aug 2023 12:39:02 -0700 Subject: [PATCH 3/3] fix lint simplify --- .github/workflows/build_wheels_linux.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build_wheels_linux.yml b/.github/workflows/build_wheels_linux.yml index a655ef4ef3..96b72b592e 100644 --- a/.github/workflows/build_wheels_linux.yml +++ b/.github/workflows/build_wheels_linux.yml @@ -150,7 +150,7 @@ jobs: source "${BUILD_ENV_FILE}" # shellcheck disable=SC2086 # temporary change to force rlease aarch64 vision and audio builds use pre and hence install 2.1.0 torch - if [[ ${ARCH} == "aarch64" && ${CHANNEL} == "test" ]]; then + if [[ "${ARCH}" == "aarch64" ]]; then PIP_INSTALL_TORCH=${PIP_INSTALL_TORCH/"pip install"/"pip install --pre"} fi ${CONDA_RUN} ${PIP_INSTALL_TORCH}