Skip to content

Commit 8816c43

Browse files
committed
tools: Autotuner: Prepare Python module structure
Signed-off-by: Eryk Szpotanski <eszpotanski@antmicro.com>
1 parent ae5333d commit 8816c43

4 files changed

Lines changed: 40 additions & 12 deletions

File tree

‎tools/AutoTuner/installer.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ script_dir="$(dirname "${BASH_SOURCE[0]}")"
77
venv_name="autotuner_env"
88
python3 -m venv "$script_dir/$venv_name"
99
source "$script_dir/$venv_name/bin/activate"
10-
pip3 install -U -r $script_dir/requirements.txt
10+
pip3 install -e "$script_dir"
1111
deactivate

‎tools/AutoTuner/pyproject.toml‎

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
[project]
2+
name = "autotuner"
3+
version = "0.0.1"
4+
description = "This project provides a set of tools for tuning OpenROAD-flow-scripts parameter without user interference."
5+
classifiers = [
6+
"Programming Language :: Python :: 3",
7+
"License :: OSI Approved :: BSD 3-Clause",
8+
]
9+
readme = "README.md"
10+
dependencies = [
11+
"ray[default,tune]==2.9.3",
12+
"ax-platform>=0.3.3,<=0.3.7",
13+
"hyperopt==0.2.7",
14+
"optuna==3.6.0",
15+
"pandas>=2.0,<=2.2.1",
16+
"bayesian-optimization==1.4.0",
17+
"colorama==0.4.6",
18+
"tensorboard>=2.14.0,<=2.16.2",
19+
"protobuf==3.20.3",
20+
"SQLAlchemy==1.4.17",
21+
"urllib3<=1.26.15",
22+
]
23+
24+
[build-system]
25+
requires = ["setuptools", "setuptools_scm"]
26+
build-backend = "setuptools.build_meta"
27+
28+
[tool.setuptools.packages.find]
29+
where = ["src/"]
30+
include = [
31+
"autotuner*",
32+
]
33+
34+
[tool.setuptools]
35+
include-package-data = true

‎tools/AutoTuner/requirements.txt‎

Lines changed: 0 additions & 11 deletions
This file was deleted.
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"""
2+
AutoTuner module integrating Ray Tune and Vizier framework
3+
for ORFS parameters optimization.
4+
"""

0 commit comments

Comments
 (0)