Skip to content

Commit

Permalink
[tuner] Remove legacy tuner path (#756)
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Max191 authored Jan 7, 2025
1 parent e2cbcb4 commit 3bf4faf
Show file tree
Hide file tree
Showing 27 changed files with 169 additions and 3,519 deletions.
3 changes: 0 additions & 3 deletions tuner/examples/dispatch/.gitignore

This file was deleted.

35 changes: 0 additions & 35 deletions tuner/examples/dispatch/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions tuner/examples/dispatch/__init__.py

This file was deleted.

9 changes: 0 additions & 9 deletions tuner/examples/dispatch/__main__.py

This file was deleted.

18 changes: 0 additions & 18 deletions tuner/examples/dispatch/compile_dispatch.sh

This file was deleted.

12 changes: 0 additions & 12 deletions tuner/examples/dispatch/config_epilog.mlir

This file was deleted.

32 changes: 0 additions & 32 deletions tuner/examples/dispatch/config_prolog.mlir

This file was deleted.

147 changes: 0 additions & 147 deletions tuner/examples/dispatch/dispatch_tuner.py

This file was deleted.

11 changes: 0 additions & 11 deletions tuner/examples/dispatch/mmt.mlir

This file was deleted.

3 changes: 0 additions & 3 deletions tuner/examples/punet/.gitignore

This file was deleted.

46 changes: 0 additions & 46 deletions tuner/examples/punet/README.md

This file was deleted.

5 changes: 0 additions & 5 deletions tuner/examples/punet/__init__.py

This file was deleted.

9 changes: 0 additions & 9 deletions tuner/examples/punet/__main__.py

This file was deleted.

11 changes: 0 additions & 11 deletions tuner/examples/punet/mmt.mlir

This file was deleted.

Loading

0 comments on commit 3bf4faf

Please sign in to comment.