Skip to content

Commit

Permalink
User-Interface: Tune-TE (apache#527)
Browse files Browse the repository at this point in the history
* fix a lot of issues

* Add tune-te
  • Loading branch information
junrushao authored and zxybazh committed Jan 7, 2022
1 parent 28a8537 commit c521ce1
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/tvm/meta_schedule/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@
from .tune_context import TuneContext
from .search_strategy import MeasureCandidate
from .tune_context import TuneContext
from .tune import tune_tir
from .tune import tune_tir, tune_te
9 changes: 9 additions & 0 deletions python/tvm/meta_schedule/tune.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@
TaskScheduler,
]

TYPE_F_TUNE_CONTEXT = Callable[ # pylint: disable=invalid-name
[
IRModule,
Target,
SearchStrategyConfig,
str,
],
TuneContext,
]

class DefaultLLVM:
"""Default tuning configuration for LLVM."""
Expand Down
1 change: 0 additions & 1 deletion src/meta_schedule/search_strategy/replay_func.cc
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
* under the License.
*/
#include "../utils.h"
#include "tvm/meta_schedule/postproc.h"

namespace tvm {
namespace meta_schedule {
Expand Down

0 comments on commit c521ce1

Please sign in to comment.