Skip to content

Commit d09b267

Browse files
committed
lint fix
1 parent c6812f1 commit d09b267

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

tilelang/jit/execution_backend.py

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
from __future__ import annotations
22

3-
from typing import Iterable
3+
from collections.abc import Iterable
44

55
from tvm.target import Target
66

7-
87
# Canonical names for execution backends used internally
98
_CANONICAL_MAP = {
109
"dlpack": "tvm_ffi", # historical alias
@@ -90,15 +89,12 @@ def resolve_execution_backend(requested: str | None, target: Target) -> str:
9089
if req not in allowed_all:
9190
raise ValueError(
9291
f"Invalid execution backend '{requested}' for target '{_target_kind(target)}'. "
93-
f"Allowed: {_format_options(allowed_all)}. Tip: use execution_backend='auto'."
94-
)
92+
f"Allowed: {_format_options(allowed_all)}. Tip: use execution_backend='auto'.")
9593

9694
# Promote to availability-aware set for nicer errors (e.g., nvrtc not installed)
9795
if req not in allowed_avail:
9896
raise ValueError(
9997
f"Execution backend '{requested}' requires extra dependencies and is not available now. "
100-
f"Try one of: {_format_options(allowed_avail)}."
101-
)
98+
f"Try one of: {_format_options(allowed_avail)}.")
10299

103100
return req
104-

0 commit comments

Comments
 (0)