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

Use array-api for cross-framework compatibility #45

Merged
merged 4 commits into from
Jan 13, 2025

Conversation

awf
Copy link
Collaborator

@awf awf commented Jan 13, 2025

Previously, gfloat worked on JAX and Torch through some nasty polyglottery.

This PR uses array-api-compat to make that more formal.

Adds testing with array-api-strict - needs some shimming to get up to data-apis/array-api-strict#100 -- that should be removed when that merges.

Limited mypy coverage pending data-apis/array-api#863

Adds torch benchmarks to 04-benchmarking - these probably need more work to become performant.

@awf awf merged commit 2d2a250 into graphcore-research:main Jan 13, 2025
1 check passed
@awf awf deleted the array-api-2 branch January 13, 2025 16:10
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.

1 participant