Skip to content

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

Merged
merged 33 commits into from
Mar 10, 2023
Merged

Conversation

asmeurer
Copy link
Member

@asmeurer asmeurer commented Mar 6, 2023

Primarily from @thomasjpfan's feedback.

@asmeurer
Copy link
Member Author

asmeurer commented Mar 8, 2023

This is ready for review.

@asmeurer asmeurer requested a review from rgommers March 8, 2023 02:27
Copy link
Member

@rgommers rgommers left a 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).

@asmeurer
Copy link
Member Author

asmeurer commented Mar 8, 2023

No worried on CI. It typically takes a few iterations to get all the possible XFAILs from hypothesis.

@asmeurer
Copy link
Member Author

asmeurer commented Mar 8, 2023

(and just to be clear, those failures are all because of value-based type promotion, which we cannot disable in NumPy 1.21)

@asmeurer
Copy link
Member Author

asmeurer commented Mar 8, 2023

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.

@asmeurer asmeurer enabled auto-merge March 9, 2023 23:28
@asmeurer asmeurer merged commit 0706387 into data-apis:main Mar 10, 2023
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.

2 participants