Cupy

Latest version: v13.1.0

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

Scan your dependencies

Page 22 of 25

4.0.0b2

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

New Features
- LSQR (745, thanks KotaroSetoyama!)
- Incorporate persistent RNN functions of cuDNN v6 (549, thanks aonotas!)
- `cupy.moveaxis` (684, thanks fukatani!)
- `default_casting` option to ufuncs (720)

Improvements
- Support `None` as an argument for clip method (802)

Bug Fixes
- Fix `matmul` to raise `ValueError` on invalid shapes (737)
- Fix `RandomState.choice` reproducibility (741)
- Fix a bug in `stack` (749)
- Make `order=None` work like default order (764, thanks kohr-h!)
- Fix to correctly display filename of CUDA dump (777)
- Fix a bug about grouped convolution (785, thanks anaruse!)
- Fix `order=None` of `unravel_index` (791, thanks Hakuyume!)
- Cast `CUPY_SEED` environment variable to `uint64` (805, thanks toslunar!)

Tests
- Add test cases for tie of `argmin` and `argmax` (774)
- Fix checks for exceptions with inheritance (788)
- Skip a test using `numpy.stack` in numpy 1.9 (803)
- Skip a test using `numpy.matmul` in numpy 1.9 (817)

Documentation
- Improve dependency description in documentation (767)
- Fix typo in environment variable reference (769)
- Document Compute Capability requirement (772)
- Improve documentation of `ElementwiseKernel.__call__` (786)
- Add documentation for `accept_error` argument in `testing.numpy_cupy_raises` (787)
- Fix wrong documentation in `testing.numpy_cupy_equal` (804)
- Expose signatures of methods to reference (808)

Others
- Add pytest cache directory to gitignore (797)

4.0.0b1

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

Announcements
As the version number indicates, we decided to name the next major version of CuPy **v4** instead of v3 to align the versioning with Chainer.
From this version, you can install compatible versions of Chainer and CuPy by specifying the same version number for both.

New features
- Add FFT functions under `cupy.fft` (477)
- Standard FFTs: `fft`, `ifft`, `fft2`, `ifft2`, `fftn`, `ifftn`
- Real FFTs: `rfft`, `irfft`, `rfft2`, `irfft2.`, `rfftn`, `irfftn`
- Hermitian FFTs: `hfft`, `ihfft`
- Helper routines: `fftfreq`, `rfftfreq`, `fftshift`, `ifftshift`
- Add `random.RandomState.tomaxint` (389)
- Add `sparse.csr_matrix.eliminate_zeros` and `sparse.coo_matrix.eliminate_zeros` (398)
- Add `linalg.tensorinv` (464)
- Add `unravel_index` (632, thanks Hakuyume!)
- Add `percentile` (643)
- Add `random.set_random_state` (704)
- Support ellipsis in `einsum` (410, thanks fukatani!)
- Support `dtype` argument in `random.randint` (567)
- Support `sparse.coo_matrix` initialization with other types of sparse matrices (573)
- Better CUDA support
- Change max dimension size of CUDA grid to make use of Compute Capability >= 3 (616, thanks anaruse!)
- Support CUDA stream with stream memory pool (306, 732)
- cuDNN grouped convolution (581, thanks anaruse!)

Bug fixes
- Fix indexing zero-dimensional array with boolean mask (580)
- Fix memory pool for multi-threaded applications (606)
- Setup Python’s builtin random state in `testing.fix_random` (640)
- Use v6 RNN API when using cuDNN7 to avoid incompatibility (660, thanks anaruse!)
- Set arch option for NVRTC, as the option is necessary on some GPUs (687, thanks grafi-tt!)
- Fix `var` and `std` to correctly handle `ddof` argument (693, thanks stevendbrown!)
- Fix advanced indexing to not alter the indices (713, thanks yuyu2172!)
- Fix bit-width issue in `random.RandomState.tomaxint` for Windows (658)

Improvements
- Performance improvements
- Improved performance of `concatenate` by using continuous copies (452, thanks uchida!)
- Optimize `sparse.csc_matrix.__mul__` (572)
- Cythonize cuDNN wrapper (512)
- Cythonize memory hook (722)
- Avoid implicit conversion into PyInt in `linear_launch` (673)
- Eliminate a redundant check in memory pool (731)
- Support uint32 sampling up to 0xffffffff in `random.RandomState.interval` (583)
- Fix `random.RandomState.seed` to only accept integer types (688)
- Fix typo in IndexError error message (681)
- Fix interface for cuDNN find algorithm APIs (624)


Examples
- Add an example of option pricing using Monte-Carlo simulation (493)

Documentation
- Update testing section in the contribution guide (671)
- Write note about environment variables for installation (534)
- Remove unrelated “see also” from `testing.numpy_cupy_raises` (634, thanks Hakuyume!)
- Fix reference page of `linalg` (650)
- Fix typo and heading in documentation (654)
- Add intersphinx mapping to Chainer (655)
- Fix a link in README.md to the contribution guide (628)
- Fix a link in README.md to the forum (752, thanks muupan!)
- Fix incorrect heading “CuPy” instead of “NumPy” in license page (656)

