Update numpy requirement from <=2.5,>=1.20.0 to >=1.20.0,<=2.5.1#2261
Open
dependabot[bot] wants to merge 2 commits into
Open
Update numpy requirement from <=2.5,>=1.20.0 to >=1.20.0,<=2.5.1#2261dependabot[bot] wants to merge 2 commits into
dependabot[bot] wants to merge 2 commits into
Conversation
Contributor
Memory benchmark result| Test Name | %Δ | Master (MB) | PR (MB) | Δ (MB) | Time PR (s) | Time Master (s) |
| -------------------------------------- | ------------ | ------------------ | ------------------ | ------------ | ------------------ | ------------------ |
test_objective_jac_w7x | 3.46 % | 3.887e+03 | 4.021e+03 | 134.36 | 33.37 | 29.84 |
test_proximal_jac_w7x_with_eq_update | 1.96 % | 6.493e+03 | 6.620e+03 | 127.04 | 157.20 | 154.57 |
test_proximal_freeb_jac | 0.39 % | 1.332e+04 | 1.337e+04 | 51.36 | 81.44 | 81.14 |
test_proximal_freeb_jac_blocked | -0.15 % | 7.648e+03 | 7.637e+03 | -11.41 | 70.89 | 70.89 |
test_proximal_freeb_jac_batched | -0.21 % | 7.674e+03 | 7.658e+03 | -16.23 | 69.81 | 71.20 |
test_proximal_jac_ripple | -4.84 % | 3.599e+03 | 3.425e+03 | -174.02 | 55.67 | 55.87 |
test_proximal_jac_ripple_bounce1d | 0.56 % | 3.728e+03 | 3.749e+03 | 20.74 | 68.42 | 71.25 |
test_eq_solve | -2.22 % | 1.969e+03 | 1.925e+03 | -43.70 | 57.98 | 59.30 |For the memory plots, go to the summary of |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #2261 +/- ##
==========================================
- Coverage 94.32% 94.32% -0.01%
==========================================
Files 101 101
Lines 28866 28866
==========================================
- Hits 27228 27227 -1
- Misses 1638 1639 +1 🚀 New features to boost your workflow:
|
YigitElma
approved these changes
Jul 9, 2026
Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version. - [Release notes](https://github.com/numpy/numpy/releases) - [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst) - [Commits](numpy/numpy@v1.20.0...v2.5.1) --- updated-dependencies: - dependency-name: numpy dependency-version: 2.5.1 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
5f57839 to
a230957
Compare
Contributor
| benchmark_name | dt(%) | dt(s) | t_new(s) | t_old(s) |
| -------------------------------------- | ---------------------- | ---------------------- | ---------------------- | ---------------------- |
test_build_transform_fft_lowres | -0.86 +/- 3.42 | -7.13e-03 +/- 2.85e-02 | 8.26e-01 +/- 1.9e-02 | 8.33e-01 +/- 2.1e-02 |
test_equilibrium_init_medres | +0.33 +/- 3.27 | +2.27e-02 +/- 2.22e-01 | 6.81e+00 +/- 1.0e-01 | 6.79e+00 +/- 2.0e-01 |
test_equilibrium_init_highres | +3.65 +/- 5.61 | +2.80e-01 +/- 4.31e-01 | 7.96e+00 +/- 3.8e-01 | 7.68e+00 +/- 2.0e-01 |
test_objective_compile_dshape_current | +0.36 +/- 2.00 | +1.45e-02 +/- 8.12e-02 | 4.07e+00 +/- 4.3e-02 | 4.05e+00 +/- 6.9e-02 |
test_objective_compute_dshape_current | +3.75 +/- 12.95 | +2.50e-05 +/- 8.62e-05 | 6.91e-04 +/- 2.9e-05 | 6.66e-04 +/- 8.1e-05 |
test_objective_jac_dshape_current | -2.37 +/- 26.31 | -5.99e-04 +/- 6.64e-03 | 2.46e-02 +/- 4.8e-03 | 2.52e-02 +/- 4.6e-03 |
test_perturb_2 | +0.02 +/- 2.29 | +3.15e-03 +/- 4.49e-01 | 1.96e+01 +/- 4.3e-01 | 1.96e+01 +/- 1.4e-01 |
test_proximal_jac_atf_with_eq_update | +0.58 +/- 0.93 | +7.18e-02 +/- 1.16e-01 | 1.25e+01 +/- 8.6e-02 | 1.24e+01 +/- 7.8e-02 |
test_proximal_freeb_jac | -0.71 +/- 3.21 | -3.31e-02 +/- 1.50e-01 | 4.63e+00 +/- 1.1e-01 | 4.66e+00 +/- 1.0e-01 |
test_solve_fixed_iter_compiled | -0.92 +/- 2.76 | -6.23e-02 +/- 1.87e-01 | 6.71e+00 +/- 1.2e-01 | 6.77e+00 +/- 1.5e-01 |
test_LinearConstraintProjection_build | -3.72 +/- 6.05 | -2.59e-01 +/- 4.21e-01 | 6.71e+00 +/- 1.3e-01 | 6.97e+00 +/- 4.0e-01 |
test_objective_compute_ripple_bounce1d | -1.07 +/- 6.02 | -3.01e-03 +/- 1.69e-02 | 2.77e-01 +/- 9.7e-03 | 2.80e-01 +/- 1.4e-02 |
test_objective_grad_ripple_bounce1d | -2.04 +/- 2.69 | -1.98e-02 +/- 2.61e-02 | 9.51e-01 +/- 2.0e-02 | 9.71e-01 +/- 1.6e-02 |
test_build_transform_fft_midres | -2.03 +/- 6.69 | -1.54e-02 +/- 5.08e-02 | 7.44e-01 +/- 3.1e-02 | 7.59e-01 +/- 4.0e-02 |
test_build_transform_fft_highres | -0.30 +/- 3.53 | -2.89e-03 +/- 3.43e-02 | 9.71e-01 +/- 2.5e-02 | 9.74e-01 +/- 2.3e-02 |
test_equilibrium_init_lowres | +1.42 +/- 4.35 | +8.07e-02 +/- 2.47e-01 | 5.76e+00 +/- 1.8e-01 | 5.67e+00 +/- 1.7e-01 |
test_objective_compile_atf | +4.67 +/- 5.20 | +2.28e-01 +/- 2.54e-01 | 5.12e+00 +/- 1.9e-01 | 4.89e+00 +/- 1.7e-01 |
test_objective_compute_atf | +18.88 +/- 9.43 | +3.29e-04 +/- 1.64e-04 | 2.07e-03 +/- 1.3e-04 | 1.74e-03 +/- 9.4e-05 |
test_objective_jac_atf | +1.62 +/- 4.11 | +2.28e-02 +/- 5.77e-02 | 1.43e+00 +/- 4.0e-02 | 1.40e+00 +/- 4.2e-02 |
test_perturb_1 | +3.13 +/- 3.47 | +3.83e-01 +/- 4.24e-01 | 1.26e+01 +/- 3.4e-01 | 1.22e+01 +/- 2.5e-01 |
test_proximal_jac_atf | +0.06 +/- 2.45 | +2.56e-03 +/- 1.02e-01 | 4.18e+00 +/- 6.1e-02 | 4.18e+00 +/- 8.2e-02 |
test_proximal_freeb_compute | -1.32 +/- 4.00 | -1.43e-03 +/- 4.34e-03 | 1.07e-01 +/- 3.2e-03 | 1.08e-01 +/- 2.9e-03 |
test_solve_fixed_iter | +2.74 +/- 4.27 | +5.37e-01 +/- 8.37e-01 | 2.01e+01 +/- 6.5e-01 | 1.96e+01 +/- 5.3e-01 |
test_objective_compute_ripple | +2.34 +/- 7.31 | +3.89e-03 +/- 1.22e-02 | 1.70e-01 +/- 5.6e-03 | 1.67e-01 +/- 1.1e-02 |
test_objective_grad_ripple | +4.87 +/- 5.98 | +3.61e-02 +/- 4.43e-02 | 7.77e-01 +/- 2.6e-02 | 7.40e-01 +/- 3.6e-02 |Github CI performance can be noisy. When evaluating the benchmarks, developers should take this into account. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the requirements on numpy to permit the latest version.
Release notes
Sourced from numpy's releases.
... (truncated)
Changelog
Sourced from numpy's changelog.
... (truncated)
Commits
5e1d03fMerge pull request #31863 from charris/prepare-2.5.1ad0b66bREL: Prepare for the NumPy 2.5.1 release.9df8516Merge pull request #31858 from charris/backport-316884dee265Merge pull request #31857 from charris/backport-31775dc8d553Merge pull request #31856 from charris/backport-3184667cb4a8fix:Signed integer overflow in datetime.c (#31688)baa2589TST: Clean up imports, formatting, and assertions2fe5ba4TEST: Refactor tests to use np.testing.assert_raises_regex per reviewbb46581MAINT: Remove deprecated Python recursion fix8f34214MAINT: Move SeedSequence recursion guard to C-layer and add tests