Commit 1fa30a84 by MORINAGA Committed by Lianmin Zheng

[AUTOTVM][Bugfix] Fix history loader for heterogeneous execution

parent 6ad7ce8b
......@@ -294,6 +294,7 @@ class ApplyHistoryBest(DispatchContext):
# use model as key to build best map
key = (inp.target.model, inp.task.workload)
if key not in best_by_model:
if inp.target.model != 'unknown':
best_by_model[key] = (inp, res)
else:
_, other_res = best_by_model[key]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment