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
f63a8a12
Unverified
Commit
f63a8a12
authored
Aug 08, 2020
by
Nako Sung
Committed by
GitHub
Aug 08, 2020
Browse files
Fix typo
Tiny typo fix : sedd -> seed
parent
46a536cc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
megatron/mpu/random.py
megatron/mpu/random.py
+1
-1
No files found.
megatron/mpu/random.py
View file @
f63a8a12
...
...
@@ -165,7 +165,7 @@ def model_parallel_cuda_manual_seed(seed):
# 2718 is just for fun and any POSITIVE value will work.
offset
=
seed
+
2718
model_parallel_seed
=
offset
+
get_model_parallel_rank
()
# Data parallel gets the original se
d
d.
# Data parallel gets the original se
e
d.
data_parallel_seed
=
seed
if
torch
.
distributed
.
get_rank
()
==
0
:
...
...
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