8000 Apply lint patch · pytorch/pytorch@684846c · GitHub
[go: up one dir, main page]

Skip to content

Commit 684846c

Browse files
stellaraccidentnirvedhmeshram
authored andcommitted
Apply lint patch
1 parent a957bb9 commit 684846c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

torch/_dynamo/backends/inductor.py

Lines changed: 2 additions & 1 deletion
< 7441 /tr>
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,15 @@
11
# mypy: ignore-errors
22

33
import sys
4+
45
from torch._dynamo import register_backend
56

67

78
@register_backend
89
def inductor(*args, **kwargs):
910
if sys.platform == "win32":
1011
raise RuntimeError("Windows not yet supported for inductor")
11-
12+
1213
# do import here to avoid loading inductor into memory when it is not used
1314
from torch._inductor.compile_fx import compile_fx
1415

0 commit comments

Comments
 (0)
0