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

[DISCUSS] Are Sparse NdArrays out of scope? #127

Open
judahrand opened this issue Aug 20, 2023 · 2 comments
Open

[DISCUSS] Are Sparse NdArrays out of scope? #127

judahrand opened this issue Aug 20, 2023 · 2 comments

Comments

@judahrand
Copy link

Should DLPack also define a stable format for sparse arrays?

@leofang
Copy link
Contributor

leofang commented Feb 14, 2024

As far as DLPack is concerned, sparse tensors are currently not supported. However, as the Data API Standard Consortium starts considering standardizing sparse tensors (scipy/scipy#18915), at some point we'll need to have a DLPack-like in-memory data exchange format. We're not there yet, though.

@rgommers
Copy link
Contributor

For sparse arrays, binsparse is being developed as an on-disk storage spec, which should capture all the needed details/formats that are sparse-specific. There's also an open discussion about in-memory storage that is relevant: GraphBLAS/binsparse-specification#4.

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

3 participants