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 2020/12/08 06:21:31 UTC

[GitHub] [tvm] antinucleon commented on a change in pull request #7053: [auto_scheduler] buffer support, correctness check

antinucleon commented on a change in pull request #7053:
URL: https://github.com/apache/tvm/pull/7053#discussion_r538065121



##########
File path: python/tvm/auto_scheduler/auto_schedule.py
##########
@@ -136,9 +159,14 @@ def __init__(
 
         if isinstance(runner, str):
             if runner == "local":
-                runner = LocalRunner()
+                runner = LocalRunner(working_dir=self.temp_working_dir)
             else:
                 raise ValueError("Invalid runner: " + runner)
+
+        elif isinstance(runner, RPCRunner):
+            rpc_kwargs = runner.kwargs
+            rpc_kwargs["working_dir"] = self.temp_working_dir

Review comment:
       https://github.com/apache/tvm/pull/7053/files#diff-5e828f80da7fdc456523468e7f69c1617d8a88867500f68998567fbd6f95a1d7R183




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