Code Monkey home page Code Monkey logo

dropletsearch's Introduction

Droplet Search

Droplet Search is a technique to optimize machine learning kernels, based on the coordinate descent algorithm. This algorithm is currently part of Apache TVM (For more details, see this PR). To know more about it, you can take a look into this paper.

logo
License: GPL v3 Linting: Pylint Last update

Table of Contents


Introduction

Droplet is merged on Apache TVM since version 0.13.0. This repository is used as an artifact for the paper.


Getting Started

In this section are the steps to reproduce our experiments.

Prerequisites

You need to install the following packages to run this project:

For nvidia docker, please follow these instructions: Nvidia Container

Setup

We developed a dockerfile with the experiments and all requirements installed. We recommend using this solution if you want to compare it with our solution. Below, for each architecture supported, is presented how to build the docker.

bash scripts/build_docker.sh <ARCH>

Where <ARCH> can be x86, arm, or cuda.

Running

You can run the docker following command line:

bash scripts/run_docker.sh <ARCH>

Where <ARCH> can be x86, arm, or cuda.

To execute the neural networks models (Figure 11):

bash scripts/cnn_models.sh <ARCH>

To measure the impact of the p-value in the droplet (Figure 12):

bash scripts/droplet_pvalue.sh <ARCH>

To execute microkernels (Appendix), you must use the following script:

bash scripts/microkernels.sh

Structure

The repository has the following organization:

|-- results: "Place which your data will be saved for the default"
|-- docker: "Scripts for building the docker"
|-- docs: "Repository documentation"
|-- scripts: "Scripts for building the docker and generating some images"
|-- src: "Source code"
    |-- handmade: "Extra experiments using the droplet to verify how the space search works"
    |-- microkernels: "Python scripts to run microkernel presents in the paper"
    |-- tvm: "Python scripts to run NN models presented in the paper"
|-- thirdparty: "Third-party code for comparison with our experiments."

dropletsearch's People

Contributors

canesche avatar pronesto avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

mehmetpeker1

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.