mkatanbaf commented on code in PR #13514:
URL: https://github.com/apache/tvm/pull/13514#discussion_r1044937219


##########
python/tvm/meta_schedule/relay_integration.py:
##########
@@ -97,13 +99,16 @@ def _normalize_params(
     if executor is None:
         executor = relay.backend.Executor("graph")
 
+    if runtime is None:
+        runtime = relay.backend.Runtime("cpp")

Review Comment:
   I need to pass the runtime to the `relay.build` for micro targets. I don't 
think it would affect other target usage, since the `Runtime("cpp")` is the 
default runtime in the `relay.build` anyway, I followed the example of how 
`executor` is set for the `runtime`. (see 
https://github.com/apache/tvm/blob/main/python/tvm/relay/build_module.py#L80)



-- 
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]

Reply via email to