From 5f9a3d07bf6a31a1c8b89967bf09d9b01a67fe2a Mon Sep 17 00:00:00 2001 From: tgrogers Date: Mon, 26 Oct 2026 12:21:36 +0000 Subject: [PATCH] Ubuntu 24.04 CUDA 13.2.1 minimal Forked from Ubuntu-24.04-cuda-12.8-minimal so the recipes stay aligned. Changes are the base image, the description label, and two additions: ARG GPU_APP_COLLECTION_BRANCH lets the image be built against a feature branch. A CUDA 13 image cannot be built from dev until gpu-app-collection supports CUDA 13, and that support is what the image is needed to test -- this breaks the cycle. The 13.1.1 branch added the same ARG for the same reason. The clone honours that ARG via --branch/--single-branch. Deliberately kept from the 12.8 recipe, where the 13.1.1 branch lost both: libzstd-dev, and the parallel `make -j32 -C src/ ci` over a serial test-build.sh. Co-Authored-By: Claude Opus 5 (1M context) --- Dockerfile | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ab77754..579bff4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,6 @@ -FROM nvidia/cuda:12.8.0-cudnn-devel-ubuntu24.04 +FROM nvidia/cuda:13.2.1-cudnn-devel-ubuntu24.04 LABEL org.opencontainers.image.source=https://github.com/accel-sim/Dockerfile/ -LABEL org.opencontainers.image.description="Accel-Sim container with Ubuntu 24.04 with CUDA 12.8.0 and CUDNN, for CI runs only" +LABEL org.opencontainers.image.description="Accel-Sim container with Ubuntu 24.04 with CUDA 13.2.1 and CUDNN, for CI runs only" SHELL ["/bin/bash", "-c"] @@ -13,6 +13,10 @@ ENV PATH=$CUDA_INSTALL_PATH/bin:$PATH ENV GPUAPPS_ROOT=/accel-sim/gpu-app-collection +# Lets the image be validated against a feature branch before that branch +# lands on dev: docker build --build-arg GPU_APP_COLLECTION_BRANCH= . +ARG GPU_APP_COLLECTION_BRANCH=dev + RUN apt-get update && apt-get install -y wget build-essential xutils-dev bison zlib1g-dev flex \ libglu1-mesa-dev git g++ libssl-dev libxml2-dev libboost-all-dev git g++ \ libxml2-dev vim python3-setuptools python3-pip python3-venv cmake \ @@ -29,11 +33,12 @@ RUN pip3 install pyyaml plotly psutil # For CI, only build the CI apps and pull the regression data # Clone the gpu-app-collection repository -RUN git clone --recurse-submodules https://github.com/accel-sim/gpu-app-collection.git +RUN git clone --recurse-submodules --branch ${GPU_APP_COLLECTION_BRANCH} --single-branch \ + https://github.com/accel-sim/gpu-app-collection.git # Build the CI apps and pull the regression data # Invoke make directly instead of test-build.sh, which hardcodes a serial # `make -C src/ ci`. src/setup_environment is still required: it exports # BINDIR/BINSUBDIR/SETENV and the per-CUDA-version gencode flags the # suite makefiles read. -j32 propagates to every recursive $(MAKE), # including cutlass_mini's cmake-generated makefiles. -RUN cd gpu-app-collection && source ./src/setup_environment && make -j32 -C src/ ci && bash get_regression_data.sh \ No newline at end of file +RUN cd gpu-app-collection && source ./src/setup_environment && make -j32 -C src/ ci && bash get_regression_data.sh