-
Notifications
You must be signed in to change notification settings - Fork 23
update test to pass with numpy-2.3 #2477
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
Conversation
View rendered docs @ https://intelpython.github.io/dpnp/index.html |
Array API standard conformance tests for dpnp=0.19.0dev0=py312h509198e_13 ran successfully. |
96cf11b
to
2320a26
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I left few minor comments, but in overall LGTM
Thank you @vtavana for adopting dpnp with numpy 2.3 and reporting identified issues.
Tests are updated to have a green CI with numpy-2.3.0. 1) `matmul` failure is because a [bug in NumPy](numpy/numpy#29164). 2) `numpy.unique` is modified in numpy-2.3, [dpnp should align](#2476) with recent changes. 3) There was a bug for calculating norm of empty arrays when `keepdims=True` is passed which is fixed. - [x] Have you provided a meaningful PR description? - [ ] Have you added a test, reproducer or referred to an issue with a reproducer? - [x] Have you tested your changes locally for CPU and GPU devices? - [x] Have you made sure that new changes do not introduce compiler warnings? - [ ] Have you checked performance impact of proposed changes? - [ ] Have you added documentation for your changes, if necessary? - [x] Have you added your changes to the changelog? 4046985
Tests are updated to have a green CI with numpy-2.3.0. 1) `matmul` failure is because a [bug in NumPy](numpy/numpy#29164). 2) `numpy.unique` is modified in numpy-2.3, [dpnp should align](#2476) with recent changes. 3) There was a bug for calculating norm of empty arrays when `keepdims=True` is passed which is fixed. - [x] Have you provided a meaningful PR description? - [ ] Have you added a test, reproducer or referred to an issue with a reproducer? - [x] Have you tested your changes locally for CPU and GPU devices? - [x] Have you made sure that new changes do not introduce compiler warnings? - [ ] Have you checked performance impact of proposed changes? - [ ] Have you added documentation for your changes, if necessary? - [x] Have you added your changes to the changelog?
The new numpy release `2.3.1` has been published which includes the fix for numpy#29164. That PR enables the previously muted tests for numpy 2.3.1 in #2477.
The new numpy release `2.3.1` has been published which includes the fix for numpy#29164. That PR enables the previously muted tests for numpy 2.3.1 in #2477.
Tests are updated to have a green CI with numpy-2.3.0.
matmul
failure is because a bug in NumPy.numpy.unique
is modified in numpy-2.3, dpnp should align with recent changes.keepdims=True
is passed which is fixed.