8000 GitHub - aiha-lab/optimus-timeloop: optimus + timeloop implementation
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

aiha-lab/optimus-timeloop

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Optimus

DOI

This is the implementation of the paper [Optimus: Towards Optimal Layer-Fusion on Deep Learning Processors], which has accepted by LCTES2021.

Getting Started Guide

Start from Source Code

  1. Create virtual env
conda create --name optimusEnv python=3.6
conda activate optimusEnv
  1. Install requirement
pip install -r requirements.txt
  1. Run a test
./test.sh
  1. To find out all the options
python ./fusion/tools/optimal_schedule_search.py --help

Experiments

  1. Run overall experiment to get the memory access and energy over multiple models The result will be stored in result/overall_experiment/. It will take more than ten minutes to complete this experiment.
python ./fusion/experiment/overall_experiment.py
  1. Run memory access analysis over multiple models The result will be stored in result/analysis/. It will take more than ten minutes to complete this experiment.
python ./fusion/experiment/analysis.py
  1. Evaluate the Impact of Batch Size The result will be stored in result/batch_size/.
python ./fusion/experiment/batch_size.py
  1. Evaluate the impact of on-chip memory space The result will be stored in result/buffer_size/.
python ./fusion/experiment/buffer_size.py
  1. Evaluate the impact of Dataflow This experiment supports the experiment results of section 4.2.5 in our paper, and the result will be stored in result/dataflow/.
python ./fusion/experiment/dataflow.py
  1. Evaluate the impact of PE-array and buffer The result will be stored in result/pe_array/.
python ./fusion/experiment/pe_array.py
  1. Evaluate the performance on different processors The result will be stored in result/processor/.
python ./fusion/experiment/processor.py

About

optimus + timeloop implementation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 99.8%
  • Other 0.2%
0