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

Array API compatibility #649

Open
yaugenst-flex opened this issue Oct 15, 2024 · 1 comment
Open

Array API compatibility #649

yaugenst-flex opened this issue Oct 15, 2024 · 1 comment

Comments

@yaugenst-flex
Copy link
Contributor

This is more of a question rather than an issue, but is there any plan or opinion on supporting Array API compatibility in autograd? Specifically, I'm wondering about the possibility of implementing methods like __array_function__ and __array_ufunc__ for ArrayBox, in a manner similar to the __array_namespace__ discussed in PR #647.

Adding such compatibility would enable autograd to seamlessly interoperate with libraries that follow the Array API standard, such as xarray, and potentially allow differentiating through operations involving those libraries. This would mean that automatic differentiation could potentially "just work" for any library that dispatches to the underlying array implementation.

@fjosw
Copy link
Collaborator

fjosw commented Oct 16, 2024

Hi @yaugenst-flex, we don't have any plans (and likely not the resources) to work on Array API compatibility but we would be happy about all contributions that extend or improve autograd's usability.

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

No branches or pull requests

2 participants