Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge 0.13.1dev1 from master to gold #1653

Merged
merged 52 commits into from
Jan 9, 2024
Merged

Merge 0.13.1dev1 from master to gold #1653

merged 52 commits into from
Jan 9, 2024

Conversation

antonwolfy
Copy link
Contributor

@antonwolfy antonwolfy commented Jan 9, 2024

Merge the latest content from master branch to gold/2021 as part of 0.13.1dev1 tag which includes changes from:

npolina4 and others added 30 commits October 19, 2023 03:46
* implement dpnp.prod and dpnp.nanprod

* address comments

* updates for nanprod input array

* allow fall back on numpy - needed for Win tests
Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
* implement dpnp.max and dpnp.min using dpctl.tensor functions

* address comments

* fix a few issues

* fix doc-string

* add axis==None condition for zero-size array

* add new tests to improve coverage

* update tests to reduce duplication
Update dpnp.geomspace and dpnp.logspace functions
* in place divide and floor_divide

* address comments

* add more tests for floor_divide

* fix format
Leverage dpctl.tensor.repeat() implementation
vtavana and others added 22 commits November 20, 2023 14:51
* rework implementation of diag, diagflat, vander, and ptp

* address comments - first round

cherry-pick

* address comments - second round

* add tests for negative use cases to improve covergae

* fixed missing merge conflicts

* fix pre-commit
* Require dpcpp compiler 2024.0 and runtime >=2024.0

* fix build error

* Pinned compiler and dpctl versions

* Rolled back to intel channel for conda build

* Power is properly working for complex types with latest dpctl

* Keep backward compatibility with dpctl 0.15.0

* Install dpctl version compatible with DPC++ 2023.2 while collecting coverage

---------

Co-authored-by: Anton Volkov <antonwolfy@gmail.com>
Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
* rework implementation of diag, diagflat, vander, and ptp

* address comments - first round

cherry-pick

* address comments - second round

* add tests for negative use cases to improve covergae

* fixed missing merge conflicts

* fix pre-commit

* implement dpnp.argmin and dpnp.argmax using dpctl.tensor

* address comments

* add tests for negative use cases to improve coverage

* remove unneccessary parts with updates in dpctl #1465

* add paramater section in doc

* update ndarray.argmin and ndarray.argmax function signature

* use a utility func for returning output

* add tests for ndarray implementation

* Place new function acc to lexicographical order

---------

Co-authored-by: Anton Volkov <antonwolfy@gmail.com>
Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
* implement dpnp.cbrt, dpnp.exp2, dpnp.copysign, dpnp.rsqrt

* address comments

* address comments - 2nd round
* Update deploy step of a job with building docs

* Added global env variables for GitHub events
* implement dpnp.mean

* address comments
* Add dtype checking for inexact dtype in assert_dtype_allclose

* Update test_out_dtypes in TestDivide

* Add a check for support of 16 bit types

* Add an empty line after the description

* fix condition when numpy`s array is not float16

* Address the remarks

* Update test_sum_float in test_sum.py

* Add a new check_only_type_kind param to assert_dtype_allclose

* Update test_sum and test_fft

* Use check_only_type_kind in test_fft_rfft
…isting calls (#1636)

* Redesigned `put_along_axis` and `take_along_axis` thorugh existing calls

* Simplified check for

* Move check of array type in dpnp.prod after the TODO comment
* Redesigned `put_along_axis` and `take_along_axis` thorugh existing calls

* Redesigned `dpnp.diff` thorugh existing calls

* Proper resolving conflicts after rebase of master branch

* Increased tests coverage

* Fixed test_logspace_axis to be passed in wheels tests

* Resolved pre-commit issue
* Added support of missing arguments in amax and amin functions

* Updated See also links

* Updated alias reference
* Stay away from 2024.0.1 compiler package

* Limit max compiler version while building docs
* Retry coverage step on error

* Added timeout to limit single retry time

* Added shell option to the step
* Add dpnp.linalg.solve() function
* Add cupy tests for dpnp.linalg.solve()
* Register a LinAlgError in dpnp.linalg submodule
* Implementation of dtype dispatching with _common_type for dpnp.linalg.solve
* Add a common_helpers.hpp file
* Add validation functions for array types and dimensions for linalg funcs
* Skip test_solve_singular_empty


---------

Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
* impelment dpnp.var and dpnp.std

* implement dpnp.nanvar

* support out keyword for dpnp.sum

* add more tests

* use replace_nan func for nanprod

* address comments

* update test_sum_empty_axis

* address new comments

* minor update

* address remarks

* remove uncalled raise
* Implement of dpnp.clip()

* address comments

* Increased tests coverage

---------

Co-authored-by: Anton Volkov <antonwolfy@gmail.com>
Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
…p.nanmin` (#1646)

* implement nanargmax, nanargmin, nanmax, nanmin

* address comments

* suppress overflow warning
…#1647)

* Implemented column_stack, dstack and row_stack

* Updated docstring of all manipulation functions

* Added tests

* Muted test causing crash on CPU due to known issue

* Disable type check in a test for column_stack

* Corrected result data type from dpnp.prod on Gen9

* Update dpnp/dpnp_iface_manipulation.py

Co-authored-by: vtavana <120411540+vtavana@users.noreply.github.com>

* Update dpnp/dpnp_iface_manipulation.py

Co-authored-by: vtavana <120411540+vtavana@users.noreply.github.com>

* Updated docstrings to address review comments

---------

Co-authored-by: vtavana <120411540+vtavana@users.noreply.github.com>
* implement logsumexp and reduce_hypot

* fix pre-commit

* address comments
* Resolved compilation warnings

* Explicit instantiation of dpnp_max_c and dpnp_min_c
@antonwolfy antonwolfy self-assigned this Jan 9, 2024
Copy link
Contributor

github-actions bot commented Jan 9, 2024

View rendered docs @ https://intelpython.github.io/dpnp/index.html

@antonwolfy antonwolfy merged commit e62d607 into gold/2021 Jan 9, 2024
32 of 38 checks passed
@antonwolfy antonwolfy deleted the merge_to_gold branch January 9, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants