Code Monkey home page Code Monkey logo

deeprl-scheduling's Introduction

Deep-Reinforcement-Learning-Based Scheduler for High-Level Synthesis

This is the implementation of Deep-Reinforcement-Learning-Based Scheduler for High-Level Synthesis (HLS). This work has been published in ICCAD'19.

@inproceedings{DBLP:conf/iccad/ChenS19,
  author    = {Hongzheng Chen and
               Minghua Shen},
  editor    = {David Z. Pan},
  title     = {A Deep-Reinforcement-Learning-Based Scheduler for {FPGA} {HLS}},
  booktitle = {Proceedings of the International Conference on Computer-Aided Design,
               {ICCAD} 2019, Westminster, CO, USA, November 4-7, 2019},
  pages     = {1--8},
  publisher = {{ACM}},
  year      = {2019},
  url       = {https://doi.org/10.1109/ICCAD45719.2019.8942126},
  doi       = {10.1109/ICCAD45719.2019.8942126},
}

To run the program, please follow the instructions below.

# Generate DAGs for supervised learning
$ python3 dag_generator.py

# Supervised learning
$ python3 sl.py

# Reinforcement learning
# Use --use_network to pass in pre-trained SL networks
$ python3 rl.py

Prepare the test DAGs in DAG folder and name them as dag_X.dot (where X should be a number different from those DAGs in the training set).

# Test the Xth DAG
$ python3 rl.py --test X

Other parameter settings can be found in the source code.

Requirements

  • Python 3.6
  • Pytorch v0.4
  • Visdom v0.1
  • Pulp v1.6.8
  • Numpy v1.14
  • Matplotlib v2.2.2

deeprl-scheduling's People

Contributors

chhzh123 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.