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

Pylibcudf: pack and unpack #17012

Merged
merged 19 commits into from
Oct 11, 2024

Conversation

madsbk
Copy link
Member

@madsbk madsbk commented Oct 8, 2024

Adding python bindings to cudf::pack(), cudf::unpack(), and cudf::packed_columns.

This is the first step to support serialization of cudf.polars' IR.

cc. @wence- @rjzamora

Checklist

  • I am familiar with the Contributing Guidelines.
  • New or existing tests cover these changes.
  • The documentation is up to date with these changes.

@madsbk madsbk added improvement Improvement / enhancement to an existing function non-breaking Non-breaking change labels Oct 8, 2024
@github-actions github-actions bot added Python Affects Python cuDF API. CMake CMake build issue pylibcudf Issues specific to the pylibcudf package labels Oct 8, 2024
Copy link
Contributor

@Matt711 Matt711 left a comment

Choose a reason for hiding this comment

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

xref #16953. Do you also plan to plumb your changes through cudf python (eg. copying.pyx)

@madsbk
Copy link
Member Author

madsbk commented Oct 8, 2024

Sorry @Matt711, didn't see #16953.

xref #16953. Do you also plan to plumb your changes through cudf python (eg. copying.pyx)

No, not in this PR. The plan is to include the bindings needed to serialize cudf.polars' DataFrame.

@Matt711
Copy link
Contributor

Matt711 commented Oct 8, 2024

Sorry @Matt711, didn't see #16953.

xref #16953. Do you also plan to plumb your changes through cudf python (eg. copying.pyx)

No, not in this PR. The plan is to include the bindings needed to serialize cudf.polars' DataFrame.

No worries, I'll probably hold off on #16953, and get any missing pieces from contiguous_split.hpp in there after your PR gets merged.

@madsbk madsbk force-pushed the pylibcudf_pack_and_unpack branch from 67f371d to 851e725 Compare October 9, 2024 11:07
@madsbk madsbk force-pushed the pylibcudf_pack_and_unpack branch from 851e725 to 9d5491b Compare October 9, 2024 11:09
@madsbk madsbk marked this pull request as ready for review October 9, 2024 13:55
@madsbk madsbk requested a review from a team as a code owner October 9, 2024 13:55
@madsbk madsbk requested a review from wence- October 10, 2024 13:44
@madsbk madsbk requested review from wence- and mroeschke October 10, 2024 20:33
@madsbk madsbk requested a review from wence- October 11, 2024 08:52
Copy link
Contributor

@wence- wence- left a comment

Choose a reason for hiding this comment

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

One more test param wants xfailed, I think (let's wait for it to run through)

We can't contiguous-split a Column.
@wence-
Copy link
Contributor

wence- commented Oct 11, 2024

/merge

madsbk added a commit to madsbk/cudf that referenced this pull request Oct 11, 2024
@rapids-bot rapids-bot bot merged commit 7cf0a1b into rapidsai:branch-24.12 Oct 11, 2024
102 checks passed
madsbk added a commit to madsbk/cudf that referenced this pull request Oct 12, 2024
madsbk added a commit to madsbk/cudf that referenced this pull request Oct 12, 2024
@madsbk madsbk deleted the pylibcudf_pack_and_unpack branch October 23, 2024 08:24
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 non-breaking Non-breaking change pylibcudf Issues specific to the pylibcudf package Python Affects Python cuDF API.
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

6 participants