File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,12 @@ RUN CONDA_ARCH=$([ "$TARGETARCH" = "arm64" ] && echo "aarch64" || echo "x86_64")
1414 /bin/bash ~/miniconda.sh -b -p /opt/conda && \
1515 rm ~/miniconda.sh
1616ENV PATH=/opt/conda/bin:$PATH
17- # ENV LD_LIBRARY_PATH=/opt/conda/lib:$LD_LIBRARY_PATH
1817
1918# Install CUDA and cuDNN.
2019ARG CUDA_VERSION=11.8
2120ARG CUDNN_VERSION=8.8
2221RUN conda install --name base --yes conda-libmamba-solver && \
2322 conda config --set solver libmamba && \
24- conda install --name base --channel conda-forge --yes cudatoolkit="$CUDA_VERSION" cudnn="$CUDNN_VERSION" && \
23+ conda create --name cuda --no-default-packages --channel conda-forge --yes cudatoolkit="$CUDA_VERSION" cudnn="$CUDNN_VERSION" && \
2524 conda clean --all --force-pkgs-dirs --yes
25+ ENV LD_LIBRARY_PATH=/opt/conda/envs/cuda/lib:$LD_LIBRARY_PATH
You can’t perform that action at this time.
0 commit comments