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/15 20:55:53 UTC

[GitHub] [tvm] junrushao commented on issue #13360: [Bug] TVMScript does not parse correctly with Python 3.8

junrushao commented on issue #13360:
URL: https://github.com/apache/tvm/issues/13360#issuecomment-1315853244

   Hey @guberti, this issue should be fixed in the latest HEAD. Testing script:
   
   ```python
   from tvm.script import tir as T
   
   @T.prim_func
   def func_1(
       A: T.Buffer[(16,), "float32"],
       C: T.Buffer[(1,), "float32"],
   ):
       ...
   
   func_1.show()
   ```
   
   Output in python 3.8:
   
   ```python
   # from tvm.script import tir as T
   @T.prim_func
   def func(A: T.Buffer[16, "float32"], C: T.Buffer[1, "float32"]):
       # body
       T.evaluate(0)
   ```


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