You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by GitBox <gi...@apache.org> on 2021/02/23 23:40:01 UTC

[GitHub] [tvm] areusch commented on a change in pull request #7337: Introduce module_loader to AutoTVM.

areusch commented on a change in pull request #7337:
URL: https://github.com/apache/tvm/pull/7337#discussion_r581471390



##########
File path: python/tvm/autotvm/measure/measure_methods.py
##########
@@ -473,15 +486,21 @@ def __call__(self, measure_input, tmp_dir, **kwargs):
         return BuildResult(filename, arg_info, None, time.time() - tic)
 
 
+CodeLoader = typing.Callable[
+    [dict, dict], typing.ContextManager[typing.Tuple[tvm.rpc.RPCSession, tvm.runtime.Module]]
+]
+
+
 def run_through_rpc(
     measure_input,
     build_result,
     number,
     repeat,
     min_repeat_ms,
     cooldown_interval,
-    remote_args,
+    remote_kw,

Review comment:
       also a good point, done




----------------------------------------------------------------
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:
users@infra.apache.org