Skip to content

Commit 1bc8a82

Browse files
authored
Merge pull request #1872 from vvbandeira/at-fixes
AutoTuner fixes
2 parents 9afee78 + 8d1fd0e commit 1bc8a82

File tree

3 files changed

+11
-67
lines changed

3 files changed

+11
-67
lines changed

flow/designs/asap7/gcd/autotuner.json

Lines changed: 2 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"_SDC_CLK_PERIOD": {
44
"type": "float",
55
"minmax": [
6-
100,
7-
400
6+
50,
7+
1000
88
],
99
"step": 0
1010
},
@@ -24,38 +24,6 @@
2424
],
2525
"step": 0
2626
},
27-
"CORE_MARGIN": {
28-
"type": "int",
29-
"minmax": [
30-
2,
31-
2
32-
],
33-
"step": 0
34-
},
35-
"CELL_PAD_IN_SITES_GLOBAL_PLACEMENT": {
36-
"type": "int",
37-
"minmax": [
38-
0,
39-
5
40-
],
41-
"step": 1
42-
},
43-
"CELL_PAD_IN_SITES_DETAIL_PLACEMENT": {
44-
"type": "int",
45-
"minmax": [
46-
0,
47-
5
48-
],
49-
"step": 1
50-
},
51-
"_FR_LAYER_ADJUST": {
52-
"type": "float",
53-
"minmax": [
54-
0.1,
55-
0.7
56-
],
57-
"step": 0
58-
},
5927
"PLACE_DENSITY_LB_ADDON": {
6028
"type": "float",
6129
"minmax": [
@@ -64,30 +32,6 @@
6432
],
6533
"step": 0
6634
},
67-
"_PINS_DISTANCE": {
68-
"type": "int",
69-
"minmax": [
70-
1,
71-
4
72-
],
73-
"step": 1
74-
},
75-
"CTS_CLUSTER_SIZE": {
76-
"type": "int",
77-
"minmax": [
78-
10,
79-
200
80-
],
81-
"step": 1
82-
},
83-
"CTS_CLUSTER_DIAMETER": {
84-
"type": "int",
85-
"minmax": [
86-
20,
87-
400
88-
],
89-
"step": 1
90-
},
9135
"_FR_FILE_PATH": "",
9236
"_FR_GR_OVERFLOW": {
9337
"type": "int",

flow/util/distributed.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,15 @@
4242
from ray import tune
4343
from ray.tune.schedulers import AsyncHyperBandScheduler
4444
from ray.tune.schedulers import PopulationBasedTraining
45-
from ray.tune.suggest import ConcurrencyLimiter
46-
from ray.tune.suggest.ax import AxSearch
47-
from ray.tune.suggest.basic_variant import BasicVariantGenerator
48-
from ray.tune.suggest.hyperopt import HyperOptSearch
49-
from ray.tune.suggest.nevergrad import NevergradSearch
50-
from ray.tune.suggest.optuna import OptunaSearch
45+
from ray.tune.search import ConcurrencyLimiter
46+
from ray.tune.search.ax import AxSearch
47+
from ray.tune.search.basic_variant import BasicVariantGenerator
48+
from ray.tune.search.hyperopt import HyperOptSearch
49+
# from ray.tune.search.nevergrad import NevergradSearch
50+
from ray.tune.search.optuna import OptunaSearch
5151
from ray.util.queue import Queue
5252

53-
import nevergrad as ng
53+
# import nevergrad as ng
5454
from ax.service.ax_client import AxClient
5555

5656
DATE = datetime.now().strftime("%Y-%m-%d-%H-%M-%S")

tools/AutoTuner/requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
ray[default,tune]==1.11.0
1+
ray[default,tune]
22
ax-platform
33
hyperopt
44
nevergrad
55
optuna
66
pandas
77
colorama==0.4.4
88
bayesian-optimization==1.4.0
9-
tensorboard==2.13.3
9+
tensorboard
1010
protobuf==3.20.1

0 commit comments

Comments
 (0)