Skip to content

[VL][CI] Add gpu image centos-9-jdk17-cuda13.1-cudf - #12690

Open
marin-ma wants to merge 1 commit into
apache:mainfrom
marin-ma:add-jdk17-cudf13-image
Open

[VL][CI] Add gpu image centos-9-jdk17-cuda13.1-cudf#12690
marin-ma wants to merge 1 commit into
apache:mainfrom
marin-ma:add-jdk17-cudf13-image

Conversation

@marin-ma

@marin-ma marin-ma commented Aug 4, 2026

Copy link
Copy Markdown
Contributor

The jdk version in the gpu image apache/gluten:centos-9-jdk8-cudf is now jdk17 after #11835, and some dependencies such as aws-sdk-cpp are missing in the image because it's no longer based on the velox image. Some gpu jobs that rely on the apache/gluten:centos-9-jdk8-cudf image have failed due to this change.

This pr adds a new gpu image centos-9-jdk17-cuda13.1-cudf with build flags --enable_s3=ON --enable_gcs=ON --enable_abfs=ON so the essential dependencies will be installed. Keeping the jdk8 version seems unnecessary. We can switch to jdk17 for the gpu build.

@marin-ma
marin-ma requested review from zhouyuan and a lite review from Copilot August 4, 2026 14:55
@marin-ma marin-ma changed the title [CI][VL] Add gpu image centos-9-jdk17-cuda13.1-cudf [VL][CI] Add gpu image centos-9-jdk17-cuda13.1-cudf Aug 4, 2026
@marin-ma
marin-ma requested a review from philo-he August 4, 2026 14:57

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Warning

Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.

Adds a new CentOS Stream 9 CUDA 13.1 cuDF GPU Docker image intended to restore missing dependencies (S3/GCS/ABFS) and moves GPU CI usage toward JDK 17.

Changes:

  • Adds a new Dockerfile for centos-9-jdk17-cuda13.1-cudf that builds Velox/Gluten with cloud filesystem flags enabled.
  • Extends the GitHub Actions workflow to build and push the new Docker image tag.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
dev/docker/cudf/Dockerfile.centos-9-jdk17-cuda13.1-cudf Introduces a new CUDA 13.1 cuDF build image definition intended for JDK 17 + cloud filesystem deps.
.github/workflows/docker_image.yml Adds a CI job to build/push the new Docker image tag.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +18 to +33
FROM quay.io/centos/centos:stream9
ENV CUDA_ARCHITECTURES=75
ENV LD_LIBRARY_PATH=/opt/gluten/ep/build-velox/build/velox_ep/_build/release/_deps/curl-build/lib:$LD_LIBRARY_PATH
ENV CC=/opt/rh/gcc-toolset-14/root/bin/gcc \
CXX=/opt/rh/gcc-toolset-14/root/bin/g++

RUN dnf config-manager --add-repo "https://developer.download.nvidia.com/compute/cuda/repos/rhel9/x86_64/cuda-rhel9.repo"; \
dnf update; \
dnf install -y sudo patch maven perl git gcc-toolset-14 cuda-toolkit-13-1 && \
dnf autoremove -y && dnf clean all; \
git clone --depth=1 https://github.com/apache/incubator-gluten /opt/gluten && \
cd /opt/gluten && \
source /opt/rh/gcc-toolset-14/enable && \
bash ./dev/buildbundle-veloxbe.sh --run_setup_script=ON --build_arrow=ON --spark_version=3.5 --build_tests=ON --build_benchmarks=ON --enable_s3=ON --enable_gcs=ON --enable_abfs=ON --enable_gpu=ON && \
rm -rf /opt/gluten && \
rm -rf /root/.cache/ccache
Comment on lines +24 to +27
RUN dnf config-manager --add-repo "https://developer.download.nvidia.com/compute/cuda/repos/rhel9/x86_64/cuda-rhel9.repo"; \
dnf update; \
dnf install -y sudo patch maven perl git gcc-toolset-14 cuda-toolkit-13-1 && \
dnf autoremove -y && dnf clean all; \
dnf update; \
dnf install -y sudo patch maven perl git gcc-toolset-14 cuda-toolkit-13-1 && \
dnf autoremove -y && dnf clean all; \
git clone --depth=1 https://github.com/apache/incubator-gluten /opt/gluten && \
Comment on lines +153 to +157
- name: "node-cleanup" # by default the free runner does not have enough disk space
run: |
sudo rm -rf /usr/share/dotnet /usr/local/lib/android /opt/ghc /opt/hostedtoolcache/CodeQL
sudo docker image prune --all --force
sudo docker builder prune -a

@philo-he philo-he left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants