-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
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
ENH: Add 2022.12 support to numpy.array_api #23880
Comments
It's getting late for the 1.25.0 release, I'd like to get it out before the end of the month. However, as long as it only affects |
Actually, there's a bit of an open question here. Do we want to support the |
This is only |
No, just make it against main. After it goes in I can just copy the files into a PR against 1.25 at any time. |
NumPy's FFT is only 64bit, there was potentially something else with the way the custom length is handled (I don't quite remember). I don't mind just pushing this through, the namespace has a warning and I wouldn't even worry about updates in a bug-fix release. After that, maybe we should discuss removing the namespace, though? The main reason for it to be here was that the NEP 47 draft hoped for it to be useful beyond testing, I think (and e.g. review also, yes). As it has not proven to be used for more than testing right now, there is no user-facing reason for it to remain, I think. We don't need to do it on a schedule, but to me it seems like this should happen eventually, I simply see no great reason for the opposite. |
OK, so that sounds like there is actually going to be some work involved then, so I'm not going to do it here. I don't want to stall this, and I would need to implement test suite support to feel confident about it. I wonder if I should add a simple
I'm also open to that, although wouldn't it make the most sense to do it in NumPy 2.0 if we are going to do it? |
Opened #23892 to track fft support. |
Proposed new feature or change:
This is a tracking issue for adding v2022.12 support to numpy.array_api. If possible this should happen before the 1.25 release (I hope I'm not too late for that), because that will make things much easier for people adopting the array API.
The work should be straightforward. It mainly consists of making sure functions accept complex dtypes, although there are also a few new functions that need to be added (like
real
andimag
).The text was updated successfully, but these errors were encountered: