Compiling Structured Tensor Algebra

Type: Article

Publication Date: 2023-10-16

Citations: 1

DOI: https://doi.org/10.1145/3622804

Abstract

Tensor algebra is essential for data-intensive workloads in various computational domains. Computational scientists face a trade-off between the specialization degree provided by dense tensor algebra and the algorithmic efficiency that leverages the structure provided by sparse tensors. This paper presents StructTensor, a framework that symbolically computes structure at compilation time. This is enabled by Structured Tensor Unified Representation (STUR), an intermediate language that can capture tensor computations as well as their sparsity and redundancy structures. Through a mathematical view of lossless tensor computations, we show that our symbolic structure computation and the related optimizations are sound. Finally, for different tensor computation workloads and structures, we experimentally show how capturing the symbolic structure can result in outperforming state-of-the-art frameworks for both dense and sparse tensor algebra.

Locations

  • Proceedings of the ACM on Programming Languages - View - PDF
  • arXiv (Cornell University) - View - PDF

Similar Works

Action Title Year Authors
+ Compiling Structured Tensor Algebra 2022 Mahdi Ghorbani
Mathieu Huot
Shideh Hashemian
Amir Shaikhha
+ PDF Chat Compressing Structured Tensor Algebra 2024 Mahdi Ghorbani
Emilien Bauer
Tobias Grosser
Amir Shaikhha
+ Tensor Algebra Compilation with Workspaces 2019 Fredrik Kjølstad
Willow Ahrens
Shoaib Kamil
Saman Amarasinghe
+ Tensor algebra compilation with workspaces 2019 Fredrik Kjølstad
Willow Ahrens
Shoaib Kamil
Saman Amarasinghe
+ PDF Chat Format abstraction for sparse tensor algebra compilers 2018 Stephen Y. Chou
Fredrik Kjølstad
Saman Amarasinghe
+ PDF Chat The tensor algebra compiler 2017 Fredrik Kjølstad
Shoaib Kamil
Stephen Y. Chou
David Lugato
Saman Amarasinghe
+ The Tensor Algebra Compiler 2017 Fredrik Kjølstad
Shoaib Kamil
Stephen Y. Chou
David Lugato
Saman Amarasinghe
+ Sparse Tensor Algebra Optimizations with Workspaces 2018 Fredrik Kjølstad
Willow Ahrens
Shoaib Kamil
Saman Amarasinghe
+ Sparse Tensor Algebra Optimizations with Workspaces 2018 Fredrik Kjølstad
Willow Ahrens
Shoaib Kamil
Saman Amarasinghe
+ PDF Chat Compilation of dynamic sparse tensor algebra 2022 Stephen Y. Chou
Saman Amarasinghe
+ A High-Performance Sparse Tensor Algebra Compiler in Multi-Level IR 2021 Ruiqin Tian
Luanzheng Guo
Jiajia Li
Bin Ren
Gökçen Kestor
+ PDF Chat SySTeC: A Symmetric Sparse Tensor Compiler 2024 Radha Patel
Willow Ahrens
Saman Amarasinghe
+ PDF Chat Compilation of Modular and General Sparse Workspaces 2024 Genghan Zhang
Olivia Hsu
Fredrik Kjølstad
+ The sparse tensor algebra compiler (keynote) 2019 Saman Amarasinghe
+ PDF Chat Compilation of Modular and General Sparse Workspaces 2024 Genghan Zhang
Olivia Hsu
Fredrik Kjølstad
+ TeAAL: A Declarative Framework for Modeling Sparse Tensor Accelerators 2023 Nandeeka Nayak
Toluwanimi O. Odemuyiwa
Shubham Ugare
Christopher W. Fletcher
Michael Pellauer
Joel Emer
+ A High Performance Sparse Tensor Algebra Compiler in MLIR 2021 Ruiqin Tian
Luanzheng Guo
Jiajia Li
Bin Ren
Gökçen Kestor
+ SpDISTAL: Compiling Distributed Sparse Tensor Computations 2022 Rohan Yadav
Alex Aiken
Fredrik Kjølstad
+ PDF Chat SpDISTAL: Compiling Distributed Sparse Tensor Computations 2022 Rohan Yadav
Alex Aiken
Fredrik Kjølstad
+ CoNST: Code Generator for Sparse Tensor Networks 2024 Saurabh Raje
Yufan Xu
Atanas Rountev
Edward F. Valeev
P. Sadayappan