Git Product home page Git Product logo

pommel's Introduction

POMMEL: Exploring Off-Chip Memory Energy & Power Consumption in Convolutional Neural Network Accelerators

The purpose of the POMMEL tool is to enable the rapid analysis of the power consumption of the memory subsystem within modern Convolutional Neural Network (CNN) accelerators. This in turn enables research into methods of reducing power consumption through architecture design, as well as on-line compression methods.

Installation

The first step is to download the repository. You can do this by cloning the repo:

git clone https://github.com/AlexMontgomerie/pommel

This tool requires the following packages to be installed on your system:

  • libboost-system-dev
  • libboost-filesystem-dev
  • libboost-program-options-dev

To build the tool, first use cmake:

mkdir build && cd build
cmake ..

Then create the executable:

make -j 8
make install

Usage

To use the tool, the following arguments are required:

./build/POMMEL -h

    Allowed Options:
      -h [ --help ]         help message
      --baseline            compute baseline power readings (no encoding)
      --memory arg          file path for memory config (.xml)
      --encoder arg         file path for encoding scheme config (.xml)
      --controller arg      controller type
      --network arg         file path for network config (.xml)
      --accelerator arg     accelerator config path (.xml)
      --featuremap arg      featuremap data path (.h5)
      --output arg          output directory path

An example of running the tool is as follows. To run the tool, you must download the example featuremap from here. To generate featuremap data, please look at distiller-featuremap.

./build/POMMEL \
    --baseline \
    --memory example/memory.xml \
    --featuremap example/featuremap.h5 \
    --network example/network.xml \
    --accelerator example/accelerator.xml \
    --output outputs \
    --controller standard

The tool generates traces for each partition as well as the report.json file, which contains a layer-wise breakdown of power consumption. This includes other energy, power and performance metrics.

Citation

If you use POMMEL in your work, please cite the following:

@inproceedings{montgomerie-corcoran_def_2021,
   title = {POMMEL: Exploring Off-Chip Memory Energy & Power Consumption in Convolutional Neural Network Accelerators},
   booktitle = {24th Euromicro Conference on Digital System Design, DSD 2021},
   publisher = {IEEE},
   author = {Montgomerie-Corcoran, A. and Bouganis, C.},
   year = {2021},
}

Feel free to post an issue if you have any questions or problems!

pommel's People

Contributors

alexmontgomerie avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.