This is the release note of v12.2.0. See here for the complete list of solved issues and merged PRs.
We are running a Gitter chat for general discussions and quick questions. Feel free to join the channel to talk with developers and users!
✨ Highlights
Support for CUDA 12.2
CuPy now supports CUDA 12.2. Note that there is a known issue on CUDA 12.2 for Windows. See #7776 for details.
Support us via GitHub Sponsors!
As a part of our effort to make CuPy sustainable, we have enrolled in GitHub Sponsors to accept donations. Help us to support CuPy’s development and contribute to ease the required infrastructure costs due to the need of GPU enabled CI platforms and resources to build binary packages.
As a NumFOCUS Sponsored Project, funds sponsored through the GitHub Sponsors are collected and disbursed via NumFOCUS, a 501(c)(3) public charity in the United States, which acts as the fiscal sponsor for the project.
🛠️ Changes without compatibility
Deprecation of cupy-wheel Package
Due to the recent specification change in Pip 23.1, it became difficult for cupy-wheel to ensure detecting the CUDA version installed correctly. As discussed in RFC #7628, we have decided to remove this package in CuPy v13. To allow existing projects using cupy-wheel to continue to work, the package remains available for v12 releases.
📝 Changes
Enhancements
- Minor updates for cuQuantum/cuTensorNet support (#7730)
- Bump mypy version to 1.4.1 (#7736)
- Support CUDA 12.2 (#7752)
Performance Improvements
- Fix random module performance regression (#7592)
Bug Fixes
- Fix returned CUDA statuses not being checked (#7618)
- Fix cuSPARSE error message (#7684)
- Fix memory pool to try resolve fragmentation when limit is set (#7685)
- Fix type/exception annotations in cuSPARSE binding (#7703)
- Update pylibcugraph weakly connected components call (#7704)
- Improve detection for package installation source on Windows (#7711)
- Temporarily disable CUB histogram (#7716)
- Fix
aweightstype not checked incupy.cov(#7717) - Revert FP16 headers from CUDA 12.2.0 to CUDA 12.1.1 (#7773)
Code Fixes
- Introduce
cython-lint(#7612)
Documentation
- Improve README and Installation Guide (#7599)
- update badges (#7600)
- Fix small typos in docstrings (#7657)
- Fix docstring of
asarray(#7695) - Add CUDA 12.2 to list of supported CUDA (#7756)
- Remove incorrect
cupyx.distributed.NCCLBackend.all_gathercomment (#7765) - Fix Note highlight sections in README (#7770)
- Add notes for CUDA 12.2 on Windows support (#7778)
Installation
- Fix
cupy-wheelpackage installation fails with pip 23.1+ (#7624)
Tests
- Bump versions of static checkers (#7598)
- Fix build-cuda test
restore-keysnot working (#7614) - [v12] Require numpy<1.25 for
round_tests (#7642) - Ignore
pkg_resourcesdeprecation warning on import (#7656) - Skip
TestLOBPCG::test_maxit_Nonein CUDA 12.1.1 & cuSOVLER 11.4.5 (#7670) - Bump CUDA minor versions used in CI (#7683)
- [v12] Allow specifying Docker repository for CI images (#7690)
- Use "/test" tag configuration from pull-request base branch (#7706)
- XFAIL known test failures in cuSPARSE module (#7725)
- Fix
test_fhtnot to feedcupy.ndarraytoscipy.fft.fhtoffset(#7728) - CI: remove explicit Cython installation (#7731)
- Fix test_sum_duplicates_incompatibility for SciPy 1.11 (#7768)
Others
- Fix flake8-cython not working (#7606)
- Add env var to disable RPATH (#7718)
- Bump version to v12.2.0 (#7755)
👥 Contributors
The CuPy Team would like to thank all those who contributed to this release!
@12rambau @asi1024 @emcastillo @jnke2016 @kmaehashi @leofang @pelmers @pri1311 @RandomY-2 @takagi