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/05/18 08:21:05 UTC

[GitHub] [tvm] jcf94 commented on a change in pull request #8066: fix bugs in the auto-scheduler record:

jcf94 commented on a change in pull request #8066:
URL: https://github.com/apache/tvm/pull/8066#discussion_r634154394



##########
File path: python/tvm/auto_scheduler/measure_record.py
##########
@@ -45,6 +45,11 @@ class RecordToFile(MeasureCallback):
     """
 
     def __init__(self, filename):
+        dirname = os.path.dirname(filename)
+        if dirname == "":
+            dirname = "."

Review comment:
       Better not to use ".", use `os.path.abspath` to get the absolute path.




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