Skip to content

build wheels with CUDA 13.0.x, test wheels against mix of CTK versions#604

Merged
rapids-bot[bot] merged 9 commits intorapidsai:release/0.49from
jameslamb:test-oldest-ctk
Mar 18, 2026
Merged

build wheels with CUDA 13.0.x, test wheels against mix of CTK versions#604
rapids-bot[bot] merged 9 commits intorapidsai:release/0.49from
jameslamb:test-oldest-ctk

Conversation

@jameslamb
Copy link
Member

Description

Contributes to rapidsai/build-planning#257

  • builds CUDA 13 wheels with the 13.0 CTK

Contributes to rapidsai/build-planning#256

  • updates wheel tests to cover a range of CTK versions (we previously, accidentally, were only testing the latest 12.x and 13.x)

Notes for Reviewers

How I tested this

This uses wheels from similar PRs from RAPIDS dependencies, at build and test time:

@jameslamb jameslamb added improvement Improves an existing functionality non-breaking Introduces a non-breaking change labels Mar 5, 2026
@copy-pr-bot
Copy link

copy-pr-bot bot commented Mar 5, 2026

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

packages:
# some components (like nvidia-cublas-cu12 and nvidia-cuda-nvcc-cu12) didn't have
# aarch64 wheels until CTK 12.3, so allow a slightly looser bound here
- cuda-toolkit>=12.2,<12.4
Copy link
Member Author

Choose a reason for hiding this comment

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

For this repo, it's nvidia-cuda-nvcc-cu12 that ends up being required but can't be installed on aarch64 + CUDA 12.2:

docker run --rm -it rapidsai/citestwheel:26.04-cuda12.2.2-ubuntu22.04-py3.11 bash

pip install 'cuda-toolkit[nvcc,nvrtc]==12.2.*'
# ERROR: ResolutionImpossible

pip install 'cuda-toolkit[nvcc,nvrtc]==12.3.0'
# ERROR: No matching distribution found for nvidia-cuda-nvcc-cu12

pip install 'cuda-toolkit[nvcc,nvrtc]==12.3.1'
# ERROR: No matching distribution found for nvidia-cuda-nvcc-cu12

pip install 'cuda-toolkit[nvcc,nvrtc]==12.3.2'
# Successfully installed cuda-toolkit-12.3.2 nvidia-cuda-nvcc-cu12-12.3.107 nvidia-cuda-nvrtc-cu12-12.3.107

But trying to keep this cuda_version: list consistent across all of RAPIDs, so including cuBLAS in the comment too.

@jameslamb
Copy link
Member Author

/ok to test

wheel-build-libucxx:
secrets: inherit
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@release/26.04
uses: rapidsai/shared-workflows/.github/workflows/wheels-build.yaml@build-wheels-old-ctk
Copy link
Member Author

@jameslamb jameslamb Mar 18, 2026

Choose a reason for hiding this comment

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

DO NOT MERGE label can be removed once:

@jameslamb jameslamb changed the title WIP: build wheels with CUDA 13.0.x, test wheels against mix of CTK versions build wheels with CUDA 13.0.x, test wheels against mix of CTK versions Mar 18, 2026
@jameslamb jameslamb added the DO NOT MERGE Hold off on merging; see PR for details label Mar 18, 2026
@jameslamb jameslamb marked this pull request as ready for review March 18, 2026 05:08
@jameslamb jameslamb requested review from a team as code owners March 18, 2026 05:08
@jameslamb jameslamb requested a review from gforsyth March 18, 2026 05:08
@jameslamb jameslamb removed the DO NOT MERGE Hold off on merging; see PR for details label Mar 18, 2026
@jameslamb
Copy link
Member Author

/merge

@rapids-bot rapids-bot bot merged commit b0bb3df into rapidsai:release/0.49 Mar 18, 2026
161 of 164 checks passed
@jameslamb jameslamb deleted the test-oldest-ctk branch March 18, 2026 16:45
rapids-bot bot pushed a commit to rapidsai/raft that referenced this pull request Mar 18, 2026
#2971)

Contributes to rapidsai/build-planning#257

* builds CUDA 13 wheels with the 13.0 CTK
* ensures wheels ship with a runtime dependency of `nvidia-nvjitlink>={whatever-minor-version-they-were-built-against}`

Contributes to rapidsai/build-planning#256

* updates wheel tests to cover a range of CTK versions (we previously, accidentally, were only testing the latest 12.x and 13.x)

