Skip to content

Conversation

vtavana
Copy link
Collaborator

@vtavana vtavana commented Jun 10, 2025

Tests are updated to have a green CI with numpy-2.3.0.

  1. matmul failure is because a bug in NumPy.
  2. numpy.unique is modified in numpy-2.3, dpnp should align with recent changes.
  3. There was a bug for calculating norm of empty arrays when keepdims=True is passed which is fixed.
  • Have you provided a meaningful PR description?
  • Have you added a test, reproducer or referred to an issue with a reproducer?
  • Have you tested your changes locally for CPU and GPU devices?
  • 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?
  • Have you added your changes to the changelog?

@vtavana vtavana self-assigned this Jun 10, 2025
Copy link
Contributor

github-actions bot commented Jun 10, 2025

View rendered docs @ https://intelpython.github.io/dpnp/index.html

Copy link
Contributor

github-actions bot commented Jun 10, 2025

Array API standard conformance tests for dpnp=0.19.0dev0=py312h509198e_13 ran successfully.
Passed: 1231
Failed: 0
Skipped: 9

@vtavana vtavana force-pushed the fix-numpy-2.3 branch 4 times, most recently from 96cf11b to 2320a26 Compare June 10, 2025 22:20
@vtavana vtavana marked this pull request as ready for review June 11, 2025 02:17
@antonwolfy antonwolfy added this to the 0.19.0 release milestone Jun 11, 2025
Copy link
Contributor

@antonwolfy antonwolfy left a 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.

@vtavana vtavana requested a review from antonwolfy June 13, 2025 11:43
@vtavana vtavana merged commit 4046985 into master Jun 14, 2025
68 of 72 checks passed
@vtavana vtavana deleted the fix-numpy-2.3 branch June 14, 2025 14:15
github-actions bot added a commit that referenced this pull request Jun 14, 2025
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
antonwolfy pushed a commit that referenced this pull request Jun 20, 2025
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?
@antonwolfy antonwolfy mentioned this pull request Jun 20, 2025
7 tasks
antonwolfy added a commit that referenced this pull request Jun 20, 2025
This PR backports of #2477 from development branch to
`maintenance/0.18.x`.
antonwolfy added a commit that referenced this pull request Jun 23, 2025
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.
antonwolfy added a commit that referenced this pull request Jun 23, 2025
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.
github-actions bot added a commit that referenced this pull request Jun 23, 2025
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. 278cf42
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.

2 participants