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

Support null value in CUDA array interface. #8486

Merged
merged 3 commits into from Nov 29, 2022

Conversation

trivialfis
Copy link
Member

@trivialfis trivialfis commented Nov 25, 2022

  • Fix for potential null value in array interface (the python namespace, not the actual data).
  • Fix incorrect check on mask stride.

The error is found when running cuDF tests with nightly cuDF (22.12) where the strides for the array interface is set to NONE.

- Fix for potential null value in array interface.
- Fix incorrect check on mask stride.
@trivialfis
Copy link
Member Author

Will add some tests to ensure we have some coverage even without the latest cuDF.

@trivialfis trivialfis added this to To be backported in 1.7.2 Patch Release. Nov 26, 2022
@hcho3 hcho3 merged commit addaa63 into dmlc:master Nov 29, 2022
@hcho3 hcho3 mentioned this pull request Nov 29, 2022
9 tasks
@trivialfis trivialfis deleted the arr-null-fields branch November 29, 2022 03:56
hcho3 pushed a commit to hcho3/xgboost that referenced this pull request Nov 30, 2022
* Support null value in CUDA array interface.

- Fix for potential null value in array interface.
- Fix incorrect check on mask stride.

* Simple tests.

* Extract mask.
trxcllnt pushed a commit to trxcllnt/xgboost that referenced this pull request Dec 5, 2022
* Support null value in CUDA array interface.

- Fix for potential null value in array interface.
- Fix incorrect check on mask stride.

* Simple tests.

* Extract mask.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
1.7.2 Patch Release.
To be backported
Development

Successfully merging this pull request may close these issues.

None yet

3 participants