Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add nightly CI builds with nightly rapids versions #10800

Merged
merged 3 commits into from
Nov 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
30 changes: 28 additions & 2 deletions tests/buildkite/build-cuda-with-rmm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,36 @@

set -euo pipefail

if [ "$#" -lt 1 ]
then
mode=stable
exit 1
else
mode=$1
fi

WHEEL_TAG=manylinux_2_28_x86_64

source tests/buildkite/conftest.sh


case "${mode}" in
stable)
container_tag='gpu_build_rockylinux8'
rapids_version=$RAPIDS_VERSION
;;

dev)
container_tag='gpu_dev_ver'
rapids_version=$DEV_RAPIDS_VERSION
;;

*)
echo "Unrecognized mode ID: ${mode}"
exit 2
;;
esac

echo "--- Build with CUDA ${CUDA_VERSION} with RMM"

if [[ ($is_pull_request == 1) || ($is_release_branch == 0) ]]
Expand All @@ -15,10 +41,10 @@ else
arch_flag=""
fi

command_wrapper="tests/ci_build/ci_build.sh gpu_build_rockylinux8 --build-arg "`
command_wrapper="tests/ci_build/ci_build.sh $container_tag --build-arg "`
`"CUDA_VERSION_ARG=$CUDA_VERSION --build-arg "`
`"NCCL_VERSION_ARG=$NCCL_VERSION --build-arg "`
`"RAPIDS_VERSION_ARG=$RAPIDS_VERSION"
`"RAPIDS_VERSION_ARG=$rapids_version"

echo "--- Build libxgboost from the source"
$command_wrapper tests/ci_build/build_via_cmake.sh \
Expand Down
6 changes: 6 additions & 0 deletions tests/buildkite/pipeline-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,12 @@ steps:
agents:
queue: linux-amd64-cpu
- wait
- label: ":console: Build CUDA + RMM Nightly"
command: "tests/buildkite/build-cuda-with-rmm.sh dev"
key: build-cuda-rmm-nightly
agents:
queue: linux-amd64-cpu
- wait
- label: ":console: Test Python package, single GPU"
command: "tests/buildkite/test-python-gpu.sh gpu"
key: test-python-gpu
Expand Down
2 changes: 1 addition & 1 deletion tests/buildkite/pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ steps:
agents:
queue: linux-amd64-cpu
- label: ":console: Build CUDA with RMM"
command: "tests/buildkite/build-cuda-with-rmm.sh"
command: "tests/buildkite/build-cuda-with-rmm.sh stable"
key: build-cuda-with-rmm
agents:
queue: linux-amd64-cpu
Expand Down
Loading