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
6b2bb310
Unverified
Commit
6b2bb310
authored
Oct 09, 2025
by
Xiaoyu Zhang
Committed by
GitHub
Oct 09, 2025
Browse files
[Bugfix] Fix type object is not subscriptable in py38 (#959)
parent
9a7cda42
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tilelang/jit/adapter/torch/metal.py
tilelang/jit/adapter/torch/metal.py
+3
-3
No files found.
tilelang/jit/adapter/torch/metal.py
View file @
6b2bb310
from
functools
import
wraps
from
typing
import
Callable
,
Optional
,
Union
from
typing
import
Callable
,
Optional
,
Union
,
List
import
torch
from
tvm
import
tir
...
...
@@ -14,8 +14,8 @@ class MetalKernelAdapter(BaseKernelAdapter):
def
__init__
(
self
,
params
:
l
ist
[
KernelParam
],
result_idx
:
l
ist
[
int
],
params
:
L
ist
[
KernelParam
],
result_idx
:
L
ist
[
int
],
# target: Union[str, Target],
func_or_mod
:
Union
[
tir
.
PrimFunc
,
tvm
.
IRModule
],
# host_mod: Optional[tvm.IRModule] = None,
...
...
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