with auto_scheduler.ApplyHistoryBest(log_file):
with PassContext(opt_level=opt_level, config={
"relay.CompileEngine": { use_topi_schedule: False }
}):
lib = relay.build(mod, target=target, params=params)
1 Like