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
3883db45
Commit
3883db45
authored
Jul 18, 2023
by
YeAnbang
Committed by
binmakeswell
Jul 26, 2023
Browse files
[NFC] polish unary_elementwise_generator.py code style (#4267)
Co-authored-by:
aye42
<
aye42@gatech.edu
>
parent
798cb729
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
colossalai/auto_parallel/tensor_shard/node_handler/strategy/unary_elementwise_generator.py
...hard/node_handler/strategy/unary_elementwise_generator.py
+1
-1
No files found.
colossalai/auto_parallel/tensor_shard/node_handler/strategy/unary_elementwise_generator.py
View file @
3883db45
import
copy
import
copy
from
typing
import
List
from
typing
import
List
from
colossalai.auto_parallel.tensor_shard.sharding_strategy
import
(
MemoryCost
,
ShardingStrategy
,
TrainCycleItem
)
from
colossalai.auto_parallel.tensor_shard.sharding_strategy
import
MemoryCost
,
ShardingStrategy
,
TrainCycleItem
from
.strategy_generator
import
FollowingStrategyGenerator
from
.strategy_generator
import
FollowingStrategyGenerator
...
...
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