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
deepspeed
Commits
9a5717e3
Commit
9a5717e3
authored
Feb 03, 2020
by
Shaden Smith
Browse files
Update model examples path.
parent
98f5131b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
9 deletions
+1
-9
tests/model/run_sanity_check.py
tests/model/run_sanity_check.py
+1
-9
No files found.
tests/model/run_sanity_check.py
View file @
9a5717e3
...
...
@@ -6,17 +6,12 @@
import
sys
import
unittest
sys
.
path
.
append
(
'../examples/Megatron_GPT2'
)
sys
.
path
.
append
(
'../examples/BingBertSquad'
)
sys
.
path
.
append
(
'../examples/QANet-Pytorch'
)
sys
.
path
.
append
(
'../examples/bing_bert'
)
sys
.
path
.
append
(
'../DeepSpeedExamples/Megatron_GPT2'
)
import
os
# Import the test cases here.
import
Megatron_GPT2
import
BingBertSquad
import
bing_bert
def
pytest_hack
(
runner_result
):
...
...
@@ -38,9 +33,6 @@ def test_run():
# Add test suites here.
pytest_hack
(
runner
.
run
(
Megatron_GPT2
.
suite
()))
pytest_hack
(
runner
.
run
(
Megatron_GPT2
.
checkpoint_suite
()))
#pytest_hack(runner.run(BingBertSquad.suite()))
#pytest_hack(runner.run(bing_bert.checkpoint_suite()))
#pytest_hack(runner.run(bing_bert.pretrain_suite()))
if
__name__
==
'__main__'
:
...
...
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