mirror of https://github.com/hpcaitech/ColossalAI
[NFC] polish colossalai/auto_parallel/tensor_shard/deprecated/graph_analysis.py code style (#2340)
parent
bd12a49e2a
commit
28e2d16794
|
@ -1,9 +1,11 @@
|
|||
from collections import OrderedDict as ODict
|
||||
from dataclasses import dataclass
|
||||
from torch.fx.node import Node
|
||||
from typing import Any, List, OrderedDict, Union
|
||||
|
||||
from torch.fx.graph import Graph
|
||||
from torch.fx.graph_module import GraphModule
|
||||
from collections import OrderedDict as ODict
|
||||
from typing import List, OrderedDict, Union, Any
|
||||
from torch.fx.node import Node
|
||||
|
||||
from colossalai.fx.passes.utils import get_node_module
|
||||
|
||||
__all__ = ['LiveVariable', 'LiveVariableVector', 'LiveStage', 'GraphAnalyser']
|
||||
|
|
Loading…
Reference in New Issue