Skip to content

Commit 92903b4

Browse files
petersalasPeter Salas
and
Peter Salas
authoredSep 14, 2021
[Autoscheduler] Reduce task weight coercion overhead (#8995)
Co-authored-by: Peter Salas <psalas@octoml.ai>
1 parent 58b9a32 commit 92903b4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎python/tvm/auto_scheduler/relay_integration.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def extract_tasks(
171171
desc=",".join(func_names),
172172
)
173173
)
174-
weights.append(weight)
174+
weights.append(int(weight))
175175

176176
if dump_workload_to_dag_log is not None:
177177
with open(dump_workload_to_dag_log, "w") as f:

0 commit comments

Comments
 (0)
Please sign in to comment.