Unverified Commit 0dbf6c2a authored by ngimel's avatar ngimel Committed by GitHub
Browse files

use ctx.eps instead of eps

parent d1626ccc
......@@ -22,7 +22,7 @@ class FusedLayerNormAffineFunction(torch.autograd.Function):
weight_ = weight.contiguous()
bias_ = bias.contiguous()
output, mean, invvar = fused_layer_norm_cuda.forward_affine(
input_, ctx.normalized_shape, weight_, bias_, eps)
input_, ctx.normalized_shape, weight_, bias_, ctx.eps)
ctx.save_for_backward(input_, weight_, bias_, mean, invvar)
return output
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment