v0.18.0
Summary
This release achieves 100% compliance with Python Array API specification (revision 2024.12).
The release provides enhanced compatibility with NumPy 2.2.5. Window and mathematical routines are complemented by a set of new functions.
Moreover, it adds support to build dpnp from the source for AMD GPUs.
Details
Added
- Added implementation of
dpnp.hamming#2341, #2357 - Added implementation of
dpnp.hanning#2358 - Added implementation of
dpnp.blackman#2363 - Added implementation of
dpnp.bartlett#2366 - Added implementation of
dpnp.convolve#2205 - Added implementation of
dpnp.kaiser#2387 - Added implementation of
dpnp.bitwise_count#2308 - Added implementation of
dpnp.common_type#2391 - Added implementation of
dpnp.interp#2417 - Added support to build
dpnpfor specified AMD GPU architecture using CodePlay oneAPI plug-in #2302
Changed
- Improved performance of
dpnp.nansum,dpnp.nanprod,dpnp.nancumsum, anddpnp.nancumprodby reusingdpnp.nan_to_numfunction in implementation of the functions #2339 - Allowed input array of
uint64dtype indpnp.bincount#2361 - The vector norms
ord={None, 1, 2, inf}and the matrix normsord={None, 1, 2, inf, "fro", "nuc"}now consistently return zero for empty arrays, which are arrays with at least one axis of size zero. This change affectsdpnp.linalg.norm,dpnp.linalg.vector_norm, anddpnp.linalg.matrix_norm. Previously, dpnp would either raise errors or return zero depending on the parameters provided #2371 - Extended
dpnp.fft.fftfreqanddpnp.fft.rfftfreqfunctions to supportdtypekeyword per Python Array API spec 2024.12 #2384 - Updated
dpnp.fixto return output with the same data-type of input #2392 - Updated
dpnp.einsumto add support fororder=None#2411 - Updated Python Array API specification version supported to
2024.12#2416 - Removed
einsum_callkeyword fromdpnp.einsum_pathsignature #2421 - Updated
dpnp.vdotto return a 0-D array when one of the inputs is a scalar #2295 - Updated
dpnp.outerto return the same dtype as NumPy when multiplying an array with a scalar #2295 - Changed
"max dimensions"toNonein array API capabilities #2432 - Updated kernel header
i0.hppto exposecyl_bessel_i0function depending on build target #2440 - Added MKL functions
arg,copysign,i0, andinvfrom VM namespace to be used by implementation of the appropriate element-wise functions #2445 - Clarified details about conda install instructions in
Quick start quideandREADME#2446 - Bumped oneMKL version up to
0.7#2448 - The parameter
axisindpnp.take_along_axisfunction has now a default value of-1#2442 - Updates the list of required python versions documented in
Quick Start Guide#2449 - Updated FFT module to ensure an input array is Hermitian before calling complex-to-real FFT #2444
- Aligned
blackconfiguration with the list of supported python versions #2457 - Use
pyproject.tomlinstead ofsetup.pyaligning with current packaging best practices #2462 - Added a clarification to
dpnp.linalg.conddocstring about its behavior with singular matrices #2460
Fixed
- Resolved an issue with an incorrect result returned due to missing dependency from the strided kernel on a copy event in
dpnp.erf#2378 - Updated
conda createcommands build and install instructions ofQuick start guideto avoid a compilation error #2395 - Added handling of empty string passed to a test env variable defining data type scope as a
Falsevalue #2415 - Resolved build issues on non-Intel targets in
dpnp.i0anddpnp.kaiser#2439 - Ensure consistency in the
dpnp.linalg.LinAlgErrorexception raised on singular input matrices for both non-batched and batched cases indpnp.linalg.inv[#2458] (#2458) - Updated test f/w to correct a check of array interface while converting to
numpy.ndarrayfor comparison [#2467] (#2467)
New Contributors
- @david-cortes-intel made their first contribution in #2446
Contributors
Full Changelog: 0.17.0...0.18.0