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
c9c69c1e
Commit
c9c69c1e
authored
May 06, 2020
by
mohammad
Browse files
addressed jareds comment
parent
fe1ea898
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
megatron/model/transformer.py
megatron/model/transformer.py
+0
-1
No files found.
megatron/model/transformer.py
View file @
c9c69c1e
...
...
@@ -368,7 +368,6 @@ class ParallelTransformer(MegatronModule):
assert
self
.
num_layers
%
self
.
num_unique_layers
==
0
,
\
'number of layers should be divisible by number of unique layers'
self
.
param_sharing_style
=
args
.
param_sharing_style
assert
self
.
param_sharing_style
in
[
'grouped'
,
'spaced'
]
# Transformer layers.
def
build_layer
(
layer_number
):
...
...
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