Skip to content

v12.3.0

Compare
Choose a tag to compare
@asi1024 asi1024 released this 07 Dec 07:57
fc5c421

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

This is the last planned release for the CuPy v12 series. Please start testing your workload with the v13 release candidate to get ready for the final v13 release. To install: pip install -U --pre cupy-cuda11x -f https://pip.cupy.dev/pre. See the Upgrade Guide for the list of possible breaking changes in v13.

💬 Join the Matrix chat to talk with developers and users and ask quick questions!

🙌 Help us sustain the project by sponsoring CuPy!

✨ Highlights

Support for Python 3.12

Binary packages are now available for Python 3.12.

📝 Changes

Enhancements

  • Add a property to get access to the nccl handle. (#7824)
  • Add Linux CI for Python 3.12 (#7949)
  • Bump supported NumPy & SciPy versions (#8001)
  • ENH: Remove NINF, PINF, Inf,... usages (#7805)
  • Avoid using numpy.find_common_type (#7810)
  • Remove conversions of array with ndim > 0 to a scalar (#7895)
  • scipy.linalg.{tri/tril/triu} are deprecated in SciPy 1.11.0 (#7902)
  • Fix signal.medfilt complex error type for SciPy>=1.11 (#7909)
  • Fix return type of division of csr_matrix and dense array for SciPy 1.11 (#7912)
  • Skip TestSpmatrix on SciPy 1.11 or later (#7918)
  • Fix test of product, cumproduct, alltrue and sometrue for deprecation (#7936)
  • Skip fusion round_ tests (#7937)

Bug Fixes

  • Fix csr2dense to avoid race conditions (#7808)
  • Fix cuTENSOR contraction descriptor cache (#7817)
  • Provide .stop() method for cupyx.distributed._Backend (#7960)

Code Fixes

  • MNT: suppress compiler warning from cupyx.cusolver (#7819)
  • Fix coding style (#7846)
  • Remove deprecated ast expr in CuPy JIT (#7944)
  • Remove unnecessary CUB files from CuPy distribution (#7975)

Documentation

  • Add -U to pre-release installation command (#7806)
  • Fix CUDA 12.2 for Windows notice (#7926)

Installation

  • Fix ROCm Dockerfile not working (#7799)
  • Avoid warning when uploading packages (#7807)

Tests

  • Add timeout to Windows CI (#7859)
  • CI: Remove path length limitation on Windows CI image (#7860)
  • Fix Windows CI failures (#7865)
  • Fix Windows + CUDA 12.2 CI (#7910)
  • Skip test_pos_boolarray if numpy>=1.25 (#7913)
  • Skip some LOBPCG tests failing with SciPy 1.11 (#7931)
  • Add NumPy 1.25/1.26 & SciPy 1.11 to CI (#7932)
  • Skip logspace test in NumPy 1.25 & 1.26 (#7946) (#7951)
  • Support Python 3.12, add Windows CI (#7958)
  • Fix Windows test scripts (#7961)
  • Skip test_parameterize_pytest_impl test for pytest 7.4.3 (#7968)
  • Filter DeprecationWarning for distutils.dep_util used in Cython (#7999)
  • Fix TestLOBPCG.test_maxit_None CUDA 12.2 CI failure (#8007)

Others

  • Fix backport workflow (#7833)
  • Bump version to v12.3.0 (#8016)

👥 Contributors

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

@asi1024 @emcastillo @kmaehashi @leofang @mtsokol @mvnvidia