File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -53,3 +53,19 @@ python -m examples.simple <model_file_path> <benchmark_file_path> \
5353 --num-candidates=< num_generated_candidates> \
5454 --codegen-pipeline=< codegen_pipeline>
5555```
56+
57+ ## Algorithm of tuner
58+ ### Tuning algorithm
59+ 1 . Generate Candidate specs
60+ 2 . Compile candidate
61+ 3 . Benchmark for candidates
62+ - Baseline benchmark for candidates (now serially over all the given devices)
63+ - Candidate benchmark (parallel over all the given devices)
64+ - Second baseline run to check for any regression.
65+ - Return top candidates
66+ 4 . Compile models
67+ 5 . Benchmark for models
68+ - Baseline benchmark for models (now serially over all the given devices)
69+ - Model benchmark (parallel over all the given devices)
70+ - Second baseline run to check for any regression.
71+ - Return top model candidates
You can’t perform that action at this time.
0 commit comments