pypi cupy 9.1.0
v9.1.0

latest releases: 14.2.0, 14.1.1, 14.1.0...
5 years ago

This is the release note of v9.1.0. See here for the complete list of solved issues and merged PRs.

We are running a Gitter chat for general discussions and quick questions. Feel free to join the channel to talk with developers and users!

Highlights

CUDA 11.0 and 11.1 wheels not available yet in PyPI (#4971)

In the meantime, they can be downloaded from the Assets section below. See #4971 for the detailed instructions.

Changes without compatibility

Make cupy.cuda.Device context manager interface thread safe (#5083)

The use of a single cupy.cuda.Device context manager object with multiple threads was leading to incorrect behavior when restoring the previous device since the first versions of CuPy. Now the correct device is restored back so user code relying on this incorrect behavior might need to be updated.

Changes

Enhancements

  • Add cupyx.jit.atomic_add (#5181)
  • Support custom getsource option in CuPy JIT (#5089)
  • Fix JIT test failures on ROCm (#5101)
  • Make cupy.cuda.Device context manager interface thread safe (#5147)
  • Fix thrust compilation for ROCm 4.2.0 (#5212)
  • Add sum_labels to cupyx.scipy.ndimage.measure (#5222)
  • Support cuSPARSELt v0.1.0 (#5227)
  • Fix Stream destructor not taking care of PTDS (#5228)
  • NCCL v2.9.8 (#5229)
  • Add NVCC path and Python version to show_config (#5230)
  • cuTENSOR v1.3.0 for library installer (#5234)
  • Add libraries for CUDA 11.3 (#5235)

Bug Fixes

  • Fix DLPack lanes (#5094)
  • Fix TypeError in svds (#5161)
  • Fix integer scatter_add failure on Windows (#5178)
  • Properly handle non-contiguous RHS in cupyx.scipy.sparse.linalg.spsolve (#5180)
  • Fix poisson to support lam array (#5182)
  • Fix matmul for input with relaxed strides (#5240)
  • Add check_availability for cuTensor routines (#5244)
  • Fix windows constexpr (#5250)
  • Remove duplicated subtraction in cupy.random.Generator.integers (#5261)

Code Fixes

  • Remove cupy.cupy (#5137)
  • Cosmetic change in cuSPARSELt stub header (#5160)
  • Cosmetic changes of CuPy JIT implementation (#5162)

Documentation

  • Mention baseline API change in upgrade guide (#5132)
  • Fix docstring in coo.py (#5141)
  • Fix docs in stream.pyx (#5150)
  • Fix docs of scatter_add (#5153)
  • Fix ROCm wheel install steps (#5154)
  • Mention PTDS in ROCm Limitation (#5166)
  • Use Sphinx 4 (#5198)
  • cuDNN v8.2 on documentation (#5217)
  • Fix cuSPARSELt not covered in docs (#5231)
  • cuTENSOR v1.3 on documentation (#5238)
  • Add cupyx.scipy.ndimage.sum_labels to docs (#5245)
  • Update logo image (#5257)
  • Improve README (#5259)

Installation

  • cuDNN v8.2.0 for library installer (#5216)
  • Bump version to v9.1.0 (#5270)

Tests

  • Use current device in tests (#5151)
  • Fix stream usage on D2D copy test under HIP (#5157)
  • Fix for updated FlexCI base image (#5167)
  • Relax tolerance of cupyx.jit.atomic_add test (#5187)
  • Test build for ROCm 4.0 and latest (#5239)
  • Avoid using pip install -e on Windows CI for performance (#5242)
  • Fix mergify configuration (#5249)

Others

Contributors

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

@anaruse @beingaryan @eternalphane @grlee77 @insertinterestingnamehere @leofang

Don't miss a new cupy release

NewReleases is sending notifications on new releases.