Cupy

Latest version: v13.1.0

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

Scan your dependencies

Page 11 of 25

8.5.0

Not secure
This is the release note of v8.5.0. See [here](https://github.com/cupy/cupy/milestone/92?closed=1) for the complete list of solved issues and merged PRs.
We are running a [Gitter chat](https://gitter.im/cupy/community) for general discussions and quick questions. Feel free to join the channel to talk with developers and users!

Changes without compatibility

Always run cythonize on sdist installation (4619)

When installing cupy from the regular sdist wheel, Cython files are provided instead of `.cpp` ones so an environment capable of running the latest Cython (0.29.22) is required.

Changes

Enhancements
- Use NVRTC for grid synchronization in `cupy.fuse` (4639)
- Fix DLPack header version (4640)
- Bump cuDNN to v8.1.0 (4674)
- Fix tests for cuDNN 8.1 (4699)
- Use MSVC 14.0 with CUDA 11.2 (4701)
- Add cudnn and cutensor for CUDA 11.2 in `install_library` (4703)
- Fix Windows CI test script to avoid caching kernel when in pull-request test (4707)
- Support CUDA 11.2 (4708)
- ROCm: Fix filters in `cupyx.scipy.ndimage` - Part 1 (4642)
- Stop using deprecated type aliases (4612)
- Deprecate passing `shape=None` to mean `shape=()` (4622)
- Fix `poly1d` return types for NumPy 1.20 (4623)
- Update spec of `linspace` to NumPy 1.20 (Fix tests for incompatible behavior of NumPy 1.20 `linspace`) (4625)

Bug Fixes
- ndimage: coordinate rounding fix for `order=0` interpolation (4570)
- Fix `cupy.array` from nested list of zero-dim ndarray (4571)
- Fix warning message on cuDNN version (4580)
- Fix empty NVRTC program name (4599)
- Fix device property default name (4602)
- Make `normal` and `lognormal` support array args (4626)
- Make `uniform`-based random distributions support array args (4671)
- Remove dependency on CUDA's `math_constants.h` (4679)
- Fix files not closed (4681)
- Fix cuSPARSE module build failure with CUDA 10.1 on Windows (4715)
- Always run cythonize on sdist installation (4725)
- Fix thrust compilation in MSVC 14 for CUDA 11.2 (4728)
- Missing `constexpr` in `cupy_thrust.cu` (4732)
- Disable some `constexpr` only for windows (4740)
- Eliminate read past end of array in percentile_weightnening (4742)
- Fix `gesvdj_batched` info array size (4747)

Code Fixes
- Remove use of `numpy.bool` (4589)
- Avoid test discovery failure in NumPy 1.20 (4603)
- Stop using deprecated `numpy.complex` (4624)

Documentation
- Update installation guide for cuTENSOR on Conda-Forge (4634)
- Update documentation requirements (4637)
- Support building docs against pip installed cupy (4688)
- Update document for cuDNN 8.1 (4700)
- Update Python / NumPy / SciPy requirements (4712)
- Add CUDA 11.2 to docs (4716)
- Remove unneeded environment variable from ROCm install guide (4723)
- Document that only x86_64 wheels are provided (4724)
- Add NCCL 2.8 to supported version (4726)
- Fix dead link to issue (4744)
- Remove `cupy-cuda112` support from documentation (4762)

Installation
- Remove broken support for macOS (4641)
- Remove maximum cuDNN version check (4697)
- Bump Cython version requirement for Python 3.9 (4733)
- Remove `pyproject.toml` (4748)
- Fix Cython setup requirement out of sync (4754)

Tests
- Test `numpy.VisibleDeprecationWarning` (4581)
- Add FlexCI for Windows (4645)
- Publish results even if build failed in Windows CI (4722)

Others
- Bump version to v8.5.0 (4752)
- Bump Dockerfile version to v8.5.0 (4753)

Contributors
The CuPy Team would like to thank all those who contributed to this release!
grlee77 leofang wphicks

8.4.0

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

Highlights

Gitter Community

We are running a [Gitter chat](https://gitter.im/cupy/community) for general discussions and quick questions. Feel free to join the channel to talk with developers and users!

Changes without compatibility

Removal of older pre-release packages from PyPI

As announced in 4360, we have removed pre-release wheels earlier than v6.0.0rc1 from PyPI. Those version wheels can be found at the [GitHub release](https://github.com/cupy/cupy/releases) page of every version, and can be installed by specifying `-f` option:


pip install --pre cupy-cuda101 -f https://github.com/cupy/cupy/releases/v6.0.0rc1


Changes


Enhancements


- Import DLPack header file & Fix multiple issues (4535)
- Fix sparse format of `kron` (4547)
- Fix return type of `polynomial.__eq__` (4555)

Bug Fixes

- Fix dev info allocation (4501)
- Use `--device-c` for RDC compile (4505)
- Fix `cupy.concatenate` typecheck for out with different dtype (4528)
- Fix `cupy.take` from an empty array (4542)
- Fix integer GEMM (4551)

Tests

- Test `FutureWarning` (4510)

Contributors

The CuPy Team would like to thank all those who contributed to this release!

leofang mor2code

8.3.0

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


Changes


Enhancements

- Inherit environment variable and detect cl.exe automatically (4417)
- Update CUDA Array Interface to v3 - Part 1 (4446)

Bug Fixes

- Fix `cupy.random.bytes` not working (4323)
- Fix `rcond` arg of `linalg.lstsq` (4408)
- Fix `linalg.lstsq` for complex types (4426)
- Fix `cupy.searchsorted` on HIP (4447)
- Fix out-of-bound access in ndimage rank filters (4449)
- Support complex types in `solve_triangular` (4459)

Code Fixes

- Rename submodules under `cupy.lib` (4353)
- Make names of test classes start with `Test` (4372)

Documentation

- Update links to forums in README (4346)
- Fix comment in docs/source/reference/statistics.rst (4386)
- add `scipy.fft` module to the API comparison table (4391)
- Fix docs of `cupy.random` functions/methods (4474)

Installation

- Fix parallel build (4349)
- Reset `extra_compile_args` for each module (4384)
- Disentangle HIP from CUDA in the build script (4430)
- Add support for cuTENSOR 1.2.2 (4462)

Tests

- Remove travis (4376)
- Refactor test of `linalg.lstsq` (4425)
- Update `[jenkins]` requirement (4473)
- Exclude unsupported dtypes for `TestOrderFilter` (4480)

Others

- Configure Mergify to check GitHub Actions instead of Travis (4381)
- Bump version to `v8.3.0` (4500)

Contributors

The CuPy Team would like to thank all those who contributed to this release!

anaruse grlee77 leofang

8.2.0

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

Changes

Enhancements

- Record Cython build version (4188)
- Add parallel build feature (4273)
- Bump cuDNN to v8.0.5 (4313)
- Defer import in `cupy/_environment.py` (4329)

Bug Fixes

- Fix broadcasting behavior in `ndimage.measurements functions` (4204)
- Refactor `AssertFunctionIsCalled` (4253)

Code Fixes

- Rename submodules under `cupyx.linalg` package (4202)
- Use `assert` statement instead of `self.assert*` methods (4297)

Documentation

- Add cupy-cuda111 to README (4212)
- Add missing functions to the API reference (4257)
- cupy-cuda111 package now on PyPI (4335)

Tests

- Fix tests of `__bytes__` (4255)
- Fix `numpy_cupy_equal` for case that both numpy cupy raise errors (4260)
- Use GitHub Actions (4286)
- Skip some failing tests for fp16 + CUDA 9.0 (4324)
- Add import test for ROCm (4334)

Others

- Bump version to v8.2.0 (4332)
- ROCm: Support hipCUB/rocPRIM (4327)
- Fix output dtype of `linalg.norm` (4230)
- Warn non-tuple sequence for multidimensional indexing (4285)

Contributors

The CuPy Team would like to thank all those who contributed to this release!

grlee77 leofang

8.1.0

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

Highlights

CUDA 11.1 Support

Support for CUDA 11.1 is added in 4184, with CUDA 11.1, GeForce RTX 30 series and Quadro RTX series can now be used in CuPy.

Notes on Wheel Packages

Update (2020-11-25): `cupy-cuda111` is now available on PyPI.
~CuPy for CUDA 11.1 (`cupy-cuda111`) wheel packages are currently only available for Windows. We are going to publish Linux wheels once we get [approval](https://github.com/pypa/pypi-support/issues/690) from the PyPI team. Meanwhile, Linux wheels can be downloaded from the Assets section below (or `pip install cupy-cuda111 -f https://github.com/cupy/cupy/releases/tag/v8.1.0`).~

New Features

- Add sparse pointwise equality & inequality functions (4004)
- Add `cudaGetDeviceProperties` (4103)
- Add `order` option in `cupy.testing.shaped_random` (4104)
- Add support for CUDA 11.1 (4191)

Enhancements

- Bump cuDNN to v8.0.4 (4069)
- Show numpy and scipy versions in `show_config` (4079)
- Support pickling `cupy.RawKernel` (4154)

Bug Fixes

- Fix `csr2csc` for zero-size matrix (3922)
- Add a kernel for integer GEMM (4067)
- Fix potential segfault when reduction axis is empty (4068)
- Workaround cudaPointerGetAttributes error in CUDA 10.2+ (4089)
- Add work-around for issue in cutensorReduction of cuTENSOR 1.2.1 (4098)
- Fix `argmax` and `argmin` for F-order inputs (4106)
- Fix CUB block reduction for F-order arrays with ndim > 2 (4109)
- ROCm: Fix `getDeviceProperties` for HIP (4113)
- Fix `argmax`/`argmin` in CUB block reduction for F-order arrays with ndim > 1 (4115)
- Fix typos in `cupy.cuda.cufft` (4117)
- Handle `np.nan` and `np.inf` constant values properly in ndimage functions (4133)
- Fix 64-bit int types in `type_dispatcher.cuh` (4134)
- Add `compute_35` for CUDA 11.0+ (4140)
- Fix device properties for cuda 9.2 (4152)
- fix mode='opencv' case in cupyx.scipy.ndimage.affine_transform (4158)
- Fix `argwhere` for 0d inputs (4174)
- Fix to use current stream properly with CUDA-related libraries (4175)
- Add compute capability checking for cublasGemmEx() (4180)
- Fix cupyx.seterr() when `linalg` not supplied (4189)
- Fix `nonzero` for 0d inputs (4190)

Code Fixes

- Rename submodules under `cupyx.scipy.sparse` (3959)
- Rename submodule under `cupy.fft` package (4066)
- Hide private names in `cupy.cusolver` (4076)
- Move `_normalize_axis_index` to `cupy/core/internal.pyx` (4086)
- Rename `cupyx.rsqrt` submodule (4116)
- Rename submodules under `cupyx.scipy.special` (4119)
- Move `matmul` from `core.pyx` to `_routine_linalg.pyx` (4123)
- Hide private names in `cupy.cutensor` (4147)
- Rename `cupy.manipulation` submodule to `cupy._manipulation` (4181)
- Rename `cupy.io` submodule to `cupy._io` (4183)
- Rename submodule under `cupyx.scipy.fft` (4186)
- Rename submodules under `cupy.linalg` package (4187)

Documentation

- Fix typo (4056)
- Update README and docs for a unified tagline (4074)
- Improve the plan cache documentation (4087)
- Simplify ROCm install guide (4128)

Installation

- Add `CUDA_VERSION` define for Cython compilation (4035)

Tests

- Require SciPy 1.2 for sparse comparison (4041)
- Make parameterized dtype test skip by `pytest.skip` (4179)
- Code fix on tests for `cupyx.scipy.ndiamge` stats functions (4182)
- Fix tests that have side effects (4185)

HIP/ROCm

- ROCm: Fix bugs and test suites to make ROCm/HIP happy - Part 2 (4063)
- ROCm: Build on the latest ROCm (4126)

Others

- Bump version to v8.1.0 (4195)

Contributors

The CuPy Team would like to thank all those who contributed to this release!

anaruse garanews grlee77 leofang

8.0.0

Not secure
Highlights

The CuPy v8.0.0 release includes a number of new features, as well as enhanced NumPy/SciPy functionality coverage.

* **TensorFloat-32 (TF32) Support**
* CuPy now supports [TensorFloat-32](https://blogs.nvidia.com/blog/2020/05/14/tensorfloat-32-precision-format/), a new feature available in NVIDIA Ampere GPU and CUDA 11. Set `CUPY_TF32=1` environment variable to boost the performance of matrix multiplications in routines such as `cupy.matmul` or `cupy.tensordot`.

* **Official support for NVIDIA cuTENSOR and CUB libraries**
* Several routines in CuPy now support using the [cuTENSOR](https://docs.nvidia.com/cuda/cutensor/index.html) and [CUB](https://nvlabs.github.io/cub/) libraries to further improve performance. Set `CUPY_ACCELERATORS=cub,cutensor` environment variable to benefit from these libraries.
* **Enhanced kernel fusion**
* While combining multiple kernels into a single one using `cupy.fuse`, it was only possible to use a single reduction operation (`cupy.sum`, etc.) at the end. With the new kernel fusion mechanism available in CuPy v8, now it is possible to combine multiple element-wise operations with interleaved reductions.
* **Automatic tuning of kernel launch parameters**
* CuPy now supports discovering the optimal CUDA kernel launch parameters depending on the data and device properties for better performance. See the API reference ([`cupyx.optimizing.optimize`](https://docs.cupy.dev/en/latest/reference/generated/cupyx.optimizing.optimize.html)) for details.
* **Memory pool sharing with external libraries**
* With the new `PythonFunctionAllocator` API, you can let CuPy use arbitrary Python functions instead of a built-in memory pool when managing GPU memory. This improves interoperability with external libraries; for example, you can flexibly use CuPy to preprocess data or use its custom CUDA kernel features inside PyTorch. With [pytorch-pfn-extras](https://github.com/pfnet/pytorch-pfn-extras) bundled allocator it is possible to [easily use the PyTorch memory pool from CuPy](https://github.com/pfnet/pytorch-pfn-extras/blob/master/docs/cuda.md).
* **Improved NumPy/SciPy function coverage**
* Many functions added, including the NumPy Polynomials package (results of [Google Summer of Code 2020](https://summerofcode.withgoogle.com/archive/2020/projects/5856911817179136/), thanks Dahlia-Chehata!), the SciPy image processing package, and extended support for the SciPy sparse matrices package.

For the list of all backward-incompatible changes in v8, please refer to the [Upgrade Guide](https://docs.cupy.dev/en/latest/upgrade.html#cupy-v8).

Notes on Wheel Packages

* CuPy for CUDA 10.1 (`cupy-cuda101`), 10.2 (`cupy-cuda102`), and 11.0 (`cupy-cuda110`) packages are built with cuDNN v8 support but without bundled cuDNN shared libraries (see 3724 for the discussion). To use cuDNN features, You need to download cuDNN library using the following command: `python -m cupyx.tools.install_library --library cudnn --cuda X.X`. It is also possible to install cuDNN v8.0.x via the system package manager (e.g., `apt install libcudnn8` or `yum install libcudnn8`) or manually install it and set `LD_LIBRARY_PATH` environment variables.

Page 11 of 25

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.