Test
- Move to PyTest
- Move to PyTest (623)
- Remove nose dependency in tests (672)
- Use pytest-warnings to check deprecated warnings (675)
- Fix NumPy warning for bool and complex operations (496)
- Use the latest Cython in Travis CI (597)
- Fix typo (631, thanks Hakuyume!)
- Fix doctest for Python 3.5 (644)
- Allow filtering test cases by number of GPUs with `CUPY_TEST_GPU_LIMIT` environment variable (662)
- Fix `test_einsum` (679)
- Ignore `ComplexWarning` in `numpy.pad` for NumPy 1.11 or older (689)
- Fix test of `where` to use different seeds for different arrays (703)
- Avoid deprecation warnings (718)
- Skip some dtypes in `test_einsum` (726)
- Skip `test_fft` for NumPy 1.9 or older (727)
- Skip some tests for old NumPy (744)

Others
- Improve version embedding (639)

3.0.0a1

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

New features
- Memory pool is now used as the default allocator even if CuPy is used without Chainer (472).
- Add line memory profiler using memory hook and traceback (265)
- Add cuDNN support for dropout. (479)
- Add `cudnnGetTensor4dDescriptor` for fp16 BatchNormalization support in Chainer (492, thanks anaruse!)
- Add Tensor-Core support (cuDNN and cuBLAS) (494 and 495, thanks anaruse!)
- Add window functions (555, thanks ishihara1989!)
- Add `cupy.sparse.random` (557)
- Add `cupy.argpartition` (294)

Bug fixes
- Fix multithread problem in `PooledMemory` (480)
- Resolve dealloc problem and multithread problem in `PinnedMemory` (481)
- Fix `cupy.nonzero` for corner cases (498)
- Fix simple reduction for corner cases (499)
- Fix `broadcast` for corner cases (543)
- Fix `broadcast_arrays` return type (545)
- Avoid using global state in `RandomState.choice` (556)
- Fix `csrmm2` to support transa (565)
- Fix `csrmv` (571)
- Avoid using `dtype` option in `numpy.random.randint` which is introduced in NumPy v1.11 (574)

Improvements
- Fix `get_array_module` to be aware of `spmatrix` (568)
- Use `vector` to improve free memory searching in `malloc` (476)
- Fix Cython warning on variable declaration (491)
- Check kernel name validity (522)
- Show NVRTC error code (531)
- Optimize `RandomState.interval` (559)
- Fix `random.normal` double memory consumption (562)

Installation
- Import `memory_hooks` (502)
- Avoid Cython 0.27.0 (550)
- Change minimum Cython version to 0.26.1 (365, 530, 548)
- Support NVCC environment variable (501)

Documentation
- Fix documentation of fusion functions (497)
- Add documentation of `cupy.all` and `cupy.any` function (511)
- Correct URLs in documentation (547)
- Fix typo (614, thanks fukatani!)

Examples
- Add an example of option pricing using Black-Scholes equation (473)

2.5.0

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

Improvements
- Improve error message when import failed (1029)
- Fix coding style for chained comparisons (961)
- Prefer double quoted docstring to single quoted docstring (962)

Bug Fixes
- Fix return type of `linalg.norm` when its input is complex (869, thanks kohr-h!)
- Fix multithread bug with CUDA driver API (972)
- Fix overflow in indices when indexing (984, thanks yuyu2172!)
- Fix `ndarray.diagonal` to accept an appropriate argument of `axis2` (992, thanks ronekko!)
- Remove trailing `NULL` from values returned from NVRTC (1033)
- Fix `cupy.copyto` to ignore `where` argument when `src` is scalar (1035)

Documentation
- Add upgrade guide for v2 (990)
- Fix typo (1016, thanks juniorrojas!)
- Use `pip` in documentation (1031)
- Document more on CuPy/NumPy differences (1032)
- Prefer NumPy dtype objects over character codes in documentation (963)

Tests
- Fix `sum` test to avoid contiguousness difference between CuPy and NumPy (995)
- Add Codecov.io configuration (1004)

2.4.0

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

Documentation

- Improve the document of `rand`/`randn` with examples (911)
- Fix typo (947)

Bug fix

- Fix array index overflow (925)
- Fix scalar broadcast (936)

Installation

- Exclude Cython files from sdist (929)

2.3.0

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

New Features
- Support None as an argument for clip method (807)
- Implement coo initializer for scipy sparse matrix (859)

Bug Fixes
- Make order=None work like default order (773, thanks kohr-h!)
- Fix repeat behave differently with numpy (848)
- Fix ctxGetCurrent not returning context ptr (855)
- Make a copy when SVD is calculated (860)
- Fix memory pool to correctly detect that memory pool is not established (861)
- Fix out argument in fusion (871)
- Fix downcast of size in CArray and CIndexer (897)

Examples
- Fix typo (863, thanks juniorrojas!)

Documentation
- Fix docs to use NumPy 1.14 textual representation (879)
- Add reference to paper (881)

Installation
- Change nvcc compiler options for CUDA9 (880, thanks anaruse!)

Tests
- Import testing/parameterized.py from Chainer (841)
- Remove unnecessary try catch (862)

Page 22 of 25

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.