Skip to content

Commit

Permalink
Restrict conda pin to 23.7.3 to macos only (#4754) (#4755)
Browse files Browse the repository at this point in the history
Follow up on #4752 Restrict to
MacOS only. Pinning to 23.7.3 for everything causes failure in aarch64
builds here:
https://github.com/pytorch/audio/actions/runs/6980246736/job/18995112761
  • Loading branch information
atalman authored Nov 24, 2023
1 parent 0eb2864 commit 5351c1f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions .github/actions/setup-binary-builds/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ runs:
set -euxo pipefail
CONDA_ENV="${RUNNER_TEMP}/conda_environment_${GITHUB_RUN_ID}"
# Both conda-build and conda need to be advanced togeather.
# This will make system conda use required value.
conda install --yes conda=23.7.3
if [[ "${PYTHON_VERSION}" = "3.11" ]]; then
if [[ "${PACKAGE_TYPE:-}" == "conda" ]]; then
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/build_conda_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,10 @@ jobs:
export USE_OPENMP="0"
fi
# conda 23.10 is installed by default on macos M1
# and this creates an issue. Hence downgrading it here
conda install --yes conda=23.7.3
${CONDA_RUN} conda build \
-c defaults \
-c "pytorch-${CHANNEL}" \
Expand Down

0 comments on commit 5351c1f

Please sign in to comment.