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 2022/11/02 20:07:13 UTC

[GitHub] [tvm] sunggg commented on a diff in pull request #13269: [Bugfix][TIR] Fix version conflict with `typing` for Python 3.9

sunggg commented on code in PR #13269:
URL: https://github.com/apache/tvm/pull/13269#discussion_r1012248781


##########
python/tvm/tir/schedule/_type_checker.py:
##########
@@ -21,12 +21,17 @@
 import inspect
 from typing import Any, Callable, Dict, List, Optional, Tuple, TypeVar, Union
 import typing
+import sys
 
 
 def _is_none_type(type_: Any) -> bool:
     return type_ is None or type_ is type(None)
 
 
+def get_python_version():

Review Comment:
   This is mainly for the readability. Feel free to lemme know if you think this is overkill haha



-- 
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: commits-unsubscribe@tvm.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org