Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update dlpack to version 0.8 #15237

Merged
merged 5 commits into from
Mar 6, 2024
Merged

Conversation

dantegd
Copy link
Member

@dantegd dantegd commented Mar 5, 2024

cuVS Python and Rust APIS use dlpack 0.8 to call libcuvs. To be able to create a RAPIDS environment that has both cuDF and cuVS (and eventually cuML and other libraries where we will use dlpack as we do in cuVS) we require to update dlpack to match.

PR notes:

  • There is 1 key relevant differences to RAPIDS between 0.5 and 0.8: support of DLDeviceType for managed memory with kDLCUDAManaged We don't currently require to update the existing libcudf to work with this, but this could be a useful addition that I would suggest exploring post 24.04.

  • DLpack 1.0 release candidate was released recently with the key addition being adding versioning support in DLManagedTensorVersioned.

Given the timing for cuDF burndown, I think we should pin to 0.8 for 24.04 reducing the number of changes (which AFAIK all changes are non breaking so we shouldn't need code updates, pending CI testing), and then update cuDF/cuVS/etc. to use DLManagedTensorVersioned once dlpack 1.0 final version is released.

cc @divyegala @cjnolet

@dantegd dantegd added libcudf Affects libcudf (C++/CUDA) code. improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Mar 5, 2024
@github-actions github-actions bot added CMake CMake build issue conda labels Mar 5, 2024
@dantegd dantegd marked this pull request as ready for review March 6, 2024 04:49
@dantegd dantegd requested review from a team as code owners March 6, 2024 04:49
Copy link
Contributor

@robertmaynard robertmaynard left a comment

Choose a reason for hiding this comment

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

CMake changes LGTM

Copy link
Contributor

@bdice bdice left a comment

Choose a reason for hiding this comment

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

Thanks!

@bdice
Copy link
Contributor

bdice commented Mar 6, 2024

/merge

@rapids-bot rapids-bot bot merged commit db9e6a9 into rapidsai:branch-24.04 Mar 6, 2024
73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CMake CMake build issue improvement Improvement / enhancement to an existing function libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants