Cupy

Latest version: v13.3.0

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

Scan your dependencies

Page 15 of 26

7.2.0

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

Known packaging issues:
* ~Wheel packages for CUDA 10.2 (`cupy-cuda102`) are currently unavailable on PyPI. Packages will be published after getting [approval of the file size limit increase](https://github.com/pypa/pypi-support/issues/191).~ (resolved on 2020-02-21)

Highlights

This release adds support for CUDA 10.2 and NumPy 1.18.

Enhancements

- Fix `linspace(..., num=1, endpoint=False, retstep=True)` (2990)
- Add `nogil` to CUB (3000, thanks y1r!)

Bug Fixes

- Fix `ParameterInfo` as a cache key (2961)
- Fix import of `_get_axis` (2972, thanks jakirkham!)
- Fix an issue using non-existing attribute in `cub.pyx` (3001)
- Use `size_t nbytes` in `__cuda_array_interface__` (3015, thanks jakirkham!)
- Fix empty vector access (3021)
- Fix `get_fft_plan()` and some FFT tests (3031, thanks leofang!)
- Fix `imag` for 0-size array (3039)
- Fix nvcc command lookup (3040)

Code Fixes

- Remove code paths for unsupported Python versions (3045)

Documentation

- Fix typo in note (3019, thanks Schoyen!)
- Add NumPy 1.18 to installation guide (3042)
- Add `cupy-cuda102` (3073)

Installation

- Fix an issue that `cuComplex_bridge.h` is not installed (3043)
- Do not let Python 2 users build CuPy v7+ (3044, thanks leofang!)

Tests

- Require `scipy` in `test_gmm` (3050)
- Print installed packages in pytest (3065)
- Set `CUPY_CI` environment variable in Travis CI and AppVeyor (3066)

7.1.1

Not secure
This is a hot-fix release for [v7.1.0](https://github.com/cupy/cupy/releases/tag/v7.1.0) to address an issue in CUB support. Only users manually building CuPy from source with CUB support enabled are affected; wheel package users (`cupy-cudaXXX`) are not affected by this issue as CUB support is not enabled in wheels.

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

Bug Fixes

- Fix import of `_get_axis` in `cupy.cub` (2986, thanks jakirkham!)

7.1.0

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

Changes without compatibility

- `code_or_path` argument of `cupy.RawModule` has been replaced with two keyword arguments (`code` and `path`) to avoid ambiguity. (2786)

Enhancements

- Fix slow import of cupy (2773, thanks cgohlke!)
- Support 64 bit extent `randint` (2854)
- Improve compatibility of `random.randint` (2862)
- Show warning for cuFFT bug in `irfftn` (2962)

Bug Fixes

- Separate code and path arguments in `RawModule` (2786)
- Fix range used in `cupyx.scipy.ndimage` filter origin check (2810, thanks grlee77!)
- Detect interpreter shutdown for proper `__del__` behavior (2811)
- Update `thrust::complex` headers with a bug fix (2833, thanks leofang!)
- Fix `true_divide` with dtype argument (2834)
- Fix compilation error causes when thrust is enabled (2839)
- `keepdims` should always preserve all dimensions in CUB-based reductions (2848, thanks grlee77!)
- Fix split and `array_split` with indices overrun (2851)
- Fix split and `array_split` with unordered indices supplied (2857)
- Avoid looking up null pointers' attributes (2866, thanks leofang!)
- Fix `testing.shaped_random` for shape `()` (2889)
- Fix `argmin`/`argmax` `dtype` argument (2890)
- Fix complex type checks in `_correlate_or_convolve` (2924)
- Fix `cupy.cuda.cub.device_segmented_reduce()` not being used (2936, thanks leofang!)
- Sets the default value for `thread_local.linalg` if not defined (2937)

Documentation

- Fix docs of options argument in `RawKernel` and `RawModule` (2774)
- Fix typo in `scipy.fft` docs (2807, thanks grlee77!)
- Fix the docstring format of `cupy.asarray` (2825, thanks leofang!)
- Document `get_allocator` function (2954, thanks jakirkham!)
- Update cuTENSOR version in docs (2955)
- Document device synchronization (2957)

Tests

- Test cuTENSOR v1.0.0 (2775)
- Use more stable input to test `linalg.matrix_power` (2793)
- Fix decorator usage in tests (2847)
- Remove Python 3.4 matrix from Travis CI (2867)
- Refactor array testing decorators (2877)
- Test `ifloordiv` with NumPy 1.18 (2880)
- Fix `test_helper.py` for NumPy 1.18 (2913)
- Avoid 0s in the diagonal of `TestSolveTriangular` inputs (2929)

Others

- Add Mergify configuration file (2933)

7.0.0

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

This release note only covers the difference from v7.0.0rc1; for all highlights and changes, please refer to the release notes of the pre-releases:

7.0.0rc1

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

Announcements

This time, we will keep the current branches for active development (`master` for v7.x, `v6` for v6.x) after the RC. We will maintain v6.x series until Python2 EOL, so we do not cut the new development version for now to avoid increasing the number of branches to maintain. New features will be included directly into v7 for a while, and maintenance changes will be backported to v6.

Highlights

- Experimental support of AMD GPUs are added (1094). See [the installation guide](https://docs-cupy.chainer.org/en/latest/install_rocm.html) for how to install CuPy with AMD support. Note that this feature is still experimental, and we do not guarantee the API stability.

Changes without compatibility

- Avoid casting inputs to `cupy.ndarray` in `cupy.pad` (2504)
- From this release, `cupy.pad` does no longer convert the input to `cupy.ndarray` automatically. This is done under the design principle of not implicitly synchronizing the host and the device, which most of the other APIs are also following.

New Features

- Experimental support of AMD GPU via HIP (ROCm2.7.0+) (1094)
- Adds `nvcc` as a `RawKernel` backend (1941, thanks sjperkins and leofang!)
- Support cuTENSOR 0.2 (2341)
- Implement `isin` and `in1d` (2388, thanks UmashankarTriforce!)
- Support `scipy.ndimage` compatible `convolve` and `correlate` (2483)
- Added `cupy.cuda.memory.get_allocator` interface (2489)
- Handle PCI bus ID (2531, thanks jameshclrk!)
- Expand coverage of cuSolverSP APIs (2539)
- Add cuSPARSE routines for preconditioners (2542)

Enhancements

- Fix division by zero in mean/std/var functions for 0-length dimensions (2201, thanks pentschev!)
- Improve error message in `cupy.linalg.inv` (2342)
- Replace `cupy.pad` with a heavily refactored version from NumPy 1.17 (2399, thanks grlee77!)
- Fix `cupy.repeat` error message about `repeats` argument type (2400)
- Ignore warning caused by `fastrlock` (2488)
- Update `__cuda_array_interface__` to protocol version 2 (2491, thanks leofang!)
- Allow `axis=None` in concatenate (2496, thanks liwt31!)
- Fix `testing.numpy_cupy_` decorators for skips (2498)
- Avoid implicit cast inputs to `cupy.ndarray` in `cupy.pad` (2504)
- Cholesky decomposition to support complex values (2509)
- Enhance shuffle-test of `testing.for_dtypes_combination` (2511)
- Allow to use `real` and `imag` on CUDA kernels (2520)
- Support complex numbers in `cupy.linalg.qr()` (2526, thanks leofang!)
- Fix bug in CUB + Native support of complex numbers in CUB (2538, thanks leofang!)
- Support `cupyx.fallback_mode` as an experimental feature (2541)
- Support stream in CUB (2555, thanks leofang!)

Performance Improvements

- Performance improvement for `cupy.var` complex inputs (2484)
- Enable fast CUB-based reductions in more cases (`cupy.linalg.norm`, etc.) (2517, thanks grlee77!)

Code Fixes

- Remove unnecessary check of cuSOLVER (2529, thanks grlee77!)

Documentation

- Fix dead links in NumPy docs in random functions (2384)
- Update `install_rocm.rst` (2512)
- Fix some typo (2523, thanks garanews!)

Tests

- Fix memory pool disabled during tests (2452)
- Skip bool-bool inputs in `cupy.cross` test (2503)
- Fix error in `test_build.py` (2514, thanks leofang!)
- Move CI requirements to CuPy repository (2533)
- Fix for NumPy 1.14.x compatibility (2544)
- Workaround bug in NumPy 1.12.x or earlier (2545)

7.0.0b4

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

New Features

- Add `cupy.cross` (2366, thanks UmashankarTriforce!)
- Add `cupy.may_share_memory` (2417)
- Add occupancy driver APIs (2424, thanks leofang!)
- Add `scatter_max` and `scatter_min` (2427)
- Support texture memory in `RawKernel` (2432, thanks leofang!)

Enhancements

- Extend `CuDNNError` to have more debugging information (2404)
- Add complex dtype support to `cupy.std` and `cupy.var` (2411, thanks grlee77!)
- Support complex dtypes in `cupy.linalg.inv()` (2468, thanks leofang!)

Performance Improvements

- Use CUB to speed up `sum`/`min`/`max` (2090)
- Avoid creating empty numpy ndarray in `common_type` (2307)
- `cupy.linalg.norm`: update docstring and improve performance for `ord=2` cases (2479, thanks grlee77!)

Bug Fixes

- Fix bug in `coosort` (2410, thanks econtal!)
- Fix multithreading issue in `cupy.cuda.cufft.get_current_plan()` (2435, thanks leofang!)
- Normalize hidden layer strides in cuDNN RNN (2442)
- Copy inputs in ufunc if they share the same memory with outputs (2460)

Code Fixes

- Fix cuSOLVER `devInfo` dtype in `inv` and unify how those are specified (2454)
- Fix code convention of statistics routines (2459)
- Remove unnecessary `ndarray` private methods (2465)

Documentation

- Document `CUTENSOR_PATH` environment variable (2386)
- Add appropriate pointer types in Cython to the contribute guide (2455, thanks leofang!)
- Fix invalid escape sequence (2470)

Installation

- Fix NumPy version in Dockerfile (2430)

Examples

- Broadcast `ValueError` for `n-clusters > 2` in k-means example (2453, thanks casheera!)

Tests

- Simplify `cupy.fuse` tests (2339)
- Revert "Skip some ndarray-elementwise-op tests as temporary fix" (2383)
- Drop Python 2 Travis CI configuration (2428)
- Drop Python 2 PFN CI configuration (2429)
- Change URL to place test assets (2434)
- Add NumPy 1.17.1 to skip list of 0-length `ifft` test (2441)
- Remove unnecessary skip in 0-length `ifft` test (2443)
- Fix `TestDLTensorMemory.test_delete` (2451)
- Fix data race in advanced indexing test (2472)
- Fix `pytest` 5.x version errors (2473)
- Remove global state from tests (2475, thanks leofang!)

Page 15 of 26

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.