-
Notifications
You must be signed in to change notification settings - Fork 34
Various fixes for the torch wrapper #25
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
Conversation
This allows shape to be passed as a keyword argument. Fixes data-apis#22.
GitHub Actions expressions are very limited in what you can do with them. The default cannot reference another variable, and there is no way to do manipulation or "if" clauses with them.
The equal_nan keyword to unique() and np._CopyMode aren't in this version.
This is ready for review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These changes LGTM. One CI job for numpy 1.21 still has 8 failures, which all don't look too interesting (~1e-46 inputs to some ufuncs).
No worried on CI. It typically takes a few iterations to get all the possible XFAILs from hypothesis. |
(and just to be clear, those failures are all because of value-based type promotion, which we cannot disable in NumPy 1.21) |
Now NumPy is crashing on CI with a floating-point exception https://github.com/asmeurer/array-api-compat/actions/runs/4368929147/jobs/7642133923. There must be some issue with mod in the C math library used on GitHub Actions. |
Primarily from @thomasjpfan's feedback.