[RFC] Ansor: An Auto-scheduler for TVM (AutoTVM v2.0)

The schedule reuse mechanism in Ansor is even more powerful than AutoTVM.

You can just ApplyHistoryBest with the tuning log of MobileNet V2 to a new network. All identical workloads will be compiled with the schedule in the log.

Even better, with the latest TVM, you can even try ApplyHistoryBest(log_file, include_compatible=True) to apply schedules in the log file to the compatible workloads. See [AutoScheduler] Separate shapes from DAG hash and enable schedule sharing by comaniac · Pull Request #7317 · apache/tvm · GitHub for details.

1 Like