@@ -23,18 +23,16 @@ User-defined coefficient values (`coeff_perform`, `coeff_power`, `coeff_area`) o
2323
2424## Setting up AutoTuner
2525
26- To setup AutoTuner, make sure you have a virtual environment set up with
27- Python 3.9.X. There are plenty of ways to do this, we recommend using
28- [ Miniconda] ( https://docs.conda.io/en/latest/miniconda.html ) ,
29- which is a free minimal installer for the package manager ` conda ` .
26+ We have provided two convenience scripts, ` ./install.sh ` and ` ./setup.sh `
27+ that works in Python3.8 for installation and configuration of AutoTuner,
28+ as shown below:
3029
3130``` shell
32- # set up conda environment
33- conda create -n autotuner_env python=3.9
34- conda activate autotuner_env
31+ # Install prerequisites
32+ ./tools/AutoTuner/install.sh
3533
36- # install requirements
37- pip install -r ./tools/AutoTuner/requirements.txt
34+ # Start virtual environment
35+ ./tools/AutoTuner/setup.sh
3836```
3937
4038## Input JSON structure
@@ -198,6 +196,15 @@ We show three different views possible at the end, namely: `Table View`, `Scatte
198196![ Parallel Coordinate View] ( ../images/Autotuner_best_parameter_view.webp )
199197<p style =" text-align : center ;" >Parallel Coordinate View (best run is in green)</p >
200198
199+ ## Testing framework
200+
201+ Assuming the virtual environment is setup at ` ./tools/AutoTuner/autotuner_env ` :
202+
203+ ```
204+ ./tools/AutoTuner/setup.sh
205+ python3 ./tools/AutoTuner/test/smoke_test_sweep.py
206+ python3 ./tools/AutoTuner/test/smoke_test_tune.py
207+ ```
201208
202209## Citation
203210
0 commit comments