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

Remove NumPy <2 pin #441

Merged
merged 2 commits into from
Aug 22, 2024
Merged

Remove NumPy <2 pin #441

merged 2 commits into from
Aug 22, 2024

Conversation

seberg
Copy link
Contributor

@seberg seberg commented Aug 19, 2024

This PR removes the NumPy<2 pin. This is desirable for RAPIDS projects that do not have a strong numpy/cupy dependency.
Not doing any math, they don't run into subtle issues, but the pin was still necessary briefly before NumPy 2 was initially released.

(Other RAPIDS projects rely heavily on CuPy/NumPy and need the soon to be released 13.3.0 to function properly, e.g. due to promotion related changes in NumPy.)

@seberg seberg added non-breaking Introduces a non-breaking change improvement Improves an existing functionality labels Aug 19, 2024
@seberg
Copy link
Contributor Author

seberg commented Aug 19, 2024

Seems this is already using numpy 2 and working fine (i.e. kvikio doesn't run into the CuPy 13.2 issues, and doesn't depend on rmm or so limiting it). So it seems this is probably ready.

@seberg seberg marked this pull request as ready for review August 19, 2024 16:47
@seberg seberg requested a review from a team as a code owner August 19, 2024 16:47
@seberg seberg requested a review from jameslamb August 19, 2024 16:47
Copy link
Member

@jameslamb jameslamb left a comment

Choose a reason for hiding this comment

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

Looks good to me, based on my understanding of rapidsai/ucx-py#1064 (comment).

Please remove the language in the description about this being unsafe combined with cupy < 13.3.0 before merging.

@jakirkham
Copy link
Member

Sebastian rewrote the description based on the feedback in the UCX-Py PR and updated it here as well

@jakirkham
Copy link
Member

/merge

@rapids-bot rapids-bot bot merged commit 35fb9cf into rapidsai:branch-24.10 Aug 22, 2024
48 checks passed
@jakirkham
Copy link
Member

Thanks Sebastian, James, and Lawrence! 🙏

@seberg seberg deleted the my_new_branch branch August 22, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement Improves an existing functionality non-breaking Introduces a non-breaking change
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants