Rebase from master branch#2736
Closed
antonwolfy wants to merge 16 commits intoinclude-dpctl-tensorfrom
Closed
Conversation
The PR adds passing the buffer offset to `usm_ndarray` constructor. This is fast and straightforward solution. The complete fix needs to be implemented in dpctl in scope of [dpctl#2226](IntelPython/dpctl#2226).
This PR updates the `.pre-commit-config.yaml` using `pre-commit autoupdate`.
Bumps [styfle/cancel-workflow-action](https://github.com/styfle/cancel-workflow-action) from 0.12.1 to 0.13.0.
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 4.31.9 to 4.31.10.
This PR rewrites `dpnp.fix` to reuse `dpnp.trunc` internally removing the backend implementation of `dpnp.fix`
A warning that `python setup.py develop` is deprecated and will no longer be supported at the end of October, 2025 has been ongoing for some time when using dpnp build driver scripts, and can be seen in the CI. The PR proposes instead relying on `pip` for installing dpnp in scripts, and reworks the scripts to maintain use of `scikit-build`. In the future, this will also simplify a transition to `scikit-build-core`. This PR also introduces options * `--clean` and `--skip-editable` to `build_locally` driver * `--clean` and `--skip-pytest` to `gen_coverage` driver Also it includes update of the documentation with new build instruction.
The PR proposes temporary disable tests with `dpnp.cumlogsumexp` when `axis is None` and running on PTL GPU device. The tests must be enabled back once the issue in internal CI is resolved.
The PR removes pytest configuration from `pyproject.toml` since it was never used due to invalid name used `tool.pytest.ini.options` which never supported by pytest. The latest pytest warns about that explicitly: > PytestConfigWarning: Unknown config option: ini since the correct name is `tool.pytest.ini_options`. The configuration might be returned back to `pyproject.toml` when really needed.
The PR includes * migration of some tests from unittest to pytest * updates in FFT tests * new tests for `random.choice` This PR is intended to reflect alignment with the recent changes in origin repo of third party tests.
The PR extends docstrings to clarify behavior on repeated values passed in `axes` to `tensordot` functions. Also an explicit test was added to validate the exception raised on the repeated axes.
#2723) The PR closes #2352 and closes #2353. This PR improves implementation of `dpnp.logspace` and `dpnp.geomspace` functions based on the latest changes added to NumPy. And it also updates logic of how input array_like arguments handled to follow compute follows data approach. If no `device` or `sycl_queue` keyword passed, then an array creation function should allocate result based on input arguments (like `start` and `stop`). Otherwise all input arrays need to be moved to the specified queue and resulting array must be allocated there.
This PR reverts #2708 due to [dpctl-2213](IntelPython/dpctl#2213) has been resolved
|
This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation. |
Contributor
|
View rendered docs @ https://intelpython.github.io/dpnp/index.html |
Contributor
|
Array API standard conformance tests for dpnp=0.20.0dev2=py313h509198e_2 ran successfully. |
This PR updates the `.pre-commit-config.yaml` using `pre-commit autoupdate`.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 performs rebase from the
masterbranch.