deps: Update dependency cupy to >=14.1.0#782
Merged
Merged
Conversation
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.
This PR contains the following updates:
>=14.0.1→>=14.1.014.1.1Release Notes
cupy/cupy (cupy)
v14.1.0CuPy v14.1.0 Release Note
This release for the CuPy v14 series introduces new features, enhancements, and bug fixes.
💬 Join the Matrix chat to talk with developers and users and ask quick questions!
🙌 Help us sustain the project by sponsoring CuPy!
✨ Highlights
Support for large sparse matrices
CuPy now supports large sparse matrices, allowing 64-bit sized dimensions and number of nonzero elements. Similar to SciPy, creation functions will automatically choose the larger index dtype for the sparsity pattern. The added functionality mostly uses newly wrapped cuSPARSE calls.
Initial support for free-threaded Python
CuPy 14.1 now releases free-threaded Python 3.14t Linux wheels and includes a number of thread-safety fixes. As threading issues can be intermittent, please report any issues you encounter. A known limitation is that some threaded CUDA graph-capture calls may fail when using threads.
Support for structured dtypes with fields
CuPy now supports structured dtypes with fields in kernels. This enables previously missing features such as comparisons and casts/copies. Because CUDA requires a larger alignment in some cases, CuPy now includes the
make_aligned_dtypehelper to create structured dtypes with larger alignments than guaranteed by NumPy’salign=True.Caching for CUDA C++ template instantiations
CuPy now caches template kernels instantiated using
name_expressionswithRawModule. This avoids recompilation in cases where CuPy was previously unable to use the on-disk cache.Optional faster kernel compilation using PCH
Users can now set the environment variable
CUPY_NVRTC_USE_PCH=1to use NVRTC’s precompiled headers (PCH) with CUDA 12.8+. This can drastically speed up compilation of multiple kernels and should be especially useful when the on-disk cache is cold or not used.Support for CUDA 13.2
CuPy now supports CUDA 13.2 and NCCL 2.29.
New API coverage
CuPy now supports
cupy.byteswap,cupy.isdtype,cupy.matrix_transpose,cupy.linalg.matmuland thecupyx.scipy.linalg.sparse.bicgstab(BIConjugate Gradient STABilized) solver.cupy.repeatwas sped up and extended to allow a CuPy array of repeats.📝 Changes
See here for the complete list of merged PRs.
New Features
ndarray.byteswap()(#9868)cupyx.scipy.sparse(#9914)Enhancements
name_expressions(#9912)cupy.linalg.matmul,cupy.linalg.matrix_transposeandcupy.matrix_transpose(#9929)NumPy/SciPy Compatibility
test_solve_singular_emptyon NumPy >= 2.4 (#9843)cupy.isdtype(#9891)Performance Improvements
CUPY_NVRTC_USE_PCH=1and use it for tests (#9783)cupyx.scipy.ndimageinterpolation functions (zoom, shift, rotate, affine_transform, map_coordinates) (#9808)Bug Fixes
mdspanandmT(#9789)--device-as-default-execution-spacefor hip (#9819).realand broadcast (#9865)cutensorbindings threadsafe (and some small fixes) (#9870)cupyx.scipy.ndimage.interpolation(#9893)Code Fixes
Documentation
scipy.linalg.*comparison table (#9744)Installation
Tests
FutureWarning(#9778)test_assumed_runtime_versionfor Windows + CUDA >=13.0 (#9786)CUPY_TEST_GPU_LIMITmore reliable. (#9882)test_assumed_runtime_version(#9903)👥 Contributors
The CuPy Team would like to thank all those who contributed to this release!
@astroboylrx @Bhuvan1527 @eriknw @ev-br @gdaisukesuzuki @gpinkert @grlee77 @ikrommyd @jberg5 @jeremyfirst22 @kmaehashi @larsoner @leofang @ManuCorrea @marco-pas @mdhaber @megha-darda @seberg
Configuration
📅 Schedule: (UTC)
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.