Skip to content

Commit

Permalink
Use py311 miniconda install (pytorch#1479)
Browse files Browse the repository at this point in the history
  • Loading branch information
atalman authored Aug 14, 2023
1 parent 19007fe commit 5585c05
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conda/build_pytorch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ if [[ "$(uname)" == 'Darwin' ]]; then
miniconda_sh="${MAC_PACKAGE_WORK_DIR}/miniconda.sh"
rm -rf "$tmp_conda"
rm -f "$miniconda_sh"
retry curl -sS https://repo.anaconda.com/miniconda/Miniconda3-py310_23.5.2-0-MacOSX-x86_64.sh -o "$miniconda_sh"
retry curl -sS https://repo.anaconda.com/miniconda/Miniconda3-py311_23.5.2-0-MacOSX-x86_64.sh -o "$miniconda_sh"
chmod +x "$miniconda_sh" && \
"$miniconda_sh" -b -p "$tmp_conda" && \
rm "$miniconda_sh"
Expand All @@ -212,7 +212,7 @@ elif [[ "$OSTYPE" == "msys" ]]; then
export miniconda_exe="${WIN_PACKAGE_WORK_DIR}\\miniconda.exe"
rm -rf "$tmp_conda"
rm -f "$miniconda_exe"
curl -sSk https://repo.anaconda.com/miniconda/Miniconda3-py310_23.5.2-0-Windows-x86_64.exe -o "$miniconda_exe"
curl -sSk https://repo.anaconda.com/miniconda/Miniconda3-py311_23.5.2-0-Windows-x86_64.exe -o "$miniconda_exe"
"$SOURCE_DIR/install_conda.bat" && rm "$miniconda_exe"
pushd $tmp_conda
export PATH="$(pwd):$(pwd)/Library/usr/bin:$(pwd)/Library/bin:$(pwd)/Scripts:$(pwd)/bin:$PATH"
Expand Down

0 comments on commit 5585c05

Please sign in to comment.