diff --git a/Dockerfile b/Dockerfile index aac97673c..f1b29ea7a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -127,18 +127,18 @@ WORKDIR /home/${USERNAME} ENV PATH="${PATH}:/home/${USERNAME}/.local/bin" # Upgrade pip and install packages. -RUN python3.10 -m pip install --no-cache-dir --upgrade pip setuptools pathtools promise pybind11 omegaconf +RUN python3.10 -m pip install --no-cache-dir --upgrade pip setuptools==69.5.1 pathtools promise pybind11 omegaconf # Install pytorch and submodules # echo "${CUDA_VERSION}" | sed 's/.$//' | tr -d '.' -- CUDA_VERSION -> delete last digit -> delete all '.' RUN CUDA_VER=$(echo "${CUDA_VERSION}" | sed 's/.$//' | tr -d '.') && python3.10 -m pip install --no-cache-dir \ - torch==2.0.1+cu${CUDA_VER} \ - torchvision==0.15.2+cu${CUDA_VER} \ + torch==2.1.2+cu${CUDA_VER} \ + torchvision==0.16.2+cu${CUDA_VER} \ --extra-index-url https://download.pytorch.org/whl/cu${CUDA_VER} # Install tiny-cuda-nn (we need to set the target architectures as environment variable first). ENV TCNN_CUDA_ARCHITECTURES=${CUDA_ARCHITECTURES} -RUN python3.10 -m pip install --no-cache-dir git+https://github.com/NVlabs/tiny-cuda-nn.git@v1.6#subdirectory=bindings/torch +RUN python3.10 -m pip install --no-cache-dir git+https://github.com/NVlabs/tiny-cuda-nn.git#subdirectory=bindings/torch # Install pycolmap, required by hloc. RUN git clone --branch v0.4.0 --recursive https://github.com/colmap/pycolmap.git && \