Cupy

Latest version: v13.1.0

Safety actively analyzes 631249 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 21 of 25

4.2.0

Not secure
This is the release note of v4.2.0. See [here](https://github.com/cupy/cupy/milestone/29?closed=1) for the complete list of solved issues and merged PRs.

Highlights

- Allocation strategy of pinned memory has been improved to reduce host memory usage.
- Fixed bugs in multiple functions with arrays with complex dtypes.

Enhancements

- Use cuDNN v7 APIs to get conv algos for TensorCore (1134)
- Fix `cupy.diag` failures for array-likes objects other than CuPy arrays (1235, thanks hyabe!)
- Remove memory copy in the `cupy.diag` function (1337)
- Support weak reference to CuPy array (1359)
- Fix to preserve dtype of an input array in `cupy.linalg.norm` (1376)
- Improve performance of ndarray initialization (1377)
- Round-up pooled memory allocation size with clp2 (1386)
- Reduce GPU memory usage in (de)convotion (1387)
- Support `'f'` and `'c'` in the `order` option of ndarray (1390)

Bug Fixes

- Fix `cupy.matmul` when inputs contain zero-sized array(s) (1238)
- Fix default dtype of `cupy.full` (1257)
- Fix dtype option of `cupy.sum` and `cupy.prod` (1259)
- `sort`, `lexsort`, and `argsort` catch C++ exceptions from Thrust (1290)
- Fix `view` of zero-dim ndarray (1291)
- Fix `real` and `imag` of zero-dim ndarray (1292)
- Support `cupy.expm1`, `cupy.log1p`, `cupy.log2` for complex type (1293)
- Fix unary functions in `cupy.math.misc` to support complex types (1297)
- Fix binary functions in `cupy.math.misc` to support complex types (1298)
- Fix `OutOfMemoryError` raised even when there are sufficient large freeable chunks (1301, thanks hyabe!)
- Fix `astype` for complex dtypes (1302)
- Fix `real`, `imag` of non-contiguous complex ndarray (1306)
- Rounding functions support complex ndarrays (1308)

Documentation

- Update README to encourage use of wheels (1296)
- Add NumPy 1.14 to supported versions (1305)
- Fix typo in sparse matrix docs (1310)
- Force displaying known methods which are mis-recognized as attributes by Sphinx (1314)
- Expand reference on differences in zero-dimensional arrays (1315)
- Split LICENSE file (1326)
- Fix typo in profiler docs (1328)
- Reorganize license files (1335)
- Fix typos in `cupy.zeros` and `cupy.zeros_like` (1360)
- Update requirements for v5.0.0b2 / v4.2 release (1373)

Installation

- Remove deprecated `imp.load_source` in setup.py (1332, thanks vilyaair!)
- Add a license file to wheel (1348)

Tests

- Fix .coveragerc (1212)
- Remove `_multiprocess_can_split_` (1267)

4.1.0

Not secure
This is the release note of v4.1.0. See [here](https://github.com/cupy/cupy/milestone/26?closed=1) for the complete list of solved issues and merged PRs.

Enhancements

- Add NumPy-compatibility constants (1205, thanks keisuke-umezawa!)
- Support complex constants and functions in fuse (1207)
- Free pooled memory when `cufftMakePlan1d` cannot allocate memory (1236)
- Rename `CuFftError` to `CuFFTError` (1244)

Bug Fixes

- Fix regex in `einsum` to match empty input subscript (1186)
- Fix memory leak: mempool tried to find out-of-bounds bin when freeing chunk (1189)
- Fix scalar casting rule to support Windows (1194)
- Fix conversion from float16 to complex (1252)


Installation

- Separate NVTX module for better Windows support (1237)

Tests

- Separate tests for `cupy.power` against complex dtype (1187)
- Fix example test to pass on Windows (1188)
- Fix `real` and `imag` test for `bool` to pass on Windows (1192)
- Skip `int8.max` test on Windows due to NumPy bug (1193)
- Fix `hacking` version (1229)
- Fix 32-bit boundary test to support Windows (1255)

Others

- Fix `.gitignore` to exclude `.pyd` files (1227)

4.0.0

Not secure
This is the major release of CuPy v4.0.0. All of the updates since the previous major version (v2.5.0) can be found in the release notes below:

4.0.0rc1

Not secure
This is the release candidate of v4. See [here](https://github.com/cupy/cupy/milestone/23?closed=1) for the complete list of solved issues and merged PRs.

Announcements
- We have started supporting CUDA9.1! A new wheel package `cupy-cuda91` is also available from this release. You can install it with `pip install cupy-cuda91`.
- The master branch has been switched to v5 development. The development of v4 will continue in the v4 branch.
- The major release of v4 is planned on Apr. 17.

New Features
- Implement cuDNN convolution interface (715)
- Support multi dimensional arrays in `solve` (845)
- Add `cupyx.rsqrt` (846)
- Add `destroy` method to `NcclCommunicator` (975)
- Implement `__setitem__` in fusion function (1002)

Bug Fixes
- Fix overflow in indices when indexing (758, thanks yuyu2172!)
- Fix matrix multiplication when matrixes have duplicated entries (834)
- Fix multithread bug with CUDA driver API (916)
- Remove trailing NULL from values returned from NVRTC (942)
- Fix `ndarray.diagonal` to accept appropriate argument of `axis2` (978, thanks ronekko!)
- Fix `eliminate_zeros` (998)
- Remove cudnn STATUS dict (1012)
- Fix temporary variables which are used when `input_num` is given (1020)
- Fix `cupy.copyto` ignore where argument when src is scalar (1028)

Installation
- Fix to use rpath only when wheel libs are specified (980)
- Update to CUDA 8.0 and use CuPy wheels in Dockerfiles (991)
- Support CUDA 9.1 (997)
- Fix exception handling fail on Windows with Python 3.x (1000)

Enhancements
- Improve matrix inverse speed using LU decomposition (695, 927, thanks stevendbrown!)
- Use CUDA version to decide if it import cuSOLVER or not (832)
- Simplify fp16 code in `carray.cuh` (870)
- Fix potential error at the stride for loop over the j-axis in `ReductionKernel` (874, thanks grafi-tt!)
- Hide Chunk class (933)
- Improve concatenate and other functions (949)
- Use `nogil` in FFT (950)
- Improve error message when import failed (970)
- Use current stream in array method (981)
- Change `group` argument name of `create_convolution_descriptor` (988)
- Use default stream in `_scatter_op` (989)
- Expose `CUDNN_BN_MIN_EPSILON` from `cudnn.h` (1011)

Documents
- Add upgrade guide for v2 & v4 (884)
- Add wheels to installation guide (955)
- Update array docstring (982, thanks juniorrojas!)
- Prefer `pip` in documentation (985)
- Add Docker update information to upgrade guide (993)
- Remove unnecessary heading from reference (996)
- Add URL to the directory in the documentation (999)
- Fix spelling mistake of NumPy and CuPy (1013)
- Fix typo (1015)
- Fix `scatter_add` docs (1025)
- Add complex dtypes on the overview (1026)
- Document more on CuPy/NumPy difference (1027)
- Add SciPy license to document (1037)
- Fix broken link to `numpy.sum` (1039)

Tests
- Free huge memory in slow test; Fix sum test to avoid contiguousness difference between CuPy and NumPy (971)
- Add AppVeyor configuration (1001)
- Fix shaped_random for complex number (1017)
- Skip cuDNN tests when cuDNN is unavailable (1041)
- Add Codecov.io configuration (1003)

Others
- Remove outdated TODO (1014)

4.0.0b4

Not secure
This is the release of v4.0.0b4. See [here](https://github.com/cupy/cupy/milestone/20?closed=1) for the complete list of solved issues and merged PRs.

Important Changes
Starting from this release, CuPy supports wheel packages. The packages have different names depending on the CUDA versions. Installation is much faster with wheel packages than with the conventional installation from source.

To install CuPy from a wheel package, first uninstall the existing CuPy if you have, and then type the following command with appropriate CUDA version.

shell-session
$ pip install --pre cupy-cuda80
$ or
$ pip install --pre cupy-cuda90


Note: the wheel packages include cuDNN and NCCL2 binaries. These included binaries are automatically used by CuPy instead of those prepared by yourselves.

New Features
- Implement `isclose` (825)
- Introduce `cupyx` namespace (894)
- `cupy.scatter_add` is marked as deprecated. Use `cupyx.scatter_add` instead.
- Add logic type tests: `iscomplex`, `iscomplexobj`, `isfortran`, `isreal`, `isrealobj` (904)
- Import numpy complex dtypes into cupy namespace. (907, thanks ericmjl!)
- Simplify `free_all_blocks` interface (918)
- Support CUDA stream on FFT (926)
- Add forward/backward support for cuDNN clipped ReLU and ELU (938, thanks tkerola!)

Improvements
- Simplify `__getitem__` and `__setitem__` (724)
- Fix concatenate bug and improve performance (747)
- Improve `cupy.partition` performance (763)
- Support memory pool for FFT functions (910)
- Implement memory pool index compaction (912)
- Enable complex tensors for `cupy.matmul` and `cupy.einsum` (921, thanks hknerdgn!)
- Move `cupy.cufft` to internal functions of `cupy.fft.fft` (924)
- Use `cublas*gemmStridedBatched` APIs in matmul (930, thanks anaruse!)
- Use `__dealloc__` in memory object (934)
- Embed build-time version of CUDA/cuDNN (937)
- Remove unnecessary code in `cupy.fft` (951)
- Prefer data type objects over character codes (956)
- Prefer double quoted docstring to single quoted docstring (957)
- Simplify chained comparisons (958 )
- Remove warning in `cupy.core.fusion` (960)

Bug Fixes
- Fix `concatenate` bug and improve performance (747)
- Fix scalar broadcast (789)
- Test sparse with many types of sparse matrices (833)
- Fix array iteration index overflow (882)
- Fix get and set method with async mode (900)
- Fix bug about stream deletion (917)
- Fix test failure in cuDNN v5 which does not support `CUDNN_ACTIVATION_ELU` (959)

Installation
- Improve message during installation (762)
- Support wheel build (899)
- Exclude Cython files from sdist (920)
- Add `--cupy-long-description` option to inject long description for wheels (953)

Documentation
- Improve the document of `rand`/`randn` with examples (908)
- Fix typo: `nestead` -> `nested` (943, thanks rcalland!)
- Use https in supported websites (948)

Tests
- Test sparse with many types of sparse matrices (833)
- Fix test failure in cuDNN v5 which does not support `CUDNN_ACTIVATION_ELU` (959)

4.0.0b3

Not secure
This is the release of v4.0.0b3. See [here](https://github.com/cupy/cupy/milestone/18?closed=1) for the complete list of solved issues and merged PRs.

Highlights
- `cupy.random.shuffle` performance has been improved. See 603 for details.
- More functions for sparse matrix have been added.

New Features
- Fast `shuffle` (603, thanks anaruse!)
- Implement `sum` for `cupy.sparse` (712)
- Implement conversion to complex scalar (783, thanks kohr-h!)
- Support scalar values in `atleast_nd` (819)
- Implement `size` function (827)
- Implement `eliminate_zeros` for `csc` matrix (831)
- Implement `rand` for `cupy.sparse` (836)
- Implement `coo` initializer for SciPy sparse matrix (857)

Improvements
- Accept `None` in `set_allocator` and `set_pinned_memory_allocator` (885)

Bug Fixes
- Fix `repeat` that behaved differently from NumPy (670)
- Fix return type of `linalg.norm` for complex input (781, thanks kohr-h!)
- Fix `ctxGetCurrent` (837)
- Make a copy when SVD is calculated (844)
- Fix memory pool to correctly detect being not established (856)
- Fix `out` argument in fusion (868)
- Fix `cupy.size` overflow in 32-bit (883)
- Fix downcast of size in `CArray` and `CIndexer` (892)

Examples
- Add an example of option pricing with multiple GPUs (513)
- Improve the conjugate gradient example (852)
- Fix typo (858, thanks juniorrojas!)

Documentation
- Add reference to paper (867)
- Fix docs to use NumPy 1.14 textual representation (876)
- Fix memory allocator docs (887)

Installation
- Change NVCC compiler options for CUDA9 (835, thanks anaruse!)

Tests
- Import `testing/parameterized.py` from Chainer (784)
- Remove unnecessary try catch (815)

Page 21 of 25

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.