mirror of
https://github.com/hpcaitech/ColossalAI.git
synced 2025-08-14 06:05:26 +00:00
[NFC] polish colossalai/auto_parallel/tensor_shard/deprecated/cost_graph.py code style (#2720)
Co-authored-by: Fuzhao Xue <fuzhao@login2.ls6.tacc.utexas.edu>
This commit is contained in:
parent
51c45c2460
commit
e81caeb4bc
@ -1,6 +1,8 @@
|
|||||||
from typing import List
|
|
||||||
import math
|
import math
|
||||||
|
from typing import List
|
||||||
|
|
||||||
from torch.fx.node import Node
|
from torch.fx.node import Node
|
||||||
|
|
||||||
from .constants import INFINITY_COST
|
from .constants import INFINITY_COST
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user