Skip to content

Commit 3c61f40

Browse files
committed
make arg required and update docs
Signed-off-by: luarss <jluar@precisioninno.com>
1 parent b01453b commit 3c61f40

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

docs/user/InstructionsForAutoTuner.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,8 +148,9 @@ python3 distributed.py --design gcd --platform sky130hd \
148148

149149
#### Plot images
150150

151-
After running the autotuner experiments, you can visualize the results as follows.
152-
Currently, we support the following metrics:
151+
After running an AutoTuner experiment, you can generate a graph to understand the results better.
152+
The graph will show one of the metrics listed below progression over the execution of the experiment.
153+
153154
- QoR
154155
- Runtime per trial
155156
- Clock Period

tools/AutoTuner/src/autotuner/utils/plot.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,10 +93,7 @@ def main(results_dir: str):
9393
if __name__ == "__main__":
9494
parser = argparse.ArgumentParser(description="Plot AutoTuner results.")
9595
parser.add_argument(
96-
"results_dir",
97-
type=str,
98-
help="Directory containing the results.",
99-
default="../../../../../flow/logs/asap7/gcd/test-tune-2024-09-17-12-00-44",
96+
"results_dir", type=str, help="Directory containing the results.", required=True
10097
)
10198
args = parser.parse_args()
10299
main(args.results_dir)

0 commit comments

Comments
 (0)