Skip to content

Commit fe8ca6f

Browse files
committed
Update NVCC Installation
1 parent bdbeef5 commit fe8ca6f

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ FROM ubuntu:${UBUNTU_VERSION}
44

55
ARG 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
88
ARG CUDNN_VERSION=9.8.0
99
# https://pytorch.org/
1010
ARG 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

scripts/.image-configs.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
IMAGE_VERSION=2.0.3
1+
IMAGE_VERSION=2.0.4
22
TORCH_VERSION=2.7.0
3-
CUDA_VERSION=12.6.0
3+
CUDA_VERSION=12.6.1
44
CUDNN_VERSION=9.8.0
55
UBUNTU_VERSION=24.04
66
IMAGE_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}

0 commit comments

Comments
 (0)