Einsum Benchmark: Enabling the Development of Next-Generation Tensor Execution Engines

Abstract

Modern artificial intelligence and machine learning workflows rely on efficient tensor libraries. However, tuning tensor libraries without considering the actual problems they are meant to execute can lead to a mismatch between expected performance and the actual performance. Einsum libraries are tuned to efficiently execute tensor expressions with only a few, relatively large, dense, floating-point tensors. But, practical applications of einsum cover a much broader range of tensor expressions than those that can currently be executed efficiently. For this reason, we have created a benchmark dataset that encompasses this broad range of tensor expressions, allowing future implementations of einsum to build upon and be evaluated against. In addition, we also provide generators for einsum expressions and converters to einsum expressions in our repository, so that additional data can be generated as needed. The benchmark dataset, the generators and converters are released openly and are publicly available at https://benchmark.einsum.org.

Cite

Text

Blacher et al. "Einsum Benchmark: Enabling the Development of Next-Generation Tensor Execution Engines." Neural Information Processing Systems, 2024. doi:10.52202/079017-3111

Markdown

[Blacher et al. "Einsum Benchmark: Enabling the Development of Next-Generation Tensor Execution Engines." Neural Information Processing Systems, 2024.](https://mlanthology.org/neurips/2024/blacher2024neurips-einsum/) doi:10.52202/079017-3111

BibTeX

@inproceedings{blacher2024neurips-einsum,
  title     = {{Einsum Benchmark: Enabling the Development of Next-Generation Tensor Execution Engines}},
  author    = {Blacher, Mark and Staudt, Christoph and Klaus, Julien and Wenig, Maurice and Merk, Niklas and Breuer, Alexander and Engel, Max and Laue, Sören and Giesen, Joachim},
  booktitle = {Neural Information Processing Systems},
  year      = {2024},
  doi       = {10.52202/079017-3111},
  url       = {https://mlanthology.org/neurips/2024/blacher2024neurips-einsum/}
}