Skip to content

Commit 6f3b8c3

Browse files
authored
feat: switch to libmamba solver
1 parent 41cd786 commit 6f3b8c3

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@ RUN CONDA_ARCH=$([ "$TARGETARCH" = "arm64" ] && echo "aarch64" || echo "x86_64")
1515
ENV PATH=/opt/conda/bin:$PATH
1616
ENV LD_LIBRARY_PATH=/opt/conda/lib:$LD_LIBRARY_PATH
1717

18-
# Install CUDA.
18+
# Install CUDA and cuDNN.
1919
ARG CUDA_VERSION=11.8
2020
ARG CUDNN_VERSION=8.8
21-
RUN conda install --channel conda-forge --yes cudatoolkit="$CUDA_VERSION" cudnn="$CUDNN_VERSION"
21+
RUN conda install --name base conda-libmamba-solver && \
22+
conda config --set solver libmamba && \
23+
conda install --channel conda-forge --yes cudatoolkit="$CUDA_VERSION" cudnn="$CUDNN_VERSION"

0 commit comments

Comments
 (0)