Related Projects

Below are some examples of other projects that are also built on top of TACO’s sparse tensor algebra compiler theory.

If you have a project that you’d like added to this list as well, please reach out to us (or consider submitting a pull request to update the website yourself)!

MLIR

MLIR is an open-source project that provides an extensible infrastructure for building compilers for domain-specific programming languages. MLIR provides first-class support for sparse tensor operations through the SparseTensor dialect, which the MLIR compiler can compile to LLVM IR using an implementation of TACO's sparse tensor algebra compiler theory.

  Compiler Support for Sparse Tensor Computations in MLIR   Aart J.C. Bik, Penporn Koanantakool, Tatiana Shpeisman, Nicolas Vasilache, Bixia Zheng, and Fredrik Kjolstad (arXiv Preprint)
Download Paper Download Slides

Abstract

Sparse tensors arise in problems in science, engineering, machine learning, and data analytics. Programs that operate on such tensors can exploit sparsity to reduce storage requirements and computational time. Developing and maintaining sparse software by hand, however, is a complex and error-prone task. Therefore, we propose treating sparsity as a property of tensors, not a tedious implementation task, and letting a sparse compiler generate sparse code automatically from a sparsity-agnostic definition of the computation. This paper discusses integrating this idea into MLIR.

BibTex

@article{https://doi.org/10.48550/arxiv.2202.04305,
  doi = {10.48550/ARXIV.2202.04305},
  url = {https://arxiv.org/abs/2202.04305},
  author = {Bik, Aart J. C. and Koanantakool, Penporn and Shpeisman, Tatiana and Vasilache, Nicolas and Zheng, Bixia and Kjolstad, Fredrik},
  keywords = {Programming Languages (cs.PL), FOS: Computer and information sciences, FOS: Computer and information sciences},
  title = {Compiler Support for Sparse Tensor Computations in MLIR},
  publisher = {arXiv},
  year = {2022},
  copyright = {Creative Commons Attribution 4.0 International}
}

Video