Skip to content

Commit f61d22c

Browse files
ko3n1gericharper
authored andcommitted
ADLR/megatron-lm!1993 - fix: GeLUFunction
1 parent 50b073c commit f61d22c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

megatron/core/fusions/fused_bias_gelu.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ def backward(ctx, grad_output):
4949
# This is required to make Sphinx happy :-(
5050
@classmethod
5151
def apply(cls, *args, **kwargs):
52-
super().apply(*args, **kwargs)
52+
return super().apply(*args, **kwargs)
5353

5454

5555
bias_gelu_impl = GeLUFunction.apply

0 commit comments

Comments
 (0)