Skip to content

Commit 6876360

Browse files
committed
[SPEC] Fix spec _utils.py
1 parent 97551a6 commit 6876360

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

python/triton/_utils.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
from triton.flagtree_spec import spec_func
77

88
# flagtree backend path specialization
9-
spec_func("apply_with_path")
10-
spec_func("_tuple_create")
9+
apply_with_path = spec_func("apply_with_path")
10+
_tuple_create = spec_func("_tuple_create")
1111

1212
if TYPE_CHECKING:
1313
from .language import core

third_party/mthreads/backend/spec/triton/_utils.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from __future__ import annotations
2+
13
from typing import Any, Callable, TYPE_CHECKING, Union
24

35
if TYPE_CHECKING:

0 commit comments

Comments
 (0)