Name | pyatf JSON |
Version |
0.0.9
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-12-06 06:49:22 |
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/88/68/4665cbc7ab9c10f7541e637b5b62735bc5f9ef7485cbb575cc36a384c8c7/pyatf-0.0.9.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.9",
"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": "",
"digests": {
"blake2b_256": "92f853ab495576e99fd0785f06c9fa1e436172a2981c202479b4a95cd423184f",
"md5": "d3ac44cf5951620a12bf0afc6b13fb82",
"sha256": "6383c14e1ee8695a1e536f593cc918d5bd9ba44092e6c8d7cc0015b6e9ffd7be"
},
"downloads": -1,
"filename": "pyatf-0.0.9-py3-none-any.whl",
"has_sig": false,
"md5_digest": "d3ac44cf5951620a12bf0afc6b13fb82",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 40142,
"upload_time": "2024-12-06T06:49:20",
"upload_time_iso_8601": "2024-12-06T06:49:20.093090Z",
"url": "https://files.pythonhosted.org/packages/92/f8/53ab495576e99fd0785f06c9fa1e436172a2981c202479b4a95cd423184f/pyatf-0.0.9-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "88684665cbc7ab9c10f7541e637b5b62735bc5f9ef7485cbb575cc36a384c8c7",
"md5": "208c3b562c1721d1784b6f47350168a8",
"sha256": "64a84292992c70b2161e385db6997a7d00fb6366572b51eee44a02580c0ee83d"
},
"downloads": -1,
"filename": "pyatf-0.0.9.tar.gz",
"has_sig": false,
"md5_digest": "208c3b562c1721d1784b6f47350168a8",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 46405,
"upload_time": "2024-12-06T06:49:22",
"upload_time_iso_8601": "2024-12-06T06:49:22.667192Z",
"url": "https://files.pythonhosted.org/packages/88/68/4665cbc7ab9c10f7541e637b5b62735bc5f9ef7485cbb575cc36a384c8c7/pyatf-0.0.9.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-12-06 06:49:22",
"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"
}