File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ FROM ubuntu:${UBUNTU_VERSION}
44
55ARG IMAGE_VERSION
66# https://docs.nvidia.com/deeplearning/cudnn/backend/latest/reference/support-matrix.html
7- ARG CUDA_VERSION=12.6.0
7+ ARG CUDA_VERSION=12.6.1
88ARG CUDNN_VERSION=9.8.0
99# https://pytorch.org/
1010ARG TORCH_VERSION=2.7.0
@@ -52,9 +52,8 @@ RUN wget -O /tmp/miniconda3.sh \
5252 mkdir -p /root/miniconda3 && \
5353 bash /tmp/miniconda3.sh -b -u -p /root/miniconda3 && \
5454 \. /root/miniconda3/bin/activate && \
55- conda activate base && \
5655 conda upgrade libstdcxx-ng -c conda-forge -y && \
57- conda install -y nvidia/label/cuda-${CUDA_VERSION}::cuda-toolkit && \
56+ conda install nvidia/label/cuda-${CUDA_VERSION}::cuda-nvcc && \
5857 conda install -y nvidia/label/cudnn-${CUDNN_VERSION}::cudnn && \
5958 pip3 install torch==${TORCH_VERSION} torchvision torchaudio \
6059 --index-url https://download.pytorch.org/whl/cu126 \
@@ -66,4 +65,4 @@ RUN apt-get update && apt-get upgrade -y && apt-get autoremove -y && \
6665 git config --system --unset-all user.name || true && \
6766 git config --system --unset-all user.email || true && \
6867 git config --global --unset-all user.name || true && \
69- git config --global --unset-all user.email || true
68+ git config --global --unset-all user.email || true
Original file line number Diff line number Diff line change 1- IMAGE_VERSION=2.0.3
1+ IMAGE_VERSION=2.0.4
22TORCH_VERSION=2.7.0
3- CUDA_VERSION=12.6.0
3+ CUDA_VERSION=12.6.1
44CUDNN_VERSION=9.8.0
55UBUNTU_VERSION=24.04
66IMAGE_TAG=v${IMAGE_VERSION} -torch${TORCH_VERSION} -cuda${CUDA_VERSION} -ubuntu${UBUNTU_VERSION}
7- IMAGE_NAME=jamesnulliu/deeplearning:${IMAGE_TAG}
7+ IMAGE_NAME=jamesnulliu/deeplearning:${IMAGE_TAG}
You can’t perform that action at this time.
0 commit comments