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/04/23 12:49:29 UTC

[GitHub] [tvm] tqchen commented on a change in pull request #7897: Enable StackVM in AutoTVM

tqchen commented on a change in pull request #7897:
URL: https://github.com/apache/tvm/pull/7897#discussion_r619192943



##########
File path: python/tvm/autotvm/measure/measure_methods.py
##########
@@ -485,9 +488,8 @@ def __call__(self, measure_input, tmp_dir, **kwargs):
         """
         tic = time.time()
         try:
-            filename = os.path.join(
-                tmp_dir, "tmp_func_%0x.%s" % (getrandbits(64), self.build_func.output_format)
-            )
+            output_format = "stackvm" if self.build_func is None else self.build_func.output_format

Review comment:
       This seems to to be a really specialized default, can you introduce a stackvm build func instead?




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