Other changes

* ensures conda packages also take on floors of `libnvjitlink>={whatever-version-they-were-built-against}`

## Notes for Reviewers

### How I tested this

This uses wheels from similar PRs from RAPIDS dependencies, at build and test time:

* rapidsai/rmm#2270
* rapidsai/ucxx#604

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Bradley Dice (https://github.com/bdice)

URL: #2971
rapids-bot bot pushed a commit to rapidsai/cudf that referenced this pull request Mar 18, 2026
…wheels against mix of CTK versions (#21671)

Contributes to rapidsai/build-planning#257

* builds CUDA 13 wheels with the 13.0 CTK
* ensures wheels ship with a runtime dependency of `nvidia-nvjitlink>={whatever-minor-version-they-were-built-against}`

Contributes to rapidsai/build-planning#256

* updates wheel tests to cover a range of CTK versions (we previously, accidentally, were only testing the latest 12.x and 13.x)

Other changes

* ensures conda packages also take on floors of `libnvjitlink>={whatever-version-they-were-built-against}`

## Notes for Reviewers

### How I tested this

Used wheels from similar PRs from RAPIDS dependencies, at build and test time:

* rapidsai/kvikio#942
* rapidsai/rmm#2270
* rapidsai/ucxx#604

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Kyle Edwards (https://github.com/KyleFromNVIDIA)
  - Bradley Dice (https://github.com/bdice)

URL: #21671
rapids-bot bot pushed a commit to rapidsai/cuvs that referenced this pull request Mar 19, 2026
…wheels against mix of CTK versions (#1862)

The changes from #1405 introduced linking against nvJitLink. nvJitLink has versioned symbols that are added in each new CTK release, and some of those are exposed in `libcuvs.so`.

`libcuvs` wheels are built against the latest CTK supported in RAPIDS (CUDA 13.1.1 as of this writing), so when those wheels are used in environments with older nvJitLink, runtime errors like this can happen:

> libcugraph.so: undefined symbol: __nvJitLinkGetErrorLog_13_1, version libnvJitLink.so.13

For more details, see rapidsai/cugraph#5443

This tries to fix that.

Contributes to rapidsai/build-planning#257

* builds CUDA 13 wheels with the 13.0 CTK
* ensures CUDA 13 wheels ship with a runtime dependency of `nvidia-nvjitlink>={whatever-minor-version-they-were-built-against}`

Contributes to rapidsai/build-planning#256

* updates wheel tests to cover a range of CTK versions (we previously, accidentally, were only testing the latest 12.x and 13.x)

Other changes

* ensures conda packages also take on floors of `libnvjitlink>={whatever-minor-version-they-were-built-against}`

## Notes for Reviewers

### How I tested this

This uses wheels from similar PRs from RAPIDS dependencies, at build and test time:

* rapidsai/raft#2971
* rapidsai/rmm#2270
* rapidsai/ucxx#604

### Other Options

1. avoiding those versioned symbols with a build-time shim (#1855 does this, but hasn't been successful yet)
2. statically linking libnvJitLink (hasn't been successful yet)

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Gil Forsyth (https://github.com/gforsyth)

URL: #1862
rapids-bot bot pushed a commit to rapidsai/cugraph that referenced this pull request Mar 19, 2026
…wheels against mix of CTK versions (#5457)

Fixes #5443

Contributes to rapidsai/build-planning#257

* builds CUDA 13 wheels with the 13.0 CTK
* ensures wheels ship with a runtime dependency of `nvidia-nvjitlink>={whatever-minor-version-they-were-built-against}`

Contributes to rapidsai/build-planning#256

* updates wheel tests to cover a range of CTK versions (we previously, accidentally, were only testing the latest 12.x and 13.x)

Other changes

* ensures conda packages also take on floors of `libnvjitlink>={whatever-version-they-were-built-against}`

## Notes for Reviewers

### How I tested this

This uses wheels from similar PRs from RAPIDS dependencies, at build and test time:

* rapidsai/cudf#21671
* rapidsai/kvikio#942
* rapidsai/raft#2971
* rapidsai/rmm#2270
* rapidsai/ucxx#604

Authors:
  - James Lamb (https://github.com/jameslamb)

Approvers:
  - Gil Forsyth (https://github.com/gforsyth)

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

Labels

improvement Improves an existing functionality non-breaking Introduces a non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants