You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-2Lines changed: 19 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,10 +12,10 @@
12
12
13
13
14
14
This repository contains the software package accompanying the paper "A Methodology for Comparing Auto-Tuning Optimization Algorithms".
15
-
It makes the guidelines in the methodology easy to apply: simply specify the `.json` file, run it with `python visualize_experiments.py` and wait for the results!
15
+
It makes the guidelines in the methodology easy to apply: simply specify the `.json` file, run `autotuning_visualize [path_to_json]` and wait for the results!
16
16
17
17
## Installation
18
-
The package can be installed by cloning this repository and running `pip install .`. Python >= 3.9 is supported.
18
+
The package can be installed by cloning this repository and running `pip install .`. Python >= 3.9 is supported.
19
19
20
20
## Notable features
21
21
- Official software by the authors of the methodology-defining paper.
@@ -28,6 +28,23 @@ The package can be installed by cloning this repository and running `pip install
28
28
<imgwidth="674"alt="example run in interactive window"src="https://user-images.githubusercontent.com/6725103/232880006-70a05b0e-a4e4-4cc7-bea9-473959c474c2.png">
29
29
<imgwidth="483"alt="example run in interactive window 2"src="https://user-images.githubusercontent.com/6725103/232881244-d432ea8e-801a-44b1-9acb-b98cc1b740ac.png">
30
30
31
+
## Usage
32
+
33
+
### Entry points
34
+
There are two entry points defined: `autotuning_experiment` and `autotuning_visualize`. Both take one argument: the path to an experiment file (see below).
35
+
36
+
### Input files
37
+
To get started, all you need is an experiments file. This is a `json` file that describes the details of your comparison: which algorithms to use, which programs to tune on which devices, the graphs to output and so on.
38
+
You can find the API and an example `experiments.json` in the [documentation]().
39
+
40
+
### File references
41
+
As we are dealing with input and output files, file references matter.
42
+
When calling the entrypoints, we are already providing the path to an experiments file.
43
+
File references in experiments files are relative to the location of the experiment file itself.
44
+
File references in tuning scripts are relative to the location of the tuning script itself. Tuning scripts need to have the global literals `file_path_results` and `file_path_metadata` for this package to know where to get the results.
45
+
Plots outputted by this package are placed in a folder called `generated_plots` relative to the current working directory.
0 commit comments