rkimball commented on a change in pull request #9248:
URL: https://github.com/apache/tvm/pull/9248#discussion_r726475382
##########
File path: python/tvm/autotvm/graph_tuner/utils/traverse_graph.py
##########
@@ -129,7 +131,7 @@ def _traverse_expr(node):
mod = tvm.IRModule.from_expr(relay.Function(params, call))
relay.backend.compile_engine.get().clear()
build_thread = threading.Thread(
- target=relay.build, args=(mod, "llvm -device=tracing",
None, None)
+ target=relay.build, args=(mod, f"{tvm_target}
-device=tracing", None, None)
Review comment:
Since there should only be one `device` I added a check so it is not
appended if already present.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]