pyATF: The Auto-Tuning Framework (ATF) in Python
Auto-Tuning Framework (ATF) is a generic, general-purpose auto-tuning approach that automatically finds well-performing values of performance-critical parameters (a.k.a. tuning parameters), such as sizes of tiles and numbers of threads. ATF works for programs written in arbitrary programming languages and belonging to arbitrary application domains, and it allows tuning for arbitrary objectives (e.g., high runtime performance and/or low energy consumption).
A major feature of ATF is that it supports auto-tuning programs whose tuning parameters have interdependencies among them, e.g., the value of one tuning parameter has to be smaller than the value of another tuning parameter. For this, ATF introduces novel process to generating, storing, and exploring the search spaces of interdependent tuning parameters (discussed in detail here).
ATF comes with easy-to-use user interfaces to make auto-tuning appealing also to common application developers. The Interfaces are based on either:
- Domain-Specific Language (DSL), for auto-tuning at compile time (a.k.a. offline tuning) (discussed here);
- General Purpose Language (GPL), for auto-tuning at runtime (a.k.a. online tuning), e.g., of C++ programs (referred to as cppATF, and discussed here) or Python programs (referred to as pyATF).
The full GitHub repository for pyATF, i.e., ATF with its GPL-based Python interface can be found here.
Documentation
The full documentation is available here.
Installation
pyATF requires Python 3.9+ and can be installed using pip:
pip install pyatf
pyATF's pre-implemented OpenCL and CUDA cost functions require additional packages to be installed:
-
OpenCL cost function:
pip install numpy pyopenclFor the OpenCL cost function, a matching OpenCL runtime is also required, e.g., for Intel CPUs:
pip install intel-opencl-rt -
CUDA cost function:
pip install numpy cuda-python
Metadata
Release files for pyatf 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pyatf-0.0.13.tar.gz | 46.6 kB | Without provenance | Details for pyatf-0.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pyatf-0.0.13-py3-none-any.whl | Python 3 | none | any | Details for pyatf-0.0.13-py3-none-any.whl |
Total release size: 86.7 kB
Release files / pyatf-0.0.13.tar.gz
| Download URL | pyatf-0.0.13.tar.gz |
|---|---|
| Size | 46.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e921874d3f591b52402b47d90fddadcaca424a1c860814112972164b4f378f71
|
|
BLAKE2b-256 checksum How to use checksums |
7942bdb6702268c013cd5c7d7647778a22b65bfd0f7d55fa3d867f5f457ee2ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Release files / pyatf-0.0.13-py3-none-any.whl
| Download URL | pyatf-0.0.13-py3-none-any.whl |
|---|---|
| Size | 40.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19ea195ffbfe0a173f911f8794afcedcb240dd5a755a0846325e41c6aee002bf
|
|
BLAKE2b-256 checksum How to use checksums |
0d17cd22fbeee8f2fdb8b2c83a1ca1ab0312ca94f721d5847712d12abde57039
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.4
|
Security for pyatf 0.0.13
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.