zxybazh commented on a change in pull request #7534:
URL: https://github.com/apache/tvm/pull/7534#discussion_r597207631
##########
File path: python/tvm/autotvm/task/relay_integration.py
##########
@@ -122,6 +124,9 @@ def extract_from_multiple_program(mods, params, target,
target_host=None, ops=No
env = TaskExtractEnv.get()
+ # merge target and target host
+ target, target_host = refresh_host(target, target_host)
Review comment:
Yeah, that's definitely a good idea. Sometimes it appears the target or
target host would be updated in the function. Otherwise I can move it forward
as much as I can.
--
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:
[email protected]