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
cbe9a4cb
Commit
cbe9a4cb
authored
Oct 18, 2022
by
Ziheng Qin
Committed by
Frank Lee
Oct 19, 2022
Browse files
[NFC] polish tests/test_layers/test_3d/test_3d.py code style (#1740)
parent
912eb58e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
0 deletions
+1
-0
tests/test_layers/test_3d/test_3d.py
tests/test_layers/test_3d/test_3d.py
+1
-0
No files found.
tests/test_layers/test_3d/test_3d.py
View file @
cbe9a4cb
...
@@ -38,6 +38,7 @@ def check_layer():
...
@@ -38,6 +38,7 @@ def check_layer():
check_loss
()
check_loss
()
check_vocab_parallel_loss
()
check_vocab_parallel_loss
()
def
check_layer_and_operation
(
rank
,
world_size
,
port
):
def
check_layer_and_operation
(
rank
,
world_size
,
port
):
disable_existing_loggers
()
disable_existing_loggers
()
launch
(
config
=
CONFIG
,
rank
=
rank
,
world_size
=
world_size
,
host
=
'localhost'
,
port
=
port
,
backend
=
'nccl'
)
launch
(
config
=
CONFIG
,
rank
=
rank
,
world_size
=
world_size
,
host
=
'localhost'
,
port
=
port
,
backend
=
'nccl'
)
...
...
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