Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
tilelang
Commits
b1922518
Unverified
Commit
b1922518
authored
Nov 18, 2025
by
Yichen Yan
Committed by
GitHub
Nov 18, 2025
Browse files
[Minor] Remove from __future__ import annotations for python 3.8 (#1273)
parent
220c3236
Changes
47
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
1 addition
and
7 deletions
+1
-7
tilelang/layout/swizzle.py
tilelang/layout/swizzle.py
+1
-1
tilelang/primitives/gemm/__init__.py
tilelang/primitives/gemm/__init__.py
+0
-1
tilelang/profiler/__init__.py
tilelang/profiler/__init__.py
+0
-1
tilelang/quantize/lop3.py
tilelang/quantize/lop3.py
+0
-1
tilelang/quantize/mxfp.py
tilelang/quantize/mxfp.py
+0
-1
tilelang/transform/add_bufstore_wrapper.py
tilelang/transform/add_bufstore_wrapper.py
+0
-1
tilelang/utils/tensor.py
tilelang/utils/tensor.py
+0
-1
No files found.
tilelang/layout/swizzle.py
View file @
b1922518
"""Wrapping Layouts."""
"""Wrapping Layouts."""
# pylint: disable=invalid-name, unsupported-binary-operation
# pylint: disable=invalid-name, unsupported-binary-operation
from
__future__
import
annotations
from
__future__
import
annotations
import
tvm
import
tvm
from
tvm.tir
import
Buffer
,
BufferLoad
,
BufferRegion
from
tvm.tir
import
Buffer
,
BufferLoad
,
BufferRegion
from
tilelang
import
_ffi_api
from
tilelang
import
_ffi_api
...
...
tilelang/primitives/gemm/__init__.py
View file @
b1922518
from
__future__
import
annotations
from
__future__
import
annotations
from
tvm
import
tir
from
tvm
import
tir
from
tilelang.utils
import
is_local
,
is_fragment
,
is_shared
from
tilelang.utils
import
is_local
,
is_fragment
,
is_shared
from
tilelang.primitives.gemm.base
import
GemmWarpPolicy
from
tilelang.primitives.gemm.base
import
GemmWarpPolicy
...
...
tilelang/profiler/__init__.py
View file @
b1922518
"""The profiler and convert to torch utils"""
"""The profiler and convert to torch utils"""
from
__future__
import
annotations
from
__future__
import
annotations
from
typing
import
Callable
,
Any
,
Literal
from
typing
import
Callable
,
Any
,
Literal
from
functools
import
partial
from
functools
import
partial
import
torch
import
torch
...
...
tilelang/quantize/lop3.py
View file @
b1922518
# Copyright (c) Microsoft Corporation.
# Copyright (c) Microsoft Corporation.
# Licensed under the MIT License.
# Licensed under the MIT License.
from
__future__
import
annotations
from
typing
import
Literal
from
typing
import
Literal
decode_i4_to_f16
=
"""
decode_i4_to_f16
=
"""
...
...
tilelang/quantize/mxfp.py
View file @
b1922518
from
__future__
import
annotations
from
typing
import
Literal
from
typing
import
Literal
# Implementation asm for fp4 to bf16, using twiddling
# Implementation asm for fp4 to bf16, using twiddling
...
...
tilelang/transform/add_bufstore_wrapper.py
View file @
b1922518
from
__future__
import
annotations
from
tvm.tir
import
(
BufferStore
,
For
,
AttrStmt
,
ForKind
,
Var
,
PrimFunc
,
BufferLoad
,
Buffer
,
IntImm
)
from
tvm.tir
import
(
BufferStore
,
For
,
AttrStmt
,
ForKind
,
Var
,
PrimFunc
,
BufferLoad
,
Buffer
,
IntImm
)
from
tvm.tir.stmt_functor
import
ir_transform
,
post_order_visit
from
tvm.tir.stmt_functor
import
ir_transform
,
post_order_visit
from
tvm.tir.transform
import
prim_func_pass
from
tvm.tir.transform
import
prim_func_pass
...
...
tilelang/utils/tensor.py
View file @
b1922518
from
__future__
import
annotations
"""The profiler and convert to torch utils"""
"""The profiler and convert to torch utils"""
from
enum
import
Enum
from
enum
import
Enum
import
torch
import
torch
...
...
Prev
1
2
3
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment