Skip to content

Commit 3bf4faf

Browse files
authored
[tuner] Remove legacy tuner path (#756)
This PR removes the old code paths for the tuner following the large refactoring done in #606 and #704. - The old compilation and benchmarking logic for models and dispatches are now gone, and the unified `benchmark` and `compile` functions should be used instead. - Much of the dispatch parsing logic is removed, and dispatch parsing is now done by 2 DispatchParser implementations for contraction ops and convolution ops. - The example tuning clients in `tuner/examples` for dispatches and punet are removed, since they use the old path. The new example to follow is in `tuner/examples/test`. - The candidate generation `tune` function is removed, and the `generate_configs_and_td_specs` should be used to generate candidates instead. - Many utility functions, structs, and struct fields are now removed, since they are no longer used. - All tests testing the old path are removed. --------- Signed-off-by: Max Dawkins <[email protected]>
1 parent e2cbcb4 commit 3bf4faf

27 files changed

+169
-3519
lines changed

tuner/examples/dispatch/.gitignore

-3
This file was deleted.

tuner/examples/dispatch/README.md

-35
This file was deleted.

tuner/examples/dispatch/__init__.py

-5
This file was deleted.

tuner/examples/dispatch/__main__.py

-9
This file was deleted.

tuner/examples/dispatch/compile_dispatch.sh

-18
This file was deleted.

tuner/examples/dispatch/config_epilog.mlir

-12
This file was deleted.

tuner/examples/dispatch/config_prolog.mlir

-32
This file was deleted.

tuner/examples/dispatch/dispatch_tuner.py

-147
This file was deleted.

tuner/examples/dispatch/mmt.mlir

-11
This file was deleted.

tuner/examples/punet/.gitignore

-3
This file was deleted.

tuner/examples/punet/README.md

-46
This file was deleted.

tuner/examples/punet/__init__.py

-5
This file was deleted.

tuner/examples/punet/__main__.py

-9
This file was deleted.

tuner/examples/punet/mmt.mlir

-11
This file was deleted.

0 commit comments

Comments
 (0)