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.1dev4 from master to gold #1706

Merged
merged 30 commits into from
Feb 10, 2024
Merged

Merge 0.13.1dev4 from master to gold #1706

merged 30 commits into from
Feb 10, 2024

Conversation

antonwolfy
Copy link
Contributor

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

antonwolfy and others added 30 commits February 2, 2024 09:10
* Unmuted tests from test_mathematical.py scope

* Removed fallback fixture for dpnp.copysign

* Tests for dpnp.clip with NaN edges require numpy>=1.25.0

* Muted again power tests with complex types (until 2024.1 release)
* Draft commit of dpnp.linalg.svd impl

* Pass empty arrays if compute_uv=False

* Add logic for the input array n < m

* Add a new cupy test_decomposition

* Rename gesvd input parameters

* Correspondence of passed parameters to gesvd signature

* Correct initialization of result variables in dpnp_svd

* Update test_decomposition

* Add implementation of _dpnp_svd_batch

* Add test_decomposition to the scope of public CI

* Improve error handling for mkl_lapack::gesvd function

* Declate detail variable

* Use a_usm_type and a_sycl_queue variables

* Add additional checks for gesvd function

* Remove old dpnp_svd backend

* Refresh test_svd in test_linalg

* Add detailed comments for gesvd arguments

* gesvd returns pair of events and uses dpctl.utils.keep_args_alive

* Keep a lexicographical order

* Update docstrings for svd

* Add test_svd to test_usm_type

* Add a new impl to get s_type

* Add a description for _stacked_identity

* Simplify dpnp_svd_batch

* Update tests for dpnp.linalg.svd

* Add hermitian argument support

* Add test_svd_hermitian

* Update svd docstrings

* Tune tolerance

* Update test_svd_errors

* Update _common_type and _common_inexact_type

* Remove passing n and m parameteres to _gesvd

* Simplify results return logic for dpnp_svd_batch

* Update condition and random files in cupy/testing to use fix_random and repeat decorators

* Rename cupy/testing/condition.py to .../_condition.py

* Use self._tol in TestSvd

* Update gesvd error handler

* dpnp_svd works with F contiguous arrays

* Add additional checks for output arrays

* Impl parallel calculation in dpnp_svd_batch

* Skip using @_condition.repeat in cupy tests

* Add additional checks for output arrays

* Update docstrings for svd

* Use dpctl.SyclEvent.wait_for in dpnp_svd_batch

* Add TODO : matching the order of returned arrays

* Skip cupy tests on windows

* Rename condition to _condition

* Set setUpClass to skip cupy tests on cpu
* Add extra pre-step to free more memory on Ubuntu runners

* Exclude Windows runners

* Enable conda verbosity

* Pin conda-build to 3.28.4

* Pinned conda-build in test jobs
* update build_locally.py

* fix pre-commit

* add comments

---------

Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
* Implement sparse and copy arguments for dpnp.mesgrid function

* address comments

* Removed limitation block from th description

* added tests

---------

Co-authored-by: Anton Volkov <antonwolfy@gmail.com>
Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
* Specify permissions in GH Action workflows

* Added contents permissions write to deploy your static files to GitHub Pages

* Added permissions required by actions
* Add OpenSSF Scorecard badge to README

* Add permissions for clean job
Bumps [mshick/add-pr-comment](https://github.com/mshick/add-pr-comment) from 2.8.1 to 2.8.2.
- [Release notes](https://github.com/mshick/add-pr-comment/releases)
- [Commits](mshick/add-pr-comment@v2.8.1...v2.8.2)

---
updated-dependencies:
- dependency-name: mshick/add-pr-comment
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.12.0 to 0.12.1.
- [Release notes](https://github.com/styfle/cancel-workflow-action/releases)
- [Commits](styfle/cancel-workflow-action@0.12.0...0.12.1)

---
updated-dependencies:
- dependency-name: styfle/cancel-workflow-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
Bumps [nick-fields/retry](https://github.com/nick-fields/retry) from 2.9.0 to 3.0.0.
- [Release notes](https://github.com/nick-fields/retry/releases)
- [Changelog](https://github.com/nick-fields/retry/blob/master/.releaserc.js)
- [Commits](nick-fields/retry@v2.9.0...v3.0.0)

---
updated-dependencies:
- dependency-name: nick-fields/retry
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
Bumps [mattnotmitt/doxygen-action](https://github.com/mattnotmitt/doxygen-action) from 1.9.5 to 1.9.8.
- [Release notes](https://github.com/mattnotmitt/doxygen-action/releases)
- [Commits](mattnotmitt/doxygen-action@v1.9.5...v1.9.8)

---
updated-dependencies:
- dependency-name: mattnotmitt/doxygen-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.23.2 to 3.24.0.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](github/codeql-action@v3.23.2...v3.24.0)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
* Add gitleaks and shellcheck to pre-commit configuration

* Pin gitleaks to the latest version

* Use an array to build scikit-build arguments

* Use an array to build wheel arguments
* Update docs for array creation functions

* fix pre-cimmit

* address comments

* address comments

* Add CFD examples and update CFD check for dpnp.copy

* Fix dpnp.asfortranarray and dpnp.ascontiguousarray functions for not array input (#1691)

* Fix dpnp.asfortranarray and dpnp.ascontiguousarray functions for not array input

* Fix tests
* dot_func

* using mkl::dotu instead mkl::dotc for complex

* fix a test

* fix negative strides

* add a temporary workaround

* address comments

* add a TODO comment

* call dpt.vecdot for integer data types

* update doc string

* pass argument by reference

* update doc to add boolean dtype

---------

Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
* update dpnp_vdot

* address comments

* address more comments
#1694)

* use out keyword for result

* fix strided or overlapping out

* address comments

* fix typo

* remove additional check
* Impl dpnp.linalg.qr for 2d array

* Add cupy tests for dpnp.linalg.qr

* Add batch implementation of dpnp.linalg.qr

* Remove an old impl of dpnp_qr

* Update test_qr in test_sycl_queue

* Add test_qr in test_usm_type

* Use _real_type for _orgqr

* Use _real_type for _orgqr_batch

* Update dpnp tests for dpnp.linalg.qr

* Pass scratchpad_size to the error message test

* Add additional checks

* Extend error handler for mkl batch funcs

* Add ungqr mkl extension to support complex dtype

* Update tau array size check for orgqr

* Add ungqr_batch mkl extension to support complex dtype

* Add arrays type check

* Fix test_det_singular_matrix

* Expand tests for dpnp.linalg.qr with complex types

* Update examples

* Remove astype for output arrays

* Use empty_like instead of empty

* Use ht_list_ev with dpctl.SyclEvent.wait_for

* Add _triu_inplace func

* Use copy_usm for a_t array overwritten by geqrf/geqrf_batch


---------

Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
* unmute result type tests

* update TypeError and ValueError tests

* update TestResultType
Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
* Follow compute follows data to fill fancy_index

* Update take_along_axis tests to cover the issue

* Update test_take_along_axis
* implement dpnp.tensordot

* update doc string

* address comments

* fix doc string

* update scaling factor

* add TODO comment

---------

Co-authored-by: Anton <100830759+antonwolfy@users.noreply.github.com>
Co-authored-by: vtavana <120411540+vtavana@users.noreply.github.com>
@antonwolfy antonwolfy self-assigned this Feb 10, 2024
Copy link
Contributor

github-actions bot commented Feb 10, 2024

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

@antonwolfy antonwolfy merged commit 1bf9ea7 into gold/2021 Feb 10, 2024
32 of 38 checks passed
@antonwolfy antonwolfy deleted the merge_to_gold branch February 10, 2024 17:13
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.

None yet

5 participants