Skip to content

Commit

Permalink
make arg required and update docs
Browse files Browse the repository at this point in the history
Signed-off-by: luarss <jluar@precisioninno.com>
  • Loading branch information
luarss committed Oct 10, 2024
1 parent b01453b commit 3c61f40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 3 additions & 2 deletions docs/user/InstructionsForAutoTuner.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ python3 distributed.py --design gcd --platform sky130hd \

#### Plot images

After running the autotuner experiments, you can visualize the results as follows.
Currently, we support the following metrics:
After running an AutoTuner experiment, you can generate a graph to understand the results better.
The graph will show one of the metrics listed below progression over the execution of the experiment.

- QoR
- Runtime per trial
- Clock Period
Expand Down
5 changes: 1 addition & 4 deletions tools/AutoTuner/src/autotuner/utils/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,10 +93,7 @@ def main(results_dir: str):
if __name__ == "__main__":
parser = argparse.ArgumentParser(description="Plot AutoTuner results.")
parser.add_argument(
"results_dir",
type=str,
help="Directory containing the results.",
default="../../../../../flow/logs/asap7/gcd/test-tune-2024-09-17-12-00-44",
"results_dir", type=str, help="Directory containing the results.", required=True
)
args = parser.parse_args()
main(args.results_dir)

0 comments on commit 3c61f40

Please sign in to comment.