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
384cd263
Unverified
Commit
384cd263
authored
Nov 30, 2022
by
HELSON
Committed by
GitHub
Nov 30, 2022
Browse files
[zero] fix testing parameters (#2042)
parent
17a3c685
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/test_gemini/update/test_optim.py
tests/test_gemini/update/test_optim.py
+1
-1
No files found.
tests/test_gemini/update/test_optim.py
View file @
384cd263
...
...
@@ -44,7 +44,7 @@ TEST_MODELS = ['gpt2', 'bert']
EXAMPLE_MODELS
=
[
'simple_net'
]
@
parameterize
(
'placement_policy'
,
[
'cuda'
])
@
parameterize
(
'placement_policy'
,
[
'cuda'
,
'cpu'
,
'auto'
,
'const'
])
@
parameterize
(
'model_name'
,
TEST_MODELS
)
def
exam_model_step
(
placement_policy
,
model_name
:
str
):
set_seed
(
42
)
...
...
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