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
fc1de4ff
Unverified
Commit
fc1de4ff
authored
Jun 08, 2020
by
eltonzheng
Committed by
GitHub
Jun 08, 2020
Browse files
fix transformer kernel preln config (#257)
parent
2312f04b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
deepspeed/pt/deepspeed_cuda.py
deepspeed/pt/deepspeed_cuda.py
+1
-1
No files found.
deepspeed/pt/deepspeed_cuda.py
View file @
fc1de4ff
...
...
@@ -106,7 +106,7 @@ class DeepSpeedTransformerConfig(TransformerConfig):
num_hidden_layers
,
initializer_range
)
self
.
fp16
=
fp16
self
.
pre_layer_norm
=
pre_layer_norm
=
True
self
.
pre_layer_norm
=
pre_layer_norm
self
.
local_rank
=
local_rank
self
.
seed
=
seed
self
.
normalize_invertible
=
normalize_invertible
...
...
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