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

NumPy 2.0 support #10221

Closed
jakirkham opened this issue Apr 24, 2024 · 2 comments · Fixed by #10252
Closed

NumPy 2.0 support #10221

jakirkham opened this issue Apr 24, 2024 · 2 comments · Fixed by #10252

Comments

@jakirkham
Copy link
Contributor

NumPy 2.0 is coming out soon ( numpy/numpy#24300 ). NumPy 2.0.0rc1 packages for conda & wheels came out 3 weeks back ( numpy/numpy#24300 (comment) )

To prepare for NumPy 2.0, it might be worthwhile to start testing against NumPy 2 in CI

NumPy has put out a migration guide. More details are in the release notes

If XGBoost make use of NumPy's C API (and produces wheels that use it), having a release of XGBoost with wheels built against NumPy 2.0.0rc1 would be helpful to ensure NumPy 1 & 2 compatible wheels (as wheels built against NumPy 1 won't be compatible with NumPy 2). More details in this NumPy 2 ABI doc

Also as NumPy is tracking ecosystem support for NumPy 2.0, it would be helpful to share XGBoost current support status in issue (with any plans): numpy/numpy#26191

@jakirkham
Copy link
Contributor Author

cc @hcho3

@trivialfis
Copy link
Member

Thank you for the heads up. Will do some tests, I think most of of XGBoost should be fine other than some removed symbols

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 a pull request may close this issue.

2 participants