Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.81 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.81 KB

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 and in-memory sparse matrices
C++ binsparse-reference-impl under development converts between binsparse and in-memory sparse matrices
Julia Finch.jl under development converts between binsparse and Finch matrices and tensors, supports custom format spec
Python binsparse-python under development converts between binsparse 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 [email protected] > index.html

Rendered versions will generated for pull requests.