Skip to content

Commit aec8418

Browse files
atalmanpytorchmergebot
authored andcommitted
Pin conda to 23.5.2 for Docker builds (pytorch#106473)
Fixes pytorch#106470 Since conda released version 23.7.2 - https://github.com/conda/conda/releases our nightly Docker build started to fail ``` ROCm#28 12.53 ResolvePackageNotFound: ROCm#28 12.53 - conda==23.5.2 ``` This PR pins conda Docker install to 23.5.2 to fix nightly Docker release Pull Request resolved: pytorch#106473 Approved by: https://github.com/seemethere, https://github.com/malfet
1 parent 1f1dfa9 commit aec8418

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ ARG CUDA_VERSION=11.7
6767
ARG CUDA_CHANNEL=nvidia
6868
ARG INSTALL_CHANNEL=pytorch-nightly
6969
# Automatically set by buildx
70-
RUN /opt/conda/bin/conda update -y conda
71-
RUN /opt/conda/bin/conda install -c "${INSTALL_CHANNEL}" -y python=${PYTHON_VERSION}
70+
# Note conda needs to be pinned to 23.5.2 see: https://github.com/pytorch/pytorch/issues/106470
71+
RUN /opt/conda/bin/conda install -c "${INSTALL_CHANNEL}" -y python=${PYTHON_VERSION} conda=23.5.2
7272
ARG TARGETPLATFORM
7373

7474
# On arm64 we can only install wheel packages.

0 commit comments

Comments
 (0)