Skip to content

Commit 769521d

Browse files
author
Yadan Wei
committed
build cu128 ul24
1 parent f25b41f commit 769521d

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

base/x86_64/gpu/cu128/ubuntu24.04/Dockerfile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ ARG PYTHON_SHORT_VERSION="3.12"
44
ARG CUDA_MAJOR="12"
55
ARG CUDA_MINOR="8"
66
ARG EFA_VERSION="1.42.0"
7-
FROM nvidia/cuda:12.8.1-base-ubuntu24.04 AS base-builder
7+
ARG OS_VERSION="ubuntu24.04"
8+
FROM nvidia/cuda:12.8.1-base-${OS_VERSION} AS base-builder
89

910

1011
RUN mv /usr/local/cuda/compat /usr/local \
@@ -61,11 +62,12 @@ RUN bash install_python.sh ${PYTHON_VERSION} && rm install_python.sh
6162
FROM base-builder AS cuda-builder
6263
ARG CUDA_MAJOR
6364
ARG CUDA_MINOR
65+
ARG OS_VERSION
6466
COPY install_cuda.sh install_cuda.sh
65-
RUN bash install_cuda.sh "${CUDA_MAJOR}.${CUDA_MINOR}" && rm install_cuda.sh
67+
RUN bash install_cuda.sh "${CUDA_MAJOR}.${CUDA_MINOR}" "${OS_VERSION}" && rm install_cuda.sh
6668

6769
##############################################################################
68-
FROM nvidia/cuda:12.8.1-base-ubuntu24.04 AS final
70+
FROM nvidia/cuda:12.8.1-base-${OS_VERSION} AS final
6971
ARG PYTHON
7072
ARG PYTHON_SHORT_VERSION
7173
ARG CUDA_MAJOR

dlc_developer_config.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ use_scheduler = false
119119
### TRAINING PR JOBS ###
120120

121121
# Base
122-
dlc-pr-base = "base/buildspec-cu128-ubuntu22.yml"
122+
dlc-pr-base = "base/buildspec-cu128-ubuntu24.yml"
123123

124124
# Standard Framework Training
125125
dlc-pr-pytorch-training = ""

0 commit comments

Comments
 (0)