This is the release note of v10.3.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!
Notice (2022-04-08)
We have published a hot-fix release v10.3.1 which addresses a regression that prevents CuPy from working in older CUDA GPUs (Maxwell or earlier).
Highlights
Support for CUDA 11.6
Full support for CUDA 11.6 has been added as of this release. Binary packages are available in PyPI and can be installed with the following command: pip install cupy-cuda116
Support for ROCm 5.0
Full support for ROCm 5.0 has been added as of this release. Binary packages are available in PyPI and can be installed with the following command: pip install cupy-rocm-5-0
Changes
Enhancements
- Support ROCm 5.0 (#6496)
- Support cuSPARSELt 0.2.0 (repost) (#6507)
- Update
cupy.array_api(#6550) - Fix
cupy.copytoto take NumPy array scalars (#6593) - Fix for supporting ROCm 5.0 (#6599)
- Make einsum accept subscripts in numpy int (#6516)
Bug Fixes
- Fix error message in
vectorize(#6515) - Fix
cupy.cumsumon ROCm 5.0 (#6525) - Fix coo_matrix.diagonal (#6533)
- Fix
outargs parser of ufunc (#6547) - Fix
cupy.fillto properly take zero-dimcupy.ndarray(#6548) - Fix cuSPARSELt 0.1.0 support in v10 (#6563)
- Fix
may_share_memoryalgorithm (#6565) - Avoid using the same kernel from different devices in JIT (#6581)
- Fix array creation shape (#6592)
- Fix cupy.full and cupy.full_like to make unsafe casting (#6595)
- Fix device context management in
MemoryAsyncPool(#6596)
Code Fixes
- mypy: array_api (#6552)
Documentation
Installation
- Remove
CUPY_SETUP_ENABLE_THRUST=0environment variable (#6488) - Skip appending
--compiler-bindirifcl.exeis already onPATH(#6514) - Bump version to v10.3.0 (#6602)
Tests
- Ignore warnings from Optuna 3.0 pre-releases (#6490)
- Disable CentOS 8 test (#6519)
- Add FlexCI projects for Windows (#6540)
- Skip
async_malloctests on unsupported device (#6544) - CI: Trigger
pushevent of FlexCI via GitHub Actions (#6554) - CI: regenerate matrix (#6557)
- CI: Fix rule name in dispatcher (#6558)
- CI: Fix event name in dispatcher (#6559)
- Fix flaky test_inverse_indices_shape (#6573)
- Trigger CUDA 11.6 Windows CI when push/pull-request (#6578)
Contributors
The CuPy Team would like to thank all those who contributed to this release!
@anaruse @asi1024 @kmaehashi @leofang @Onkar627 @takagi @toslunar @tushxr16