jroesch commented on a change in pull request #7085:
URL: https://github.com/apache/tvm/pull/7085#discussion_r578132162
##########
File path: python/tvm/relay/build_module.py
##########
@@ -193,6 +193,18 @@ def get_params(self):
ret[key] = value.data
return ret
+@register_func("tvm.relay.build")
+def _rust_build_module(mod, target=None, target_host=None, params=None,
mod_name="default"):
+ print(mod)
+ print("\n")
+ rt_mod = build(mod, target, target_host, params, mod_name).module
+ print(rt_mod)
+ print(rt_mod["default"])
Review comment:
leftover, going to try and land this now finally
----------------------------------------------------------------
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]