Skip to content

A fork of Apache TVM enabling the use of Bayesian Optimization as a search strategy in MetaSchedule

License

Notifications You must be signed in to change notification settings

felix-ro/TVM-Bayesian-Optimization

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Apache TVM is a compiler stack for deep learning systems. It is designed to close the gap between productivity-focused deep learning frameworks and performance and efficiency-focused hardware backends. TVM works with deep learning frameworks to provide end-to-end compilation to different backends.

This version of TVM enables the use of Bayesian Optimization as a search strategy in MetaSchedule.

Installation

We recommend following this guide or the steps below:

  1. Clone and build TVM-Bayesian-Optimization
    $ git clone --recursive https://github.com/felix-ro/TVM-Bayesian-Optimization
    $ cd TVM-Bayesian-Optimization
    $ mkdir build
    $ cp cmake/config.cmake build/
    $ cd build
    # Now configure the `config.cmake` file in the build directory
    $ cmake ..
    $ make -j4
  2. Standard TVM Python dependencies
    $ pip install numpy decorator attrs tornado psutil 'xgboost>=1.1.0' cloudpickle bayesian-optimization
  3. Add TVM to python path
    $ export PYTHONPATH=/path-to-tvm-unity/python:$PYTHONPATH

How To Use

General usage examples with ready-to-use scripts can be found here.

Performance Analysis

For a brief overview of the results, see the slides here (fyi Safari sometimes fails to render them). For a more in-depth discussion of the project, see the report here.

About

A fork of Apache TVM enabling the use of Bayesian Optimization as a search strategy in MetaSchedule

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 59.5%
  • C++ 36.4%
  • C 0.7%
  • Rust 0.7%
  • Shell 0.7%
  • CMake 0.5%
  • Other 1.5%