You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/03/09 02:07:34 UTC

[GitHub] [tvm] zxybazh commented on a change in pull request #7534: [Target] Add support for target object with host field compatible with previous api

zxybazh commented on a change in pull request #7534:
URL: https://github.com/apache/tvm/pull/7534#discussion_r589885852



##########
File path: python/tvm/auto_scheduler/measure.py
##########
@@ -223,8 +223,8 @@ def recover_measure_input(inp, rebuild_state=False):
     task = inp.task
     new_task = SearchTask(
         workload_key=task.workload_key,
-        target=task.target,
-        target_host=task.target_host,
+        target=tvm.target.Target(task.target, task.target_host),
+        target_host=None,

Review comment:
       Right, removed for simplicity.




----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org