Git Product home page Git Product logo

gce_autotuning_example's Introduction

Autotuning with the Google Compute Engine

This repository contains an example application that uses GCE resources and the OpenTuner autotuning framework.

The MeasurementClient class is an OpenTuner MeasurementDriver that uses an interface to the GCE API to send result requests to a server in a GCE virtual machine. The server is hosted in this repository.

This git repository contains the measurement_client (repo) and the gce_interface(repo) as git submodules. To clone this project and its submodules run:

$ git clone --recursive https://github.com/phrb/gce_autotuning_example.git

To run the example, you have to either copy the full startup script to this project or build a private image, using the commands in the script. You also have to install the dependencies that can be found in the startup script. In a Debian Jessie, run:

$ sudo apt-get install git python-pip python-dev python-matplotlib libsqlite3-dev libfreetype6-dev
$ sudo pip install --upgrade oauth2client google-api-python-client
$ sudo pip install opentuner

Search for the correspondent packages for different distributions. Now you have to change the project name in run.py and enable gcloud on your machine. Then you can run:

$ python run.py

You can also pass options directly to the tuner. Check run.py or run the following for more information:

$ python rosenbrock.py -h

gce_autotuning_example's People

Contributors

phrb avatar

Watchers

James Cloos 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.