rkimball commented on a change in pull request #9248:
URL: https://github.com/apache/tvm/pull/9248#discussion_r726609974
##########
File path: python/tvm/autotvm/graph_tuner/utils/traverse_graph.py
##########
@@ -130,8 +130,11 @@ def _traverse_expr(node):
call = relay.Call(node.op, params, node.attrs)
mod = tvm.IRModule.from_expr(relay.Function(params, call))
relay.backend.compile_engine.get().clear()
+ target_string = (
+ tvm_target if " -device" in tvm_target else f"{tvm_target}
-device=tracing"
+ )
build_thread = threading.Thread(
- target=relay.build, args=(mod, f"{tvm_target}
-device=tracing", None, None)
+ target=relay.build, args=(mod, target_string, None, None)
Review comment:
We want this to work flags like `-libs=cudnn` for things like BoBW so I
think other flags may be required to build the workload.
--
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]