Skip to main content

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.

System dependencies

A list of system dependencies can be found in debian-packages-deps which are primarily python 2.6+ (not 3.x) and sqlite3 (or your supported database backend of choice).

On Ubuntu/Debian there can be installed with:

sudo apt-get install `cat debian-packages-deps | tr '\n' ' '`

Installation

OpenTuner (and dependencies) can be installed with

sudo pip install opentuner

or

pip install --user opentuner

This will not install any of the example programs.

Development installation

For development (running OpenTuner out of a git checkout), a list of python dependencies can be found in requirements.txt these can either be installed system-wide with pip or easy_install.

sudo apt-get install python-pip
sudo pip install -r requirements.txt

Or you can use virtual env to create a isolated python environment by running:

python ./venv-bootstrap.py

which will create a ./venv/bin/python (./venv/Scripts/python.exe on windows) with all the required packages installed.

Checking Installation

Quickly checking that a successful installation has been made, may be performed by running an example program such as:

./examples/rosenbrock/rosenbrock.py

Tutorials

  • A tutorial for creating new techniques can be found here.

More coming soon!

Papers

Contributing Code

The preferred way to contribute code to OpenTuner is to fork the project on github and submit a pull request. You can also submit a patch via email to jansel@csail.mit.edu.

Support

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

Metadata

Release files for opentuner 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for opentuner 0.4.0
File Size Uploaded
opentuner-0.4.0.tar.gz 53.4 kB Details

Release files / opentuner-0.4.0.tar.gz

Download URL opentuner-0.4.0.tar.gz
Size 53.4 kB
Tags Source
SHA-256 checksum
How to use checksums
9e66debd97aa888ba0fbbc2ed23e1f3fa452693febb6c1655818f3d1715b2355
BLAKE2b-256 checksum
How to use checksums
39422effd76b6458f9f870e8498769c7fbfffca1628d76628293d92a6a897211
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

0.8.8

1 release file

0.8.7

1 release file

0.8.6

1 release file

0.8.5

1 release file

0.8.4

1 release file

0.8.3

1 release file

0.8.2

1 release file

0.8.1

1 release file

0.8.0

1 release file

0.7.0

1 release file

0.6.0

1 release file

0.5.0

1 release file

This release

0.4.0 This release

1 release file

0.3.0

1 release file

0.2.0

1 release file

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page