ucb-bar / cosa

A scheduler for spatial DNN accelerators that generate high-performance schedules in one shot using mixed integer programming (MIP)
BSD 2-Clause "Simplified" License
74 stars 18 forks source link

Timeloop command line and configuration used in the paper #3

Closed vmiheer closed 3 years ago

vmiheer commented 3 years ago

Hi I was wondering if you can post the timeloop-mapper yaml and command line you used for the paper. I installed the timeloop as you suggested in the readme and using simba arch in the repository along with resnet workloads in configs. I am adding mapper config file to explicitly set num-threads but letting everything else be default. But mapper is able to use only 1 processors in many cases. I was wondering if you can help with this.

hqjenny commented 3 years ago

Hi,

Sorry for the late response. Below is the mapper script we used to optimize for latency. It is odd since in our case, this script launches the max # of threads of the server which is 32. We will double check in our run also.

mapper:
  algorithm: hybrid
  optimization-metrics: [delay, last-level-accesses]

  victory-condition: 500
  #search-size: 500
  timeout: 0
#  live-status: True
vmiheer commented 3 years ago

Thank you, @hqjenny, I'll try out your config.

hqjenny commented 3 years ago

Thank you, @hqjenny, I'll try out your config.

Sounds good. Please let me know if you have any other questions!