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
caaae992
"git@developer.sourcefind.cn:OpenDAS/torch-cluster.git" did not exist on "e9bc328bfcfa99761cc326e8e6ac4b4b95dc5ba3"
Unverified
Commit
caaae992
authored
Feb 03, 2020
by
Shaden Smith
Committed by
GitHub
Feb 03, 2020
Browse files
Model tests executable fix
parent
e9b097f1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
tests/model/Megatron_GPT2/ds_gpt2_test.sh
tests/model/Megatron_GPT2/ds_gpt2_test.sh
+1
-1
No files found.
tests/model/Megatron_GPT2/ds_gpt2_test.sh
View file @
caaae992
...
@@ -93,7 +93,7 @@ gpt_options=" \
...
@@ -93,7 +93,7 @@ gpt_options=" \
work_dir
=
"../../../DeepSpeedExamples/Megatron-LM/"
work_dir
=
"../../../DeepSpeedExamples/Megatron-LM/"
include_str
=
`
seq
0
$((
$gpus
-
1
))
|
paste
-sd
","
-
`
include_str
=
`
seq
0
$((
$gpus
-
1
))
|
paste
-sd
","
-
`
run_cmd
=
"(cd
${
work_dir
}
&& deepspeed
.pt
-i localhost:
${
include_str
}
pretrain_gpt2.py
${
gpt_options
}
)"
run_cmd
=
"(cd
${
work_dir
}
&& deepspeed -i localhost:
${
include_str
}
pretrain_gpt2.py
${
gpt_options
}
)"
echo
${
run_cmd
}
echo
${
run_cmd
}
eval
${
run_cmd
}
eval
${
run_cmd
}
...
...
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