Update dependency cupy to v13 #219
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
*
->>=13.4.1
Release Notes
cupy/cupy (cupy)
v13.4.1
This is the release note of v13.4.1. This is a hot-fix release addressing several issues including DLPack compatibility with existing user code. See here for the complete list of solved issues and merged PRs.
💬 Join the Matrix chat to talk with developers and users and ask quick questions!
🙌 Help us sustain the project by sponsoring CuPy!
📝 Changes
Bug Fixes
toDlpack()
default to the old unversioned one (#9011)cupy.inf
in fusion2 (#9044)Tests
Others
👥 Contributors
The CuPy Team would like to thank all those who contributed to this release!
@asi1024 @kmaehashi @seberg
v13.4.0
This is the release note of v13.4.0. See here for the complete list of solved issues and merged PRs.
💬 Join the Matrix chat to talk with developers and users and ask quick questions!
🙌 Help us sustain the project by sponsoring CuPy!
✨ Highlights
NVIDIA CUDA 12.8 Support
CuPy now supports CUDA 12.8 and the latest NVIDIA Blackwell architecture.
AMD ROCm 6.x Support
CuPy can now be built with AMD ROCm 6.x.
Python 3.13 Support
Binary packages for Python 3.13 are now available.
🛠️ Changes without compatibility
Cython 3.0 as build requirement (#8959)
To provide support for Python 3.13, CuPy codebase has been updated for Cython 3. To build CuPy from source, Cython 3.0 or later is now required instead of Cython 0.29.x.
📝 Changes
New Features
cupyx.signal.mvdr
(#8872)Enhancements
NCCL_ERROR_REMOTE_ERROR
to the set of errors from NCCL (#8667)numpy.ComplexWarning
withcupy.exceptions.ComplexWarning
(#8678)pairwise_distance
to cuvs (#8897)CUPY_CACHE_KEY
in hash keys (#8946)cupyx.scipy.distance
: initialize output array with empty instead of zeros (#8981)cupyx.scipy.spatial.distance.cdist
remove explicit zeroing of user-provided output array (#8990)sparse.linalg.{cg, cgs, gmres}
tests for scipy>=1.14 (#8551)cupyx.scipy.sparse tests
for SciPy 1.14 (#8552)cupy.percentile
for NumPy 2.x (#8752)fft.fht
following bug fix in SciPy 1.15 (#8891)cupyx.scipy.linalg.kron
(#8902)special.sph_harm
to ignore DeprecationWarning (#8906)Bug Fixes
*_like
array creation (#8605)hipPointerGetAttributes
returns error when pointer is unregistered in ROCm 5.7 (#8609)HIP_VERSION
unit (#8619)platform.machine()
instead ofplatform.processor()
(#8673)/bigobj
on Windows build (#8967)cupyx.scipy.spatial.distance
'scdist
for RAPIDS 24.12 compatibility (#8975)Code Fixes
.A
attribute to.toarray()
method (#8814)_cretate_frame_tree
(#8944)bytes
copy ofCUPY_CACHE_KEY
(#8947)Documentation
fft.rst
(#8617)pre-commit
(#8650)cupy.array_api
removal (#8751)Installation
Tests
test_firls
atol (#8522)special.logsumexp
test for empty input (#8555)cupy.scipy.stats.entropy
tessts for SciPy 1.14 dtype rule change (#8556)setuptools==73.0.1
(#8569)ValueError
(#8625)testing.with_requires
to skip broken tests (#8627)scipy
is not installed (#8637)OverflowError
inTestCopytoFromScalar
for NumPy v2 (#8643)test_hilbert
for NumPy 2.0 (#8746)flake8
withruff
(#8859)testing.shaped_linspace
(#8900)signal.cont2discrete
tests (#8901)np.longlong
dtype (#8972)locals
dict toexec
(#8985)Others
pre-commit
hooks (#8910)👥 Contributors
The CuPy Team would like to thank all those who contributed to this release!
@99991 @andfoy @asi1024 @Azusachan @bernhardmgruber @Berrysoft @chainer-ci @cjnolet @dagardner-nv @EarlMilktea @eltociear @ev-br @grlee77 @HollowMan6 @jakirkham @jemiryguo @kmaehashi @leofang @littlewu2508 @mohitreddy1996 @mroeschke @seberg @takagi
v13.3.0
This is the release note of v13.3.0. See here for the complete list of solved issues and merged PRs.
💬 Join the Matrix chat to talk with developers and users and ask quick questions!
🙌 Help us sustain the project by sponsoring CuPy!
✨ Highlights
Updated NVIDIA CCCL
The CCCL library bundled with CuPy has been updated to eliminate the Jitify preprocess phase. Users will no longer see the one-time performance warning (
Jitify is performing a one-time only warm-up to populate the persistent cache, this may take a few seconds and will be improved in a future release...
) unless explicitly requesting the use of Jitify (e.g.,cupy.RawModule(..., jitify=True)
).Enhanced NumPy 2.0 Compatibility
This release provides better interoperability with NumPy 2.0.
Support for CUDA 12.5 & 12.6
CuPy is now tested with CUDA 12.5 and 12.6.
RFC: Removing NumPy Fallback Mode in CuPy v14
The CuPy team is discussing the possibility of removing NumPy fallback feature in CuPy v14. Feel free to join the discussion in https://github.com/cupy/cupy/issues/8497 if you have any comments or use-cases using this feature.
📝 Changes
Enhancements
pkg_resources
(#8496)cupyx.scipy.linalg.{tri,tril,triu}
from uarray (reverted in #8516) (#8506).toarray()
instead of.A
attribute (#8517)Bug Fixes
make_interp_spline
(#8390)np.compat.integer_types
(#8413)ndarray.get()
not honoring current stream when layout is not contiguous (#8418)compiler.py
to avoid the popup of thenvcc.exe
console (#8438)RandomState.seed()
for NumPy 2 compatibility (#8439)KeyErrors
fromimportlib_metadata
(#8465)mode=None
->mode="constant"
(#8495)cupyx.scipy.linalg.{tri,tril,triu}
from uarray (#8516)Documentation
_eigen.py
(#8383)coping
->copying
(#8427)(cupyx.)scipy.sparse.*_matrix classes
class methods (#8458)Installation
Tests
NPY
errors - fix exception imports andasfarray
usage in test code (#8471)👥 Contributors
The CuPy Team would like to thank all those who contributed to this release!
@andfoy @arkdong @asi1024 @bmerry @EarlMilktea @emcastillo @hmaarrfk @jakirkham @johnnynunez @kmaehashi @leofang @monzelr @seberg @swelborn @takagi @YanivDorGalron
v13.2.0
This is the release note of v13.2.0. See here for the complete list of solved issues and merged PRs.
💬 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 NumPy 2.0 (#8357)
CuPy can now be imported under NumPy 2.0.
Lazily preloading NCCL (#8367)
CuPy now loads NCCL shared library at the time of
import cupy.cuda.nccl
, instead ofimport cupy
. This improves NCCL compatibility on mixed-library environments.📝 Changes
Enhancements
Bug Fixes
Documentation
Tests
Others
👥 Contributors
The CuPy Team would like to thank all those who contributed to this release!
@asi1024 @cclauss @ev-br @grlee77 @kmaehashi @leofang @macrocosme @romerojosh @takagi
v13.1.0
This is the release note of v13.1.0. See here for the complete list of solved issues and merged PRs.
💬 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 CUDA 12.3 & 12.4 (#8286)
CuPy now supports CUDA 12.3 and 12.4. Binary packages are available for Linux (x86_64/aarch64) and Windows as
cupy-cuda12x
.Fixed Regression on pre-Volta platforms (#8216)
This release fixes the regression in CuPy v13.0.0 that part of CuPy functions were not functioning under pre-Volta platforms (compute capability < 7.0) such as NVIDIA Tesla P100 or GeForce GTX 1080.
📝 Changes
New Features
cupyx.signal.{complex_cepstrum,real_cepstrum,inverse_complex_cepstrum,minimum_phase}
(#8096)cupyx.signal.{firfilter,firfilter_zi,firfilter2}
(#8107)cupyx.signal.freq_shift
(#8131)cupyx.signal.channelize_poly
(#8148)cupyx.signal.ca_cfar
(#8167)Enhancements
numpy.float_
andnumpy.complex_
(#8181)expm(complex matrix)
(#8214)NumPy-compatibility Improvements
scp.signal.{medfilt,medfilt2d}
to raise ValueError for complex64 inputs (#8084)boxcox_llf
for SciPy 1.12 changes (#8132)cupyx.scipy
wavelet functions (#8139)Bug Fixes
_nccl_comm.py
(#8112)-arch
in the compiler options unconditionally (#8161)cupy.show_config()
without CUDA (#8192)min
/max
initial values (#8266)Documentation
Installation
Tests
cupyx.scipy.special.betainc
for invalid inputs (#8098)vectorstength
tests (#8145)cupy.show_config()
pass without CUDA installed (#8195)👥 Contributors
The CuPy Team would like to thank all those who contributed to this release!
@andfoy @asi1024 @emcastillo @ev-br @jemiryguo @kmaehashi @leofang @takagi
v13.0.0
This is the release note of v13.0.0. See here for the complete list of solved issues and merged PRs.
This release note only covers changes made since the v13.0.0rc1 release. Check out our blog for highlights of the v13 release!
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!
📝 Changes
For all changes in v13, please refer to the release notes of the pre-releases (alpha1, beta1, rc1).
New Features
cupyx.signal.pulse_compression
from cuSignal's non SciPy-compat API (#8039)cupyx.signal.convolve1d3o
from cuSignal's non SciPy-compat API (#8067)cupyx.signal.{pulse_doppler, cfar_alpha}
(#8069)cupyx.signal.convolve1d2o
(#8113)Enhancements
cupyx.signal.radartools
private (#8053)csrmatrix.__pow__
to raise ValueError for non-int other (#8085)Performance Improvements
Bug Fixes
lfilter_zi
andsosfilt_zi
when any IIR coefficient is zero (#8036)argmax/argmin
for large reduction axis (#8041)cupyx.scipy.fft.{dst,dstn}
in type 2/3 (#8082)from-import
(#8114)Code Fixes
convolve1d3o
(#8100)radartools
(#8106)Documentation
Installation
CUDA_PATH
warning in Conda installation (#8076)Tests
signal.vectorstrength
xfail tests (#8083)scipy.linalg
not to raise DeprecationWarning for zero-size inputs (#8086)scipy.special.{btdtr,btdtri}
are deprecated since SciPy (#8094)👥 Contributors
@andfoy @asi1024 @emcastillo @hauntsaninja @kmaehashi @takagi
The CuPy Team would like to thank all those who contributed to this release!
v12.3.0
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
NINF
,PINF
,Inf
,... usages (#7805)numpy.find_common_type
(#7810)scipy.linalg.{tri/tril/triu}
are deprecated in SciPy 1.11.0 (#7902)signal.medfilt
complex error type for SciPy>=1.11 (#7909)TestSpmatrix
on SciPy 1.11 or later (#7918)product
,cumproduct
,alltrue
andsometrue
for deprecation (#7936)round_
tests (#7937)Bug Fixes
Code Fixes
cupyx.cusolver
(#7819)Documentation
-U
to pre-release installation command (#7806)Installation
Tests
test_parameterize_pytest_impl
test for pytest 7.4.3 (#7968)TestLOBPCG.test_maxit_None
CUDA 12.2 CI failure (#8007)Others
👥 Contributors
The CuPy Team would like to thank all those who contributed to this release!
@asi1024 @emcastillo @kmaehashi @leofang @mtsokol @mvnvidia
v12.2.0
This is the release note of v12.2.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
Support for CUDA 12.2
CuPy now supports CUDA 12.2. Note that there is a known issue on CUDA 12.2 for Windows. See #7776 for details.
Support us via GitHub Sponsors!
As a part of our effort to make CuPy sustainable, we have enrolled in GitHub Sponsors to accept donations. Help us to support CuPy’s development and contribute to ease the required infrastructure costs due to the need of GPU enabled CI platforms and resources to build binary packages.
As a NumFOCUS Sponsored Project, funds sponsored through the GitHub Sponsors are collected and disbursed via NumFOCUS, a 501(c)(3) public charity in the United States, which acts as the fiscal sponsor for the project.
🛠️ Changes without compatibility
Deprecation of
cupy-wheel
PackageDue to the recent specification change in Pip 23.1, it became difficult for
cupy-wheel
to ensure detecting the CUDA version installed correctly. As discussed in RFC #7628, we have decided to remove this package in CuPy v13. To allow existing projects usingcupy-wheel
to continue to work, the package remains available for v12 releases.📝 Changes
Enhancements
Performance Improvements
Bug Fixes
aweights
type not checked incupy.cov
(#7717)Code Fixes
cython-lint
(#7612)Documentation
asarray
(#7695)cupyx.distributed.NCCLBackend.all_gather
comment (#7765)Installation
cupy-wheel
package installation fails with pip 23.1+ (#7624)Tests
restore-keys
not working (#7614)round_
tests (#7642)pkg_resources
deprecation warning on import (#7656)TestLOBPCG::test_maxit_None
in CUDA 12.1.1 & cuSOVLER 11.4.5 (#7670)test_fht
not to feedcupy.ndarray
toscipy.fft.fhtoffset
(#7728)Others
👥 Contributors
The CuPy Team would like to thank all those who contributed to this release!
@12rambau @asi1024 @emcastillo @jnke2016 @kmaehashi @leofang @pelmers @pri1311 @RandomY-2 @takagi
v12.1.0
This is the release note of v12.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!
Changes
New Features
array_api.take
function (#7513)Enhancements
Bug Fixes
Code Fixes
Documentation
Installation
-Xfatbin=-compress-all
(#7505)_depends.json
not included in wheel (#7584)Tests
Contributors
The CuPy Team would like to thank all those who contributed to this release!
@andfoy @arogozhnikov @asi1024 @kmaehashi @leofang @seberg @takagi
v12.0.0
This is the release note of v12.0.0. See here for the complete list of solved issues and merged PRs.
This release note only covers changes made since the v12.0.0rc1 release. Check out our blog for highlights of the v12 release!
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
Support for CUDA 12.1 & cuDNN 8.8 (#7484 & #7475)
CuPy now supports CUDA 12.1 and cuDNN 8.8. Binary packages are available for Linux (x86_64/aarch64) and Windows as
cupy-cuda12x
.Announcements
Arm packages available in PyPI
Binary packages for aarch64 (Jetson and Arm servers) can now be installed from PyPI.
~Note: At the time of the release, Arm wheel of
cupy-cuda11x
for Python 3.8 (cupy_cuda11x-12.0.0-cp38-cp38-manylinux2014_aarch64.whl
) is not available on PyPI. We are working on resolving this issue. Meanwhile, this wheel can be installed from the CuPy index.$ pip install cupy-cuda11x -f https://pip.cupy.dev/aarch64
~ This issue was resolved on 2023-04-03.Changes
For all changes in v12, please refer to the release notes of the pre-releases (alpha1, alpha2, beta1, beta2, beta3, rc1).
Enhancements
Bug Fixes
Code Fixes
type_test
totype_testing
(#7461)Documentation
scipy.interpolate
module (#7450)Tests
xfail
forinvh
(#7485)Others
Contributors
The CuPy Team would like to thank all those who contributed to this release!
@AdrianAbeyta @asi1024 @emcastillo @kmaehashi @seberg
v11.6.0
This is the release note of v11.6.0. See here for the complete list of solved issues and merged PRs.
This is the last planned release for CuPy v11 series. Please start testing your workload with the v12 release candidate to get ready for the final v12 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 v12.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
Fixed Performance Issue with CUDA 12.0
This release fixes a critical performance regression in CUDA 12.0 that the on-disk kernel cache is ineffective, causing kernels to be recompiled for each python process. Users with CUDA 12.0 are strongly suggested to upgrade to this release.
Changes
Enhancements
runtime.getDeviceProperties
(#7353)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.