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

convert Complex abs into highway #7

Closed
wants to merge 195 commits into from
Closed

Conversation

luyahan
Copy link
Collaborator

@luyahan luyahan commented May 7, 2024

FAILED numpy/_core/tests/test_mem_overlap.py::TestUFunc::test_unary_ufunc_1d_manual - AssertionError: 
FAILED numpy/lib/tests/test_nanfunctions.py::TestNanFunctions_MeanVarStd::test_allnans[0d-F-None] - RuntimeWarning: invalid value encountered in absolute
FAILED numpy/lib/tests/test_nanfunctions.py::TestNanFunctions_MeanVarStd::test_allnans[0d-D-None] - RuntimeWarning: invalid value encountered in absolute
FAILED numpy/lib/tests/test_nanfunctions.py::TestNanFunctions_MeanVarStd::test_allnans[2d-F-None] - RuntimeWarning: invalid value encountered in absolute
FAILED numpy/lib/tests/test_nanfunctions.py::TestNanFunctions_MeanVarStd::test_allnans[2d-F-0] - RuntimeWarning: invalid value encountered in absolute
FAILED numpy/lib/tests/test_nanfunctions.py::TestNanFunctions_MeanVarStd::test_allnans[2d-F-1] - RuntimeWarning: invalid value encountered in absolute
FAILED numpy/lib/tests/test_nanfunctions.py::TestNanFunctions_MeanVarStd::test_allnans[2d-D-None] - RuntimeWarning: invalid value encountered in absolute
FAILED numpy/lib/tests/test_nanfunctions.py::TestNanFunctions_MeanVarStd::test_allnans[2d-D-0] - RuntimeWarning: invalid value encountered in absolute
FAILED numpy/lib/tests/test_nanfunctions.py::TestNanFunctions_MeanVarStd::test_allnans[2d-D-1] - RuntimeWarning: invalid value encountered in absolute

seberg and others added 30 commits March 21, 2024 20:55
This adds a new ``NPY_API_SYMBOL_ATTRIBUTE`` but defaults to using
hidden visibility (always the case on windows!).

That actually makes the situation "worse" for ``eigenpy`` in some degree,
since it forces them to adapt, but it also allows them to decide to just
roll with it (by actually also exporting it on windows which).

Since it aligns windows and linux it seems like a good idea?  OTOH,
who knows how many projects get away with just not caring about windows...

I tried to reorganize the docs a bit on how to import the array API...
Fixes inaccessible contrast for a:visited links in admonitions. Fixes numpy#26058.
Caused by: WARNING: the pydata_sphinx_theme extension is not safe for parallel writing
If the build has no baseline features set, the test ended up setting
e.g. NPY_ENABLE_CPU_FEATURES="ASIMDHP, None". This actually made the
execution succeed, as the warning for decoding "None" overrode the
error for the real feature. Fix the error handling there by removing
the errorneous "return 0;", add a test for this, and avoid passing
"None" by accident.
This commit adds a schedule to push WASM wheels
that are compiled via the Emscripten toolchain and
Pyodide ecosystem to NumPy's PyPI-like index on
Anaconda.org. The key changes here, are:

1. A schedule has been added to the job
2. A workflow_dispatch trigger has been added
to push the wheels manually if needed
3. A step has been added that runs after the tests
run and succeed, which uses a repository secret
that is NUMPY_NIGHTLY_UPLOAD_TOKEN. The
artifacts can then be found on this link:

https://anaconda.org/scientific-python-nightly-wheels/numpy

The wheels uploads will not be attempted on forks
or on workflow run contexts outside of the provided
condition(s) in the newly added step.

[skip cirrus] [skip circle] [skip azp] [skip travis]
DOC: Mention `copy=True` for `__array__` method in the migration guide.
[skip cirrus] [skip circle] [skip azp] [skip travis]
BUG: fixed datetime64[ns] conversion issue in numpy.vectorize, see numpy#25936
…-wheels-nightly

CI, BLD: Push NumPy's Emscripten/Pyodide wheels nightly to Anaconda.org PyPI index
…numpy#26135)

* BUG: masked array division broken with np.seterr(under=raise) numpy#25810

* STY: Remove unnecessary brackets

Closes numpygh-25810

---------

Co-authored-by: Sebastian Berg <sebastian@sipsolutions.net>
BUG: introduce PyArray_SafeCast to fix issues around stringdtype views
WarrenWeckesser and others added 29 commits April 26, 2024 18:44
BUG: Fix rfft for even input length.
…cement

MAINT: Simplify bugfix for even rfft
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.2.5 to 4.3.1.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@5bbc3ba...e58c696)

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

Signed-off-by: dependabot[bot] <support@github.com>
BUG: ensure text padding ufuncs handle stringdtype nan-like nulls
…ctions/dependency-review-action-4.3.1

MAINT: Bump actions/dependency-review-action from 4.2.5 to 4.3.1
Bumps [actions/dependency-review-action](https://github.com/actions/dependency-review-action) from 4.3.1 to 4.3.2.
- [Release notes](https://github.com/actions/dependency-review-action/releases)
- [Commits](actions/dependency-review-action@e58c696...0c155c5)

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

Signed-off-by: dependabot[bot] <support@github.com>
API: Default to hidden visibility for API tables
…ctions/dependency-review-action-4.3.2

MAINT: Bump actions/dependency-review-action from 4.3.1 to 4.3.2
NOGIL: Make loop data cache and dispatch cache thread-safe in nogil build
…6355)

This fixes an issue similar to the one fixed by numpy#26353.

In particular, right now np.strings.replace calls the count ufunc to get the number of replacements. This is necessary for fixed-width strings, but it turns out to make it impossible to support null strings in replace.

I went ahead and instead found the replacement counts inline in the ufunc loop. This lets me add support for nan-like null strings, which it turns out pandas needs.
TST: static types are now immortal in the default build too
DOC: fix np.unique release notes [skip cirrus]
ENH: Speedup clip for floating point
This is a first in a sequence of future PRs to update internal links, as discussed in the triage meeting.
In addition to removing double backticks on internal functions, I removed unneeded tilde ~ as well.
This is a great example page to see why a tilde ~ is needed in the first paragraph of generator.rst.

I included instructions for the POSSEE team on this topic, as its a simple way to help train them in the PR process.

[skip azp] [skip actions] [skip cirrus]
ENH: When histogramming data with integer dtype, force bin width >= 1.
DOC: Update internal links for generator.rst and related
* rewrite loop rint, ceil, trunc, sqrt, square, abs,Reciprocal
@luyahan luyahan closed this May 7, 2024
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.