diff --git a/flow/test/test_autotuner.sh b/flow/test/test_autotuner.sh index ae009fee1d..2d00e707cc 100755 --- a/flow/test/test_autotuner.sh +++ b/flow/test/test_autotuner.sh @@ -23,6 +23,10 @@ python3 -m unittest tools.AutoTuner.test.smoke_test_sample_iteration.${PLATFORM} if [ "$PLATFORM" == "asap7" ] && [ "$DESIGN" == "gcd" ]; then echo "Running Autotuner ref file test (only once)" python3 -m unittest tools.AutoTuner.test.ref_file_check.RefFileCheck.test_files + + echo "Running Autotuner plotting smoke test (only once)"` + latest_folder=$(ls -dt ./flow/logs/asap7/gcd/test-tune*/ | tail -n 1) + python3 tools/AutoTuner/src/autotuner/utils/plot.py --results_dir $latest_folder fi echo "Running Autotuner smoke algorithm & evaluation test" diff --git a/tools/AutoTuner/requirements.txt b/tools/AutoTuner/requirements.txt index 5bf65305cc..1870eb73e4 100644 --- a/tools/AutoTuner/requirements.txt +++ b/tools/AutoTuner/requirements.txt @@ -9,3 +9,4 @@ tensorboard>=2.14.0,<=2.16.2 protobuf==3.20.3 SQLAlchemy==1.4.17 urllib3<=1.26.15 +matplotlib==3.10.0