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
TransformerEngine
Commits
67114f9e
Unverified
Commit
67114f9e
authored
Feb 24, 2023
by
Kirthi Shankar Sivamani
Committed by
GitHub
Feb 24, 2023
Browse files
fix bug in non-FP8 nvfuser path (#81)
Signed-off-by:
Kirthi Shankar Sivamani
<
ksivamani@nvidia.com
>
parent
a3ec6a54
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
transformer_engine/pytorch/module.py
transformer_engine/pytorch/module.py
+1
-1
No files found.
transformer_engine/pytorch/module.py
View file @
67114f9e
...
...
@@ -2177,7 +2177,7 @@ class _LayerNormMLP(torch.autograd.Function):
gelu
=
not
bias_gelu_nvfusion
,
)
if
bias_gelu_nvfusion
and
is_grad_enabled
:
if
bias_gelu_nvfusion
:
fc1_out
,
_
,
_
=
fc1_outputs
gelu_out
=
bias_gelu_fused
(
fc1_out
,
fc1_bias
)
else
:
...
...
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