v7.0.0b3
Pre-release
Pre-release
This is the release note of v7.0.0b3. See here for the complete list of solved issues and merged PRs.
Highlights
cupy.RawModule has been introduced to allow users access low-level features (CUDA modules).
Dropping Support of Python 2
Due to the end-of-life (EOL) of Python 2 in January 2020, Python 2 support has been dropped in this release. CuPy v6.x continues to support Python 2. See the blog post for details.
New Features
- Add
cupy.nanargminandcupy.nanargmax(#2222, thanks @harshalchaudhari35!) - Support cuDNN Fused Ops API (#2246)
- Add
fallback_mode.ndarray(#2272, thanks @Piyush-555!) - Add NCCL broadcast (#2303)
- Add
take_along_axis(#2314) - Add
cupy.nanmean(#2319, thanks @Piyush-555!) - Add more cuSolver APIs for dense linear solver (#2320)
- Provide full coverage for NCCL APIs in CuPy (#2325, thanks @leofang!)
- Add
cupy.nanvarandcupy.nanstd(#2344, thanks @Piyush-555!) - Allow getting and setting CUDA kernel attributes (#2369, thanks @leofang, @grlee77 and @andravin!)
- Add
cupy.RawModule()(#2389, thanks @leofang!) - Add
diagonalmethod forcupyx.scipy.sparse.dia_matrix(#2398, thanks @grlee77!)
Enhancements
- Support for shape argument in
*_likefunctions (#2171, thanks @pentschev!) - Support batched matrix inverse (#2300)
- Add wrapper for
numpy.vectorizeinfallback_mode(#2350, thanks @Piyush-555!) - Allow cuFFT plans to be used as a context manager; Set stream before executing cuFFT plans (#2362, thanks @leofang!)
- Raise
DeprecationWarningon 0-dim arrays innumpy.nonzeroto match NumPy 1.17 behavior (#2394) - Change check condition of
accept_error(#2396)
Bug Fixes
- Make exceptions picklable (#2318)
- Make
cupy.tensordotuse Tensor Core also in case of compute-capability > 70 (#2328)
Code Fixes
- Fix unused imports and import orders (#2312)
- Fix variable names in
trikernel (#2326) - Some simplifications using
isnan(#2364) - Small fix of
fusion.pyxand docs (#2393, thanks @xuzijian629!)
Documentation
- Add new functions to API reference (#2308)
- Fix for
linalg.svddocumentation (#2321, thanks @IvanYashchuk!) - Fix markup in
linalg.svddocs (#2323) - Fix doctest failure related to
__array_function__support (#2352) - Add 1.17 to supported NumPy versions (#2368)
Tests
- Make wheel of master for CI (#2144)
- Add ChainerCV's tests to pfnCI (#2186)
- Fix tests of
linalg.svd(#2338) - Check return type in
test_type_routines.py(#2358) - Skip some FFT tests on NumPy 1.17.0 due to a NumPy bug (#2363, thanks @grlee77!)
- Remove
random.powertest with forbidden value (#2375) - Skip some tests in
TestArrayElementwiseOpas temporary fix (#2376) - Avoid using
numpy.nonzeroin_make_decorator(#2385) - Increase numbers of retries for K-S tests (#2397)
Others
- Drop support for Python 2.7 and 3.4 (#2343)