Skip to content

GraphBLAS/binsparse-specification

Folders and files

NameName
Last commit message
Last commit date

Latest commit

9bf0dea · May 16, 2024
Feb 14, 2024
Jan 14, 2023
Sep 6, 2022
May 16, 2024
Jan 23, 2023
Jan 16, 2023
May 7, 2024
Aug 21, 2022
Aug 10, 2022
Mar 19, 2024

Repository files navigation

Binary Sparse Format Specification

This is part of a new effort to create a binary storage format for storing sparse matrices and other sparse data to disk.

Minutes from our meetings are available here (see also: previous minutes).

Specification

View Latest Spec

Parsers

Here is a table listing the current tensor frameworks that support the format:

Language Framework Status Notes
C binsparse-reference-c under development converts between binsparse V1.0 and custom in-memory sparse matrices
C++ binsparse-reference-impl under development converts between binsparse V1.0 and custom in-memory sparse matrices
Julia Finch.jl under development converts between binsparse V1.0 and V2.0 and Finch matrices and tensors
Python binsparse-python under development converts between binsparse V1.0 and scipy.sparse matrices

Editing

The working version of the specification can be found under spec/latest/index.bs.

The spec is written in bikeshed – a variant of markdown. To render the spec locally:

  • Install bikeshed (ideally in an isolated environment): pipx install bikeshed
  • Call bikeshed spec spec/latest/index.bs

To render the spec online, see api.csswg.org, or use the following commands:

cd binsparse-specification/spec/latest
curl https://api.csswg.org/bikeshed/ -F file=@index.bs > index.html

Rendered versions will generated for pull requests.

About

A cross-platform binary storage format for sparse data, particularly sparse matrices.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published