Skip to content

Commit

Permalink
Add nightly CI builds with nightly rapids versions (#10800)
Browse files Browse the repository at this point in the history
* Add nightly CI builds with nightly rapids versions

* Update pipeline.yml

---------

Co-authored-by: Philip Hyunsu Cho <[email protected]>
  • Loading branch information
robertmaynard and hcho3 authored Nov 8, 2024
1 parent f7d2857 commit 8422c4d
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 3 deletions.
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

0 comments on commit 8422c4d

Please sign in to comment.