Home

Awesome

GAMMA

This is the implementation of the paper GAMMA, GAMMA is an autonomous framework for optimizing the HW mapping of DNN models on the DNN Accelerators. We use MAESTRO as our cost model.

GAMMA Framework

Extended Works

This code repository also incorporates the code-bases of the extended works:


Sister Repo: Gamma-Timeloop


Installation

conda create --name gammaEnv python=3.6
conda activate gammaEnv
pip install -r requirements.txt
python build.py
ulimit -n 4096

Take a Trial Run

./run_gamma.sh

Different Map Space Exploration Scenarios

More details can be found here

Resources

Contributor

Pull Request

Citation

@inproceedings{gamma,
    author       = {Kao, Sheng-Chun and Krishna, Tushar},
    title        = {GAMMA: Automating the HW Mapping of DNN Models on Accelerators via Genetic Algorithm},
    booktitle     = {ICCAD},
  year          = {2020}
}

@inproceedings{digamma,
title={DiGamma: Domain-aware Genetic Algorithm for HW-Mapping Co-optimization for DNN Accelerators},
author={Kao, Sheng-Chun and Pellauer, Michael and Parashar, Angshuman and Krishna, Tushar},
booktitle     = {DATE},
year={2022}
}
@inproceedings{kao2022formalism,
  title={A Formalism of DNN Accelerator Flexibility},
  author={Kao, Sheng-Chun and Kwon, Hyoukjun and Pellauer, Michael and Parashar, Angshuman and Krishna, Tushar},
  booktitle={Proceedings of the 2022 ACM SIGMETRICS/IFIP PERFORMANCE Joint International Conference on Measurement and Modeling of Computer Systems},
  year={2022}
}