cupy
cupy copied to clipboard
NumPy & SciPy for GPU
Fixes #3640 The aforementioned issue only happened when `argmax/min` was called without an `axis` defined. Now `argmin/max` returns a scalar array with the index.
PR adds `cupyx.scipy.interpolate.BarycentricInterpolator`! 🎉 #### TODO - ~optimize impl, if possible~ not possible to optimize more (currently) - [x] add comments - [x] more test cases #### Short Summary -...
`size=None` is different from `size=()`. ``` >>> np.random.uniform([2], [[3]]) array([[2.63150331]]) >>> np.random.uniform([2], [[3]], size=()) Traceback (most recent call last): File "", line 1, in File "mtrand.pyx", line 1317, in mtrand.RandomState.uniform...
Closes #5979. Depends on ~#6911~. This PR improves cythonize time, which takes ~0.5 minutes without parallelization. This is implemented by passing `nthreads` to `cythonize`: https://cython.readthedocs.io/en/latest/src/userguide/source_files_and_compilation.html#cythonize-arguments
### Description I wonder if there are any plans/ETAs on [scipy.optimize module](https://docs.scipy.org/doc/scipy/reference/optimize.html)? Thank you! ### Additional Information _No response_
## [Tasks](https://github.com/cupy/cupy/wiki/Actions-Needed-for-Dependency-Update) - [x] Read Release Notes ([cuTENSOR](https://docs.nvidia.com/cuda/cutensor/index.html#changelog) / [cuSPARSELt](https://docs.nvidia.com/cuda/cusparselt/release_notes.html) / [cuDNN](https://docs.nvidia.com/deeplearning/cudnn/release-notes/index.html) / [NCCL](https://docs.nvidia.com/deeplearning/sdk/nccl-release-notes/index.html)). - FlexCI - [ ] Update `.pfnci/schema.yaml` and `.pfnci/matirx.yaml` #7008 - [ ] Backport. - Library...
### Description Hi, I would like the Bessel function of the first kind of order n to be added to cupy. Here is the relevant scipy function: https://docs.scipy.org/doc/scipy/reference/generated/scipy.special.jv.html#scipy.special.jv and the...
Currently, using some `cupy.testing` decorators with pytest parametrizing does not allow a kind of values as lists for parametrizing candidates. This PR fixes the case to make a check in...
Fixes #3287 Fixes #6812 `argpartition` now uses an indirect-sort version of the `partition` kernel