Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ColossalAI
Commits
2fd528b9
Unverified
Commit
2fd528b9
authored
Feb 15, 2023
by
xyupeng
Committed by
GitHub
Feb 15, 2023
Browse files
[NFC] polish colossalai/auto_parallel/tensor_shard/deprecated/graph_analysis.py code style (#2737)
parent
c9e3ee38
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
colossalai/auto_parallel/tensor_shard/deprecated/graph_analysis.py
...i/auto_parallel/tensor_shard/deprecated/graph_analysis.py
+5
-3
No files found.
colossalai/auto_parallel/tensor_shard/deprecated/graph_analysis.py
View file @
2fd528b9
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'
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment