Coder Social home page Coder Social logo

canlinz / maeri_bsv_3d Goto Github PK

View Code? Open in Web Editor NEW

This project forked from maeri-project/maeri_bsv

0.0 0.0 0.0 9.64 MB

MAERI: A DNN accelerator with reconfigurable interconnects to support flexible dataflow (http://synergy.ece.gatech.edu/tools/maeri/)

License: MIT License

Shell 2.70% C++ 20.47% Python 0.26% MATLAB 0.04% Bluespec 76.53%

maeri_bsv_3d's Introduction

MAERI

MAERI: A DNN accelerator with reconfigurable interconnects to support flexible dataflow. This codebase was used in the MAERI HPCA 2019 tutorial.

About

MAERI is a deep learning inference accelerator that enables fine-grained compute resource allocation at run time. Relevant publications:

  • Hyoukjun Kwon, Ananda Samajdar, and Tushar Krishna, MAERI: Enabling Flexible Dataflow Mapping over DNN Accelerators via Reconfigurable Interconnects. In Proc of the 23rd ACM International Conference on Architectural Support for Programming Languages and Operating Systems (ASPLOS), Mar 2018 pdf
  • Hyoukjun Kwon, Ananda Samajdar, and Tushar Krishna, A Communication-Centric Approach for Designing Flexible DNN Accelerators, In IEEE Micro Special Issue on Hardware Acceleration, Nov/Dec 2018 pdf

Software Requirement

MAERI is written in Bluespec System Verilog (https://bluespec.com/). You need Bluespec Compiler software and license to use this repository. If your affiliation is universities, you can request a free license via Bluespec's university program (https://bluespec.com/university/)

[Update] Bluespec released their compier as an opensource software. For details, please see the following article: https://bluespec.com/2020/01/06/bluespec-inc-to-open-source-its-proven-bsv-high-level-hdl-tools/

[Update] Please check this repo out to get the open-sourced Bluespec Compiler (https://github.com/B-Lang-org/bsc)

How to change the design parameters?

You can edit number of multiplier switches (similar to the number of PEs in other accelerators), distribution bandwidth, and reduction bandwidth. Please note that those parameters need to be integer numbers of power of two.

How to compile and run a simulation?

  • Compilation: "./MAERI -c all"
  • Running a siumulation: "./MAERI -r"
  • Please note that you need to copy appropriate config files from config directory. They can be generated from a compiler; We are working on open-sourceing the compiler. Please stay tuned for the update to use arbitrary settings in the simulation

How to generate Verilog file

"./MAERI -v ACC"

Notes

This code base is work in progress Some of features such as compiler will be added to this repository. Please stay tuned for udpates.

Related projects

mRNA: A Mapping Optmizer for MAERI: https://github.com/maeri-project/mRNA

Contributors

  • Lead Developer: Hyoukjun Kwon
  • Additional Contributors: Jianming Tong

maeri_bsv_3d's People

Contributors

canlinz avatar hyoukjun avatar tushar-krishna 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.