This is the release note of v11.0.0a2 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
Improved NumPy functions coverage (#6078)
As series of NumPy routines have been proposed as a good-first-issue and as a result, an increasing number of contributors have sent pull requests to help increase the number of available APIs. An issue tracker with the currently implemented issues is available at #6078.
Initial support for cupy.typing (#6251)
An API equivalent to numpy.typing to allow the introduction of data types in CuPy and user codes has been added.
Support for CUDA 11.6 (#6349)
Initial support for CUDA 11.6 has been added as of this release. However, binary wheels are not yet distributed and users are expected to build CuPy from source meanwhile.
Support for ROCm 5.0 (#6466)
Initial support for ROCm 5.0 has been added as of this release. However, binary wheels are not yet distributed and users are expected to build CuPy from source meanwhile.
Changes without compatibility
Drop support for ROCm 4.0 (#6420)
CuPy v11 will drop support for ROCm 4.0. We recommend users to use ROCm 4.2/4.3 instead.
Changes
New Features
- Add
cupy.isneginfandcupy.isposinf(#6089) - Add
cupy.typing(#6251) - Add
asarray_chkfiniteAPI. (#6275) - Add Box-Cox transformations to
cupyx.scipy.special(#6302) - Use CUDA's
log1pforcupyx.scipy.special.log1p(#6315) - Add special functions from the CUDA Math API (#6317)
- Add
betafunctions tocupyx.scipy.special(#6318) - Add
cupy.union1dAPI. (#6357) - Add
cupy.float_power(#6371) - Add
cupy.intersect1dAPI. (#6402) - Add
cupy.setdiff1dapi. (#6433) - Add
cupy.format_float_scientificAPI (#6474)
Enhancements
- First step of
mypyintroduction (#4955) - Fix CI failure to support SciPy 1.8.0 (#6249)
- implement overwrite_input in cupy.{percentile,quantile} (#6298)
- avoid DeprecationWarning from SciPy 1.8 (
cupyx.scipy.sparse) (#6321) - Support NumPy 1.22 (#6323)
- Remove batched QR solver's experimental mark (#6327)
- Make scipy.special ufuncs work with CuPy inputs (#6341)
- Fix thrust related build issue with CUDA 11.6 (#6346)
- Support CUDA 11.6 (#6349)
- Fix CI failure to support SciPy 1.8.0 (#6362)
- Fix type annotations in installer (#6382)
- Add
__cupy_get_ndarray__dunder method to transform objects to arrays' (#6414) - Bump Jitify version to fix memory leak (#6430)
- Support cuSPARSELt 0.2.0 (repost) (#6436)
- Support ROCm 5.0 (#6466)
- Warn if unexpectedlly failed to detect device count in
cupy.show_config()(#6472) - Fix verbose LOBPCG for SciPy 1.8 (#6388)
Performance Improvements
- Reduce memory usage in
cupy.sort(#6392)
Bug Fixes
- Fix JIT to support notebook environment (#6329)
- Fix
cupyx.ndimage.spline_filter1dfor HIP (#6406) - Fix
cupy.nan_to_num(#6408) - Fix
cupyx.special.gammainc,lpmvandsph_harmfor hip (#6409) - Fix boolean views for HIP (#6412)
- Fix reduction contiguous size calculation (#6457)
Code Fixes
- Remove global
use_hipflag in setup (#6391) - Hide private names in
cupyx.scipy.linalg(#6449) - Hide private names in
cupyx.scipy.ndimage(#6450) - Hide private names in
cupyx.scipy.signal(#6451) - Hide private names in
cupyx.scipy.sparse(#6454) - Hide private names in
cupyx.scipy.stats(#6456)
Documentation
- Use
cupy.__version__instead ofpkg_resources(#6332) - Tentatively pin intersphinx to SciPy 1.7.1 docs (#6440)
- Revert "Tentatively pin intersphinx to SciPy 1.7.1 docs" (#6479)
Installation
- Avoid monkeypatching distutils (#6273)
- Eliminate unnecessary configuration pass in setup (#6389)
- Remove
CUPY_SETUP_ENABLE_THRUST=0environment variable (#6390) - Drop support for ROCm 4.0 (#6420)
- Bump version to v11.0.0a2 (#6501)
Tests
- CI: allow discarding docker image cache manually (#6269)
- Add slow tests for stable branch (#6340)
- Parameterize library installer tests (#6343)
- Fix tests for
eigh()for CUDA 11.6 (#6347) - Avoid empty notification message for scheduled tests (#6363)
- Support SciPy 1.8 (#6365)
- Add
cupy.testing.installed(#6381) - Mark XFAIL for SciPy 1.8 release candidate (#6385)
- CI: Bump ROCm version from 4.3 to 4.3.1 (#6415)
- CI: build docs in parallel (#6416)
- CI: Add HEAD tests for stable branch (#6423)
- CI: Use default schema/matrix path in
generate.py(#6424) - Skip hfft related tests in HIP (#6427)
- CI: Manage test tags in yaml (#6429)
- CI: coverage in reST (#6445)
- CI: fix NCCL 2.10 unit test not covered (#6448)
- CI: Fix CUDA 11.6 driver update steps (#6467)
- Ignore warnings from Optuna 3.0 pre-releases (#6470)
- Fix failing tests in ROCm (#6482)
Others
- CI: allow specifying special
skiptag (#6468)
Contributors
The CuPy Team would like to thank all those who contributed to this release!
@amanchhaparia @anaruse @asi1024 @emcastillo @grlee77 @IvanYashchuk @khushi-411 @kmaehashi @pri1311 @saswatpp @takagi