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
e1f1aa06
Commit
e1f1aa06
authored
Apr 04, 2023
by
Mostofa Patwary
Browse files
removed self_attention_pos_emb
parent
5b7736ca
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 @
e1f1aa06
...
@@ -741,7 +741,6 @@ class ParallelTransformerLayer(MegatronModule):
...
@@ -741,7 +741,6 @@ class ParallelTransformerLayer(MegatronModule):
# Layer norm at the beginning of the transformer layer.
# Layer norm at the beginning of the transformer layer.
layernorm_output
=
self
.
input_layernorm
(
hidden_states
)
layernorm_output
=
self
.
input_layernorm
(
hidden_states
)
# Self attention.
# Self attention.
self_attention_pos_emb
=
None
attention_output
,
attention_bias
=
\
attention_output
,
attention_bias
=
\
self
.
self_attention
(
self
.
self_attention
(
layernorm_output
,
layernorm_output
,
...
...
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