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
Megatron-LM
Commits
a3fbac58
Commit
a3fbac58
authored
Dec 08, 2022
by
MaximumEntropy
Committed by
Jimmy Zhang
Apr 03, 2023
Browse files
Add assert for pp and untie
Signed-off-by:
MaximumEntropy
<
sandeep.subramanian.1@umontreal.ca
>
parent
36c3a1c1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
megatron/arguments.py
megatron/arguments.py
+2
-0
No files found.
megatron/arguments.py
View file @
a3fbac58
...
...
@@ -349,6 +349,7 @@ def validate_args(args, defaults={}):
"Using async gradient all reduce requires setting the environment "
"variable CUDA_DEVICE_MAX_CONNECTIONS to 1"
)
# Load retro args.
if
args
.
retro_workdir
:
retro_args_path
=
get_retro_args_path
(
args
.
retro_workdir
)
...
...
@@ -367,6 +368,7 @@ def validate_args(args, defaults={}):
if
retro_args
and
args
!=
retro_args
:
_print_args
(
"retro arguments"
,
types
.
SimpleNamespace
(
**
{
k
:
v
for
k
,
v
in
vars
(
retro_args
).
items
()
if
k
.
startswith
(
"retro"
)},
rank
=
args
.
rank
))
return
args
...
...
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