Git Product home page Git Product logo

bennu's Introduction

Bennu

bennu drawing

Introduction

The goal of this project is to combine Ansor and AutoTVM. We want to use Ansor to do some exploration of kernel configurations, and then use AutoTVM to exploit the best solution found by Ansor.

Building

From Bennu, It's not necessary to build the project. But, It depends on some dependencies from other projects to work that might be necessary to build.

Dependencies

These are the most important dependencies for running Bennu:

Dependency Version Installation Link
TVM >= 0.13 TVM website
Python3 >= 3.6.0 Python website

Running python models

Generating the Ansor template with 10k trials for a specific machine architecture.

  python3 benchmarks/mm.py -m ansor -a x86 -l results/x86_mm.json

Optimize Ansor template using Droplet Search with 100 trials:

  python3 benchmarks/mm.py -m droplet -a x86 -l results/x86_mm.json -t 100

Running ONNX models

Generating the Ansor template with 10k trials for a specific machine architecture.

python3 benchmarks/models_onnx.py -m ansor -a x86 -t 10000 -l results/x86_resnet18_10k.json -b models/resnet18.onnx

Optimize Ansor template using Droplet Search with 100 trials:

python3 benchmarks/models_onnx.py -m droplet -a x86 -t 100 -l results/x86_resnet18_10k.json -b models/resnet18.onnx

bennu's People

Contributors

canesche avatar xintin avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

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