Skip to content

Commit 0db2893

Browse files
committed
temporarily revert to old cli entrypoint (global variable limitation)
Signed-off-by: Jack Luar <[email protected]>
1 parent 2fb7ba1 commit 0db2893

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

docs/user/CLIGuideAutotuner.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,13 +53,13 @@ and run:
5353
5454
```bash
5555
# Make sure you run this in `./tools/AutoTuner` directory.
56-
openroad_autotuner --yaml cli.yaml tune
56+
python3 -m autotuner.distributed --yaml cli.yaml tune
5757
```
5858

5959
## How to generate new config files
6060

6161
```bash
62-
openroad_autotuner --design gcd --platform sky130hd --experiment abcdef \
62+
python3 -m autotuner.distributed --design gcd --platform sky130hd --experiment abcdef \
6363
--verbose \
6464
--jobs 4 --openroad_threads 16 \
6565
--print_config \

docs/user/InstructionsForAutoTuner.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -127,23 +127,23 @@ The following commands should be run from `./tools/AutoTuner`.
127127

128128
#### Tune only
129129

130-
* AutoTuner: `openroad_autotuner tune -h`
130+
* AutoTuner: `python -m autotuner.distributed tune -h`
131131

132132
Example:
133133

134134
```shell
135-
openroad_autotuner --design gcd --platform sky130hd \
135+
python -m autotuner.distributed --design gcd --platform sky130hd \
136136
tune --samples 5 \
137137
--config ../../flow/designs/sky130hd/gcd/autotuner.json \
138138
```
139139
#### Sweep only
140140

141-
* Parameter sweeping: `openroad_autotuner sweep -h`
141+
* Parameter sweeping: `python -m autotuner.distributed sweep -h`
142142

143143
Example:
144144

145145
```shell
146-
openroad_autotuner --design gcd --platform sky130hd \
146+
python -m autotuner.distributed --design gcd --platform sky130hd \
147147
sweep \
148148
--config src/autotuner/distributed-sweep-example.json
149149
```

tools/AutoTuner/src/autotuner/distributed.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -38,23 +38,23 @@
3838
Dependencies are documented in pip format at distributed-requirements.txt
3939
4040
For both sweep and tune modes:
41-
openroad_autotuner -h
41+
python -m autotuner.distributed -h
4242
4343
Note: the order of the parameters matter.
4444
Arguments --design, --platform and --config are always required and should
4545
precede the <mode>.
4646
4747
AutoTuner:
48-
openroad_autotuner tune -h
49-
openroad_autotuner --design gcd --platform sky130hd \
48+
python -m autotuner.distributed tune -h
49+
python -m autotuner.distributed --design gcd --platform sky130hd \
5050
--config ../designs/sky130hd/gcd/autotuner.json \
5151
tune
5252
Example:
5353
5454
Parameter sweeping:
55-
openroad_autotuner sweep -h
55+
python -m autotuner.distributed sweep -h
5656
Example:
57-
openroad_autotuner --design gcd --platform sky130hd \
57+
python -m autotuner.distributed --design gcd --platform sky130hd \
5858
--config distributed-sweep-example.json \
5959
sweep
6060
"""

0 commit comments

Comments
 (0)