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

Migrate nvtext generate_ngrams APIs to pylibcudf #17006

Merged

Conversation

Matt711
Copy link
Contributor

@Matt711 Matt711 commented Oct 7, 2024

Description

Apart of #15162

Checklist

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

@Matt711 Matt711 added feature request New feature or request non-breaking Non-breaking change labels Oct 7, 2024
@Matt711 Matt711 self-assigned this Oct 7, 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 7, 2024
Copy link

copy-pr-bot bot commented Oct 7, 2024

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@Matt711
Copy link
Contributor Author

Matt711 commented Oct 7, 2024

/ok to test

Comment on lines 17 to 18
<size_type> ngrams,
<plc_Scalar> py_separator.device_value.c_value
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we don't need these explicit casts. I believe Cython will implicitly perform the valid cast if needed

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks, I'll try and build without them. I wonder--in general where you can get away with not explicitly casting?

@Matt711
Copy link
Contributor Author

Matt711 commented Oct 7, 2024

/ok to test

@Matt711 Matt711 marked this pull request as ready for review October 7, 2024 21:40
@Matt711 Matt711 requested a review from a team as a code owner October 7, 2024 21:40
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.

A couple of test suggestions, otherwise LGTM.

@Matt711
Copy link
Contributor Author

Matt711 commented Oct 7, 2024

/ok to test

@Matt711
Copy link
Contributor Author

Matt711 commented Oct 7, 2024

/merge

@Matt711 Matt711 changed the title [WIP] Migrate nvtext generate_ngrams APIs to pylibcudf Migrate nvtext generate_ngrams APIs to pylibcudf Oct 8, 2024
@rapids-bot rapids-bot bot merged commit 09ed210 into rapidsai:branch-24.12 Oct 8, 2024
109 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 feature request New feature or request 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.

3 participants