Kuris

Results 21 comments of Kuris

Syntax for alloc var: ```py def foo(): a: tl.float32 = ... b: tl.float32 = 0 c: tl.float32 ``` macro with return value: ```py @T.macro def foo(a, b): return a >...

In frontend v2 #1120 , we experimentally suggest a prim func generator based expression. In both tvm and tilelang, `T.Tensor` is treated as placeholders. What `T.prim_func` does is just extracting...

@Hzfengsy are you sure? I see even python 3.14 has `from __future__ import annotations` https://docs.python.org/3/library/__future__.html

Thanks, you are right. Python 3.14 will introduce a native support for annotations, all annotations are lazily evaluated python objects, not strings. Since `from __future__ import annotations` will eventually being...

@oraluben if `from __future__ import annotations` is really required, please try the `@T.prim_func(generator=True)` method. https://github.com/tile-ai/tilelang/blob/1768cbefa1ead5aa286ae7b44b5dbe9d1bb3c1e6/tilelang/language/v2/builder.py#L609-L613 Or you can disable it, since it will be eventually deprecated and removed.