junrushao1994 commented on code in PR #11157:
URL: https://github.com/apache/tvm/pull/11157#discussion_r861408352


##########
python/tvm/meta_schedule/tune.py:
##########
@@ -17,7 +17,8 @@
 """User-facing Tuning API"""
 # pylint: disable=import-outside-toplevel
 import logging
-import os.path
+from pathlib import Path

Review Comment:
   Pathlib is definitely a good library, but perhaps it's less plausible if we 
mix `os.path` and `Pathlib`. In our particular case, shall we just do:
   
   ```python
   os.makedirs(path, exist_ok=False)
   ```



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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to