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
ac0d30fe
Unverified
Commit
ac0d30fe
authored
Jan 06, 2023
by
ExtremeViscent
Committed by
GitHub
Jan 06, 2023
Browse files
[NFC] polish batch_norm_handler.py code style (#2359)
parent
e11a005c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
colossalai/auto_parallel/tensor_shard/deprecated/op_handler/batch_norm_handler.py
.../tensor_shard/deprecated/op_handler/batch_norm_handler.py
+8
-8
No files found.
colossalai/auto_parallel/tensor_shard/deprecated/op_handler/batch_norm_handler.py
View file @
ac0d30fe
...
@@ -2,9 +2,9 @@ import operator
...
@@ -2,9 +2,9 @@ import operator
from
functools
import
reduce
from
functools
import
reduce
import
torch
import
torch
from
colossalai.auto_parallel.tensor_shard.deprecated._utils
import
\
ignore_sharding_exception
from
colossalai.auto_parallel.tensor_shard.deprecated._utils
import
ignore_sharding_exception
from
colossalai.auto_parallel.tensor_shard.deprecated.sharding_strategy
import
(
ShardingStrategy
,
StrategiesVector
)
from
colossalai.auto_parallel.tensor_shard.deprecated.sharding_strategy
import
ShardingStrategy
,
StrategiesVector
from
.operator_handler
import
OperatorHandler
from
.operator_handler
import
OperatorHandler
...
...
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