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

[backport] Make sure input numpy array is aligned. (#8690) #8734

Merged
merged 4 commits into from
Feb 6, 2023

Conversation

trivialfis
Copy link
Member

  • use np.require to specify that the alignment is required.
  • scipy csr as well.
  • validate input pointer in ArrayInterface.

- use `np.require` to specify that the alignment is required.
- scipy csr as well.
- validate input pointer in `ArrayInterface`.
@trivialfis
Copy link
Member Author

that's interesting, misalignment with distributed GPU inputs.

@trivialfis trivialfis merged commit 2f22f8d into dmlc:release_1.7.0 Feb 6, 2023
@trivialfis trivialfis deleted the backport-8690 branch February 6, 2023 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant