From c1f40d33c89b361a1edad17aa25cfff1ab4014fd Mon Sep 17 00:00:00 2001 From: atalman Date: Mon, 6 Oct 2025 20:28:20 +0000 Subject: [PATCH] Fix docker build issue after 164575 (#164774) Looks like https://github.com/pytorch/pytorch/pull/164575 introduced an issue. The command is wrong: ``` conda install -c "whl/nightly" -y python=3.11 conda=25.7.0 ``` Should be just using default conda channel: ``` conda install -y python=3.11 conda=25.7.0 ``` Pull Request resolved: https://github.com/pytorch/pytorch/pull/164774 Approved by: https://github.com/Camyll --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index f73dfcc1af3a..331cf00593cb 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,7 +53,7 @@ ARG CUDA_PATH=cu121 ARG INSTALL_CHANNEL=whl/nightly # Automatically set by buildx # pinning version of conda here see: https://github.com/pytorch/pytorch/issues/164574 -RUN /opt/conda/bin/conda install -c "${INSTALL_CHANNEL}" -y python=${PYTHON_VERSION} conda=25.7.0 +RUN /opt/conda/bin/conda install -y python=${PYTHON_VERSION} conda=25.7.0 ARG TARGETPLATFORM