@@ -122,27 +122,28 @@ The order of the parameters matter. Arguments `--design`, `--platform` and
122122The following commands should be run from `./tools/AutoTuner`.
123123```
124124
125- #### Tune only
126-
127- * AutoTuner: ` openroad_autotuner tune -h `
125+ #### Tune only
128126
129127Example:
130128
131129``` shell
132- openroad_autotuner --design gcd --platform sky130hd \
133- --config ../../flow/designs/sky130hd/gcd/autotuner.json \
134- tune --samples 5
130+ python3 -m autotuner.distributed \
131+ --design gcd \
132+ --platform sky130hd \
133+ --config ../../flow/designs/sky130hd/gcd/autotuner.json \
134+ tune --samples 5
135135```
136- #### Sweep only
137136
138- * Parameter sweeping: ` openroad_autotuner sweep -h `
137+ #### Sweep only
139138
140139Example:
141140
142141``` shell
143- openroad_autotuner --design gcd --platform sky130hd \
144- --config src/autotuner/distributed-sweep-example.json \
145- sweep
142+ python3 -m autotuner.distributed \
143+ --design gcd \
144+ --platform sky130hd \
145+ --config src/autotuner/distributed-sweep-example.json \
146+ sweep
146147```
147148
148149#### Plot images
@@ -159,6 +160,19 @@ The graph will show the progression of one metric (see list below) over the exec
159160python3 utils/plot.py --results_dir < your-autotuner-result-path>
160161```
161162
163+ #### Work Directory
164+
165+ Use ` --work-dir ` to specify a writable directory for outputs. This is passed to ORFS as ` WORK_HOME ` .
166+
167+ ``` shell
168+ python3 -m autotuner.distributed \
169+ --design gcd \
170+ --platform sky130hd \
171+ --config ../../flow/designs/sky130hd/gcd/autotuner.json \
172+ --work-dir /tmp/autotuner123 \
173+ tune --samples 5
174+ ```
175+
162176### Google Cloud Platform (GCP) distribution with Ray
163177
164178GCP Setup Tutorial coming soon.
@@ -171,6 +185,7 @@ GCP Setup Tutorial coming soon.
171185| ` --platform ` | Name of the platform for Autotuning. ||
172186| ` --config ` | Configuration file that sets which knobs to use for Autotuning. ||
173187| ` --experiment ` | Experiment name. This parameter is used to prefix the FLOW_VARIANT and to set the Ray log destination.| test |
188+ | ` --work-dir ` | Work directory for outputs (passed to ORFS as WORK_HOME). | Installation directory |
174189| ` --git_clean ` | Clean binaries and build files. ** WARNING** : may lose previous data. ||
175190| ` --git_clone ` | Force new git clone. ** WARNING** : may lose previous data. ||
176191| ` --git_clone_args ` | Additional git clone arguments. ||
0 commit comments