Skip to content

Commit 472573a

Browse files
committed
fix import
Signed-off-by: Masahiro Tanaka <[email protected]>
1 parent 6d70e0f commit 472573a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

deepspeed/compile/backend.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@
99
import torch
1010
from torch.fx import Graph, GraphModule
1111
import torch.utils._pytree as pytree
12-
import torch._dynamo
13-
from torch._functorch.aot_autograd import aot_module_simplified
1412

1513
try:
14+
import torch._dynamo
1615
import torch._inductor.scheduler
1716
from functorch.compile import make_boxed_func
17+
from torch._functorch.aot_autograd import aot_module_simplified
1818
except ImportError:
1919
pass
2020

0 commit comments

Comments
 (0)