From 3188c661530895b361deeb30e67f08deaf99ecda Mon Sep 17 00:00:00 2001 From: James Lamb Date: Tue, 26 Aug 2025 16:42:30 -0500 Subject: [PATCH 1/3] Build and test with CUDA 13.0.0 --- .github/workflows/build.yaml | 6 +++--- .github/workflows/pr.yaml | 6 +++--- .github/workflows/test.yaml | 2 +- .github/workflows/trigger-breaking-change-alert.yaml | 2 +- conda/recipes/versions.yaml | 4 ++-- 5 files changed, 10 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index dc7a095f..7322a73a 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -34,7 +34,7 @@ concurrency: jobs: build: secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.10 + uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@cuda13.0 with: build_type: ${{ inputs.build_type || 'branch' }} branch: ${{ inputs.branch }} @@ -44,7 +44,7 @@ jobs: upload-conda: needs: [build] secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/conda-upload-packages.yaml@branch-25.10 + uses: rapidsai/shared-workflows/.github/workflows/conda-upload-packages.yaml@cuda13.0 with: build_type: ${{ inputs.build_type || 'branch' }} branch: ${{ inputs.branch }} @@ -53,7 +53,7 @@ jobs: conda-pack: needs: [upload-conda] secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.10 + uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@cuda13.0 with: build_type: ${{ inputs.build_type || 'branch' }} branch: ${{ inputs.branch }} diff --git a/.github/workflows/pr.yaml b/.github/workflows/pr.yaml index f2fe1de5..440997ac 100644 --- a/.github/workflows/pr.yaml +++ b/.github/workflows/pr.yaml @@ -15,7 +15,7 @@ jobs: - build - test-conda-nightly-env secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@branch-25.10 + uses: rapidsai/shared-workflows/.github/workflows/pr-builder.yaml@cuda13.0 checks: runs-on: ubuntu-latest steps: @@ -26,7 +26,7 @@ jobs: build: needs: checks secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.10 + uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@cuda13.0 with: build_type: pull-request script: ci/build_python.sh @@ -34,7 +34,7 @@ jobs: needs: checks secrets: inherit # We use a build workflow so that we get CPU jobs and high matrix coverage - uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.10 + uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@cuda13.0 with: build_type: pull-request script: "ci/test_conda_nightly_env.sh" diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index 691eb392..7bb06233 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -22,7 +22,7 @@ jobs: test-conda-nightly-env: secrets: inherit # We use a build workflow so that we get CPU jobs and high matrix coverage - uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@branch-25.10 + uses: rapidsai/shared-workflows/.github/workflows/conda-python-build.yaml@cuda13.0 with: build_type: pull-request script: "ci/test_conda_nightly_env.sh" diff --git a/.github/workflows/trigger-breaking-change-alert.yaml b/.github/workflows/trigger-breaking-change-alert.yaml index 48bf37af..72751d07 100644 --- a/.github/workflows/trigger-breaking-change-alert.yaml +++ b/.github/workflows/trigger-breaking-change-alert.yaml @@ -12,7 +12,7 @@ jobs: trigger-notifier: if: contains(github.event.pull_request.labels.*.name, 'breaking') secrets: inherit - uses: rapidsai/shared-workflows/.github/workflows/breaking-change-alert.yaml@branch-25.10 + uses: rapidsai/shared-workflows/.github/workflows/breaking-change-alert.yaml@cuda13.0 with: sender_login: ${{ github.event.sender.login }} sender_avatar: ${{ github.event.sender.avatar_url }} diff --git a/conda/recipes/versions.yaml b/conda/recipes/versions.yaml index 60a3db1d..370831cf 100644 --- a/conda/recipes/versions.yaml +++ b/conda/recipes/versions.yaml @@ -5,7 +5,7 @@ xgboost_version: - '=3.0.3' cupy_version: - - '>=12.0.0' + - '>=13.6.0' nccl_version: - '>=2.19,<3.0a0' numpy_version: @@ -13,4 +13,4 @@ numpy_version: nvtx_version: - '>=0.2.1,<0.3' ucx_version: - - '>=1.15.0,<1.19.0' + - '>=1.15.0,<1.20.0' From 3a76cb21fc7b3552d609ffbb4c3f7abbe26d88dc Mon Sep 17 00:00:00 2001 From: James Lamb Date: Thu, 4 Sep 2025 15:57:13 -0500 Subject: [PATCH 2/3] skip xgboost --- ci/build_python.sh | 18 ++++++++++++------ conda/recipes/rapids/recipe.yaml | 5 ++++- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/ci/build_python.sh b/ci/build_python.sh index 9dc72106..7e62f275 100755 --- a/ci/build_python.sh +++ b/ci/build_python.sh @@ -16,12 +16,18 @@ CONDA_CONFIG_FILE="conda/recipes/versions.yaml" rapids-print-env -rapids-logger "Build rapids-xgboost" - -rattler-build build --recipe conda/recipes/rapids-xgboost \ - --variant-config "${CONDA_CONFIG_FILE}" \ - "${RATTLER_ARGS[@]}" \ - "${RATTLER_CHANNELS[@]}" +CUDA_MAJOR="${RAPIDS_CUDA_VERSION%%.*}" + +# TODO: add rapids-xgboost back when there are CUDA 13 packages +# ref: https://github.com/rapidsai/xgboost-feedstock/issues/100 +if [[ "${CUDA_MAJOR}" == "12" ]]; then + rapids-logger "Build rapids-xgboost" + + rattler-build build --recipe conda/recipes/rapids-xgboost \ + --variant-config "${CONDA_CONFIG_FILE}" \ + "${RATTLER_ARGS[@]}" \ + "${RATTLER_CHANNELS[@]}" +fi rapids-logger "Build rapids" diff --git a/conda/recipes/rapids/recipe.yaml b/conda/recipes/rapids/recipe.yaml index 3505acf3..263cbef0 100644 --- a/conda/recipes/rapids/recipe.yaml +++ b/conda/recipes/rapids/recipe.yaml @@ -44,7 +44,10 @@ requirements: - custreamz ${{ minor_version }}.* - cuxfilter ${{ minor_version }}.* - dask-cuda ${{ minor_version }}.* - - rapids-xgboost ${{ minor_version }}.* + # TODO: add rapids-xgboost back when there are CUDA 13 packages + # ref: https://github.com/rapidsai/xgboost-feedstock/issues/100 + - if: cuda_major == "12" + then: rapids-xgboost ${{ minor_version }}.* - rmm ${{ minor_version }}.* - pylibcugraph ${{ minor_version }}.* - libcugraph_etl ${{ minor_version }}.* From 8d567208904628118d250dee192172f3cc0da886 Mon Sep 17 00:00:00 2001 From: James Lamb Date: Thu, 4 Sep 2025 16:34:20 -0500 Subject: [PATCH 3/3] use CPU xgboost --- conda/recipes/rapids/recipe.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/conda/recipes/rapids/recipe.yaml b/conda/recipes/rapids/recipe.yaml index 263cbef0..d15b1604 100644 --- a/conda/recipes/rapids/recipe.yaml +++ b/conda/recipes/rapids/recipe.yaml @@ -44,10 +44,11 @@ requirements: - custreamz ${{ minor_version }}.* - cuxfilter ${{ minor_version }}.* - dask-cuda ${{ minor_version }}.* - # TODO: add rapids-xgboost back when there are CUDA 13 packages + # TODO: use rapids-xgboost CUDA packages unconditionally when there are CUDA 13 packages # ref: https://github.com/rapidsai/xgboost-feedstock/issues/100 - if: cuda_major == "12" then: rapids-xgboost ${{ minor_version }}.* + else: conda-forge::xgboost ${{ xgboost_version }} cpu_* - rmm ${{ minor_version }}.* - pylibcugraph ${{ minor_version }}.* - libcugraph_etl ${{ minor_version }}.*