This is the release note of v5.0.0b3. See here for the complete list of solved issues and merged PRs.
Highlights
-
cupyx.scipynamespace has been introduced to provide SciPy-compatible APIs for CuPy ndarrays.cupy.sparsemodule has been renamed tocupyx.scipy.sparse;cupy.sparseis kept for backward compatibility. -
New user-defined kernel class called
cupy.RawKernelhas been added. By using raw kernels, you can define kernels from raw CUDA source. See the documentation for details.
New Features
- Introduce SciPy namespace (#1079)
- Logarithmic gamma and related functions (#1232)
- Binomial distribution (#1356)
- Implement
cupyx.scipy.linalg.solve_triangular(#1383) - Implement
RawKernel(#1398) - Beta distribution (#1413)
- Dirichlet distribution (#1415)
Enhancements
- Use fmin and fmax for HIP environment (#1116)
- Improve
reduce_dimsfor speed up (#1324) - Remove overhead in
creation/basic.py(#1342) - Improve performance of host to device memory copy (#1367)
- Fix
cupy.covfor degrees of freedom <= 0 (#1370, thanks @tsurumeso!) - Add compilation methods in
Fusionclass (#1382) - Make the method
cupy.random.RandomState.intervalprivate (#1430) - Use
get_cublas_handleto reduce creation ofDeviceobject (#1440) - Remove overhead in generator and distribution (#1442)
- Remove
streamoption fromRawKerneland add missing docs of arguments inReductionKernel(#1444) - Allow
cupy.get_array_moduleto take fusion parameters (#1446) - Use
internal.clp2in reduction (#1448)
Bug Fixes
- Fix issue of cuDNN convolution math_type setting (#1428)
- Fix
ModuleandLinkStatenot freed (#1439) - Fix
fromDlpackmemory management (#1445, thanks @t-vi!) - Fix error in
PooledMemoryin Python 3.7 (#1457)
Documentation
- Fix documentation of the
optionarg ofElementwiseKernel(#1437) - Convert
cupy.sparsetocupyx.scipy.sparsein docstrings (#1450)
Installation
- Change required Cython version to 0.28 or later (#1407)