Name | pyatf JSON |
Version |
0.0.8
JSON |
| download |
home_page | None |
Summary | Auto-Tuning Framework (ATF) is a generic, general-purpose auto-tuning approach for programs whose tuning parameters may be constrained |
upload_time | 2024-08-20 15:38:45 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | None |
keywords |
auto-tuning
constraints
optimization
performance
tuning
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# 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](https://dl.acm.org/doi/abs/10.1145/3427093)).
ATF comes with easy-to-use user interfaces to make auto-tuning appealing also to common application developers.
The Interfaces are based on either:
1. *Domain-Specific Language (DSL)*, for auto-tuning at compile time (a.k.a. offline tuning) (discussed [here](https://onlinelibrary.wiley.com/doi/full/10.1002/cpe.4423?casa_token=FO9i0maAi_MAAAAA%3AwSOYWsoqfLqcbazsprmzKkmI5msUCY4An5A7CCwi-_V8u10VdpgejcWuiTwYhWnZpaCJZ3NmXt86sg));
2. *General Purpose Language (GPL)*, for auto-tuning at runtime (a.k.a. online tuning), e.g., of *C++ programs* (referred to as [cppATF](todo), and discussed [here](https://ieeexplore.ieee.org/abstract/document/8291912)) or *Python programs* (referred to as [pyATF](todo)).
**The full GitHub repository for *pyATF*, i.e., ATF with its GPL-based Python interface can be found [here](https://github.com/atf-tuner/pyATF).**
## Documentation
The full documentation is available [here](https://atf-tuner.org/pyATF/).
## 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 pyopencl
For 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
Raw data
{
"_id": null,
"home_page": null,
"name": "pyatf",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "auto-tuning, constraints, optimization, performance, tuning",
"author": null,
"author_email": "Richard Schulze <r.schulze@uni-muenster.de>, Ari Rasch <a.rasch@uni-muenster.de>",
"download_url": "https://files.pythonhosted.org/packages/0d/f2/13687cf1aa4f9593232783528eac3d281aaafa76be280337edda9e1a9e71/pyatf-0.0.8.tar.gz",
"platform": null,
"description": "# pyATF: The Auto-Tuning Framework (ATF) in Python\n\nAuto-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.\nATF 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).\n\nA 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.\nFor this, ATF introduces novel process to *generating*, *storing*, and *exploring* the search spaces of interdependent tuning parameters (discussed in detail [here](https://dl.acm.org/doi/abs/10.1145/3427093)).\n\nATF comes with easy-to-use user interfaces to make auto-tuning appealing also to common application developers.\nThe Interfaces are based on either:\n1. *Domain-Specific Language (DSL)*, for auto-tuning at compile time (a.k.a. offline tuning) (discussed [here](https://onlinelibrary.wiley.com/doi/full/10.1002/cpe.4423?casa_token=FO9i0maAi_MAAAAA%3AwSOYWsoqfLqcbazsprmzKkmI5msUCY4An5A7CCwi-_V8u10VdpgejcWuiTwYhWnZpaCJZ3NmXt86sg));\n2. *General Purpose Language (GPL)*, for auto-tuning at runtime (a.k.a. online tuning), e.g., of *C++ programs* (referred to as [cppATF](todo), and discussed [here](https://ieeexplore.ieee.org/abstract/document/8291912)) or *Python programs* (referred to as [pyATF](todo)).\n\n**The full GitHub repository for *pyATF*, i.e., ATF with its GPL-based Python interface can be found [here](https://github.com/atf-tuner/pyATF).**\n\n## Documentation\n\nThe full documentation is available [here](https://atf-tuner.org/pyATF/).\n\n## Installation\n\npyATF requires Python 3.9+ and can be installed using `pip`:\n\n pip install pyatf\n\npyATF's pre-implemented OpenCL and CUDA cost functions require additional packages to be installed:\n\n- OpenCL cost function:\n\n pip install numpy pyopencl\n\n For the OpenCL cost function, a matching OpenCL runtime is also required, e.g., for Intel CPUs:\n\n pip install intel-opencl-rt\n\n- CUDA cost function:\n\n pip install numpy cuda-python",
"bugtrack_url": null,
"license": null,
"summary": "Auto-Tuning Framework (ATF) is a generic, general-purpose auto-tuning approach for programs whose tuning parameters may be constrained",
"version": "0.0.8",
"project_urls": {
"Homepage": "https://atf-project.org/",
"Issues": "https://github.com/atf-tuner/pyATF/issues"
},
"split_keywords": [
"auto-tuning",
" constraints",
" optimization",
" performance",
" tuning"
],
"urls": [
{
"comment_text": null,
"digests": {
"blake2b_256": "0bef3da6067b4ceaf097e5408607d5375015ec889e61ca6870b4430e7f42aa5a",
"md5": "d2e34eeac477b44878a7134b3b66369b",
"sha256": "08afb8711a96096a53f3b62c0667d0da2268a46c7b05d6459dd024c38e5009ad"
},
"downloads": -1,
"filename": "pyatf-0.0.8-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d2e34eeac477b44878a7134b3b66369b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 40138,
"upload_time": "2024-08-20T15:38:44",
"upload_time_iso_8601": "2024-08-20T15:38:44.656227Z",
"url": "https://files.pythonhosted.org/packages/0b/ef/3da6067b4ceaf097e5408607d5375015ec889e61ca6870b4430e7f42aa5a/pyatf-0.0.8-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": null,
"digests": {
"blake2b_256": "0df213687cf1aa4f9593232783528eac3d281aaafa76be280337edda9e1a9e71",
"md5": "1d9ece7163edcb9b48d193e309f7a978",
"sha256": "4e848cfb8a48b4158d697d2772fb0c4fe74625154a67bea569c3a754f6c02fa5"
},
"downloads": -1,
"filename": "pyatf-0.0.8.tar.gz",
"has_sig": false,
"md5_digest": "1d9ece7163edcb9b48d193e309f7a978",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 46385,
"upload_time": "2024-08-20T15:38:45",
"upload_time_iso_8601": "2024-08-20T15:38:45.932101Z",
"url": "https://files.pythonhosted.org/packages/0d/f2/13687cf1aa4f9593232783528eac3d281aaafa76be280337edda9e1a9e71/pyatf-0.0.8.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-08-20 15:38:45",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "atf-tuner",
"github_project": "pyATF",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "pyatf"
}