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
4f7d016d
Unverified
Commit
4f7d016d
authored
Feb 12, 2020
by
eltonzheng
Committed by
GitHub
Feb 12, 2020
Browse files
remove the undefined variable in ckpt testing (#67)
parent
f78ccc06
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
6 deletions
+1
-6
tests/model/Megatron_GPT2/run_checkpoint_test.py
tests/model/Megatron_GPT2/run_checkpoint_test.py
+1
-6
No files found.
tests/model/Megatron_GPT2/run_checkpoint_test.py
View file @
4f7d016d
...
@@ -106,12 +106,7 @@ class GPT2CheckpointTestCase(BaseTestCase):
...
@@ -106,12 +106,7 @@ class GPT2CheckpointTestCase(BaseTestCase):
try
:
try
:
cmd
=
f
"rm -rf
{
checkpoint_name
}
"
cmd
=
f
"rm -rf
{
checkpoint_name
}
"
print
(
f
"
{
self
.
id
()
}
cmd:
{
cmd
}
"
)
print
(
f
"
{
self
.
id
()
}
cmd:
{
cmd
}
"
)
subprocess
.
run
(
cmd
,
subprocess
.
run
(
cmd
,
shell
=
True
,
check
=
False
,
executable
=
'/bin/bash'
)
shell
=
True
,
check
=
False
,
executable
=
'/bin/bash'
,
stdout
=
f
,
stderr
=
f
)
except
:
except
:
print
(
"No old checkpoint"
)
print
(
"No old checkpoint"
)
...
...
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