Open
Conversation
Since rapidsai#1909, we've been able to use older versions of the CUDA driver, since we no longer rely on `cudaLibraryEnumerateKernels()`. Since rapidsai#1918, we've been using static cudart, which allows us to run on platforms with versions of CUDA older than 12.8 installed, since the runtime library API is now bundled with cuvs. Always build with JIT+LTO so that we can get the full compile time and binary size benefits in CUDA 12 too.
KyleFromNVIDIA
commented
Mar 16, 2026
divyegala
approved these changes
Mar 16, 2026
Member
Author
|
It seems that even after #1918, we're still not using We have to get rmm on |
Member
Author
|
We've decided to switch to the driver API instead, since rmm is blocked on rapidsai/cudf#20814, which in turn is also blocked. |
divyegala
reviewed
Mar 16, 2026
divyegala
reviewed
Mar 16, 2026
divyegala
reviewed
Mar 16, 2026
- Enable static linking of libcudart by default (`CUDA_STATIC_RUNTIME=ON`) - Remove `cuda-cudart` from conda recipe run requirements (no longer needed when statically linked) This is part of a RAPIDS-wide effort to switch to static CUDA runtime linking. See rapidsai/build-planning#235 for tracking. - `cpp/CMakeLists.txt`: Change `CUDA_STATIC_RUNTIME` default from OFF to ON - `conda/recipes/cuvs/recipe.yaml`: Remove `cuda-cudart` from run deps - `conda/recipes/libcuvs/recipe.yaml`: Remove `cuda-cudart` from run deps (4 outputs) Note: Python builds already use `CUDA_STATIC_RUNTIME=ON` (set in `python/libcuvs/CMakeLists.txt`). Authors: - Bradley Dice (https://github.com/bdice) - Kyle Edwards (https://github.com/KyleFromNVIDIA) Approvers: - Kyle Edwards (https://github.com/KyleFromNVIDIA) - Robert Maynard (https://github.com/robertmaynard) - Ben Frederickson (https://github.com/benfred) URL: rapidsai#1627
KyleFromNVIDIA
commented
Mar 23, 2026
benfred
approved these changes
Mar 23, 2026
KyleFromNVIDIA
commented
Mar 23, 2026
Member
Author
KyleFromNVIDIA
left a comment
There was a problem hiding this comment.
Remove the debug statement when finished
bdice
reviewed
Mar 24, 2026
bdice
approved these changes
Mar 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Since #1909, we've been able to use older versions of the CUDA driver, since we no longer rely on
cudaLibraryEnumerateKernels(). Since #1918, we've been using static cudart, which allows us to run on platforms with versions of CUDA older than 12.8 installed, since the runtime library API is now bundled with cuvs. Always build with JIT+LTO so that we can get the full compile time and binary size benefits in CUDA 12 too.