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

Limit buffer size in reallocation policy in JSON reader #17940

Open
wants to merge 12 commits into
base: branch-25.04
Choose a base branch
from

Conversation

shrshi
Copy link
Contributor

@shrshi shrshi commented Feb 6, 2025

Description

Addresses #17058

We can split the buffer at the last but one line and pass two buffers to the tokenizer, provided that the size of each of those buffers is less than 2GB. We only need to verify for the second buffer since the first one is guaranteed to be under the limit by the batching logic.

Checklist

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

Copy link

copy-pr-bot bot commented Feb 6, 2025

Auto-sync is disabled for draft pull requests in this repository. Workflows must be run manually.

Contributors can view more details about this message here.

@github-actions github-actions bot added the libcudf Affects libcudf (C++/CUDA) code. label Feb 6, 2025
@shrshi shrshi added bug Something isn't working cuIO cuIO issue non-breaking Non-breaking change labels Feb 6, 2025
@shrshi shrshi changed the title Limit buffer size in reallocation policy Limit buffer size in reallocation policy in JSON reader Feb 6, 2025
@shrshi
Copy link
Contributor Author

shrshi commented Feb 11, 2025

/ok to test

@shrshi shrshi marked this pull request as ready for review February 11, 2025 03:46
@shrshi shrshi requested a review from a team as a code owner February 11, 2025 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cuIO cuIO issue libcudf Affects libcudf (C++/CUDA) code. non-breaking Non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant