Skip to content

Remove cuda core dependency and switch back to pynvml#152

Open
jayavenkatesh19 wants to merge 2 commits into
rapidsai:mainfrom
jayavenkatesh19:remove-cuda-core-dependency
Open

Remove cuda core dependency and switch back to pynvml#152
jayavenkatesh19 wants to merge 2 commits into
rapidsai:mainfrom
jayavenkatesh19:remove-cuda-core-dependency

Conversation

@jayavenkatesh19
Copy link
Copy Markdown
Contributor

Following up on #146 (comment), usage of cuda-core has a specific pin on cuda-bindings version which has different versions for CUDA 12 and CUDA 13.

While cuda-bindings itself is backward compatible, this pin is causing issues on other environments where tools like pytorch have their own versioning requirements for cuda-bindings.

By switching back to using pynvml for GPU information, we can ensure that rapids-cli is supported on diverse environments without the need for specialized wheels

Signed-off-by: Jaya Venkatesh <jjayabaskar@nvidia.com>
Signed-off-by: Jaya Venkatesh <jjayabaskar@nvidia.com>
@jayavenkatesh19 jayavenkatesh19 self-assigned this May 29, 2026
@jayavenkatesh19 jayavenkatesh19 requested review from a team as code owners May 29, 2026 20:00
@jayavenkatesh19 jayavenkatesh19 requested a review from jameslamb May 29, 2026 20:00
Copy link
Copy Markdown
Contributor

@ncclementi ncclementi left a comment

Choose a reason for hiding this comment

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

LGTM, as we chatted after you test this in a CSP and check it works as usual, feel free to go ahead and merge

@jayavenkatesh19
Copy link
Copy Markdown
Contributor Author

Just tested this out on Brev, and the check works as intended. Will ping @jameslamb for the packaging review!

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants