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

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.

Metadata

Release files for opentuner 0.3.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.3.0
File Size Uploaded Provenance Actions
opentuner-0.3.0.tar.gz 52.7 kB Without provenance Details for opentuner-0.3.0.tar.gz

Release files / opentuner-0.3.0.tar.gz

Download URL opentuner-0.3.0.tar.gz
Size 52.7 kB
Tags Source
SHA-256 checksum
How to use checksums
abb044c78655ee6e0c703bff745be7b0b1ba643d1ff66da0aa30e192e91daeac
BLAKE2b-256 checksum
How to use checksums
0a1e071c3cf9dc649c0ebe2b45c90583f9a02c8c9ded461fa6a318d8bad8dd18
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for opentuner 0.3.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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