Skip to content

Make it clear that the DLPack protocol is *not* part of the array API standard #192

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

Closed
leofang opened this issue Jun 7, 2021 · 1 comment · Fixed by #325
Closed

Make it clear that the DLPack protocol is *not* part of the array API standard #192

leofang opened this issue Jun 7, 2021 · 1 comment · Fixed by #325
Labels
Milestone

Comments

@leofang
Copy link
Contributor

leofang commented Jun 7, 2021

See the discussion around numpy/numpy#19083 (comment). We should make it clear that any library is free to implement __dlpack__ and __dlpack_device__, and from_dlpack() can return a non-array-API-complaint object.

Ideally, the second half of this page https://data-apis.org/array-api/latest/design_topics/data_interchange.html should not live in the array API standard, but instead in DLPack's website so that we can simply link to it. Unfortunately DLPack doesn't seem to plan on creating a website in the near future, so perhaps we can add a big warning mark during the rewriting planned in #185?

@rgommers
Copy link
Member

rgommers commented Jun 7, 2021

Thanks @leofang, good points. My plan was to contribute docs to DLPack, maybe as a new Sphinx site.

@rgommers rgommers added the topic: DLPack DLPack. label Jun 30, 2021
@kgryte kgryte added this to the v2021 milestone Oct 4, 2021
rgommers added a commit to rgommers/array-api that referenced this issue Nov 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants