Skip to main content

An extensible framework for program autotuning

Project description

Program autotuning has been demonstrated in many domains to achieve better or more portable performance. However, autotuners themselves are often not very portable between projects because using a domain informed search space representation is critical to achieving good results and because no single search technique performs best for all problems.

OpenTuner is a new framework for building domain-specific multi-objective program autotuners. OpenTuner supports fully customizable configuration representations, an extensible technique representation to allow for domain-specific techniques, and an easy to use interface for communicating with the tuned program. A key capability inside OpenTuner is the use of ensembles of disparate search techniques simultaneously, techniques which perform well will receive larger testing budgets and techniques which perform poorly will be disabled.

Installation

OpenTuner requires python 3.7+ and sqlite3 (or your supported database backend of choice). Install with:

sudo pip install opentuner

or

pip install --user opentuner

Development installation

For development or running examples out of a git checkout, we recommend using miniconda3.

conda create --name=opentuner python=3.8
conda activate opentuner
pip install -r requirements.txt -r optional-requirements.txt
python setup.py develop

Checking Installation

To check an installation you can run tests:

pytest tests/*

Or run an example program:

./examples/rosenbrock/rosenbrock.py

Tutorials

Papers

Contributing Code

The preferred way to contribute code to OpenTuner is to fork the project on github and submit a pull request.

Support

OpenTuner is supported in part by the United States Department of Energy X-Stack program as part of D-TEC.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

opentuner-0.8.8.tar.gz (68.9 kB view details)

Uploaded Source

File details

Details for the file opentuner-0.8.8.tar.gz.

File metadata

  • Download URL: opentuner-0.8.8.tar.gz
  • Upload date:
  • Size: 68.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for opentuner-0.8.8.tar.gz
Algorithm Hash digest
SHA256 904c58628906297b068562530070b0d2e22897cf7e1c579d97212a2530437a18
MD5 96bfa7068c75a8b285fb5b1bf5389996
BLAKE2b-256 1ab5365c30018c633744e9463aed96752d5433b7b41f201622bd2b9eb5ff6762

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page