Can I tune the model for aot mode?

Hello guys.

I’ve found that the autoShceduler log can not use for aot mode while compiling. It means I can’t compile with aot executor and autoScheduler log together, and I have to change compile mode back to ‘graph’ mode to avoid the “Cannot find tuned schedules for target=…” error.

For this situation, it seems autoTVM and autoScheduler tuning the model under graph mode in default. So It will not find the operator that tunes by autoScheduler while compiling cause of the different hash code.

My question is, can I make autoScheduler tuning under aot mode? In the website tutorial, we use ‘relay.build()’ to choose the executor by a parameter, and autoScheduler use ‘build_module.build()’ to build an operator and has no parameter for the executor.

Thanks a lot.