Demystifying Map Space Exploration for NPUs

Sheng-Chun Kao, Angshuman Parashar, Po-An Tsai, Tushar Krishna
10/7/2022
cs.LGcs.DC

Official code: maestro-project/gamma-timeloop (14 stars, Python, MIT, last commit 2023-11-12).

Abstract

Map Space Exploration is the problem of finding optimized mappings of a Deep Neural Network (DNN) model on an accelerator. It is known to be extremely computationally expensive, and there has been active research looking at both heuristics and learning-based methods to make the problem computationally tractable.

Show full abstract

However, while there are dozens of mappers out there (all empirically claiming to find better mappings than others), the research community lacks systematic insights on how different search techniques navigate the map-space and how different mapping axes contribute to the accelerator's performance and efficiency. Such insights are crucial to developing mapping frameworks for emerging DNNs that are increasingly irregular (due to neural architecture search) and sparse, making the corresponding map spaces much more complex. In this work, rather than proposing yet another mapper, we do a first-of-its-kind apples-to-apples comparison of search techniques leveraged by different mappers. Next, we extract the learnings from our study and propose two new techniques that can augment existing mappers -- warm-start and sparsity-aware -- that demonstrate speedups, scalability, and robustness across diverse DNN models.

View on arXivView PDF

Code Implementations(1)

MIT
143Python, ShellFeb 24, 20223 years agoMIT

Similar Papers

Cite this paper

@article{kao2022demystifying,
  title  = {Demystifying Map Space Exploration for NPUs},
  author = {Sheng-Chun Kao and Angshuman Parashar and Po-An Tsai and Tushar Krishna},
  year   = {2022},
  eprint = {2210.03731},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2210.03731}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2210.03731.svg)](https://codeofpaper.com/paper/2210.03731)

Discussion