From 7e9234e79caf2202f13ca03cc354691e0e642461 Mon Sep 17 00:00:00 2001 From: Andrey Talman Date: Fri, 13 Sep 2024 15:19:16 -0400 Subject: [PATCH] [Validations] Set IS_M1_CONDA_BUILD_JOB for arm64 mac conda (#1989) --- .github/workflows/validate-macos-arm64-binaries.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/validate-macos-arm64-binaries.yml b/.github/workflows/validate-macos-arm64-binaries.yml index f7a707506..018411ee3 100644 --- a/.github/workflows/validate-macos-arm64-binaries.yml +++ b/.github/workflows/validate-macos-arm64-binaries.yml @@ -115,6 +115,7 @@ jobs: repository: "pytorch/builder" ref: ${{ inputs.ref || github.ref }} job-name: ${{ matrix.build_name }} + package-type: ${{ matrix.package_type }} binary-matrix: ${{ toJSON(matrix) }} script: | set -ex @@ -125,6 +126,11 @@ jobs: export USE_FORCE_REINSTALL=${{ inputs.use-force-reinstall }} export USE_EXTRA_INDEX_URL=${{ inputs.use-extra-index-url }} export USE_VERSION_SET=${{ inputs.use-version-set }} + + if [[ ${{ inputs.package-type }} == "conda" ]]; then + export IS_M1_CONDA_BUILD_JOB=1 + fi + if [[ ${USE_VERSION_SET} == 'true' ]]; then export VISION_RELEASE_VERSION=${{ fromJson(inputs.release-matrix).torchvision }} export AUDIO_RELEASE_VERSION=${{ fromJson(inputs.release-matrix).torchaudio }}