Update rms_layernorm.py
This commit is contained in:
parent
a3429d208d
commit
40858e4f76
1 changed files with 2 additions and 2 deletions
|
|
@ -171,8 +171,8 @@ class Fast_RMS_Layernorm(torch.autograd.Function):
|
|||
num_warps = num_warps,
|
||||
)
|
||||
ctx.eps = eps
|
||||
ctx.BLOCK_SIZE = BLOCK_SIZE
|
||||
ctx.num_warps = num_warps
|
||||
ctx.BLOCK_SIZE = 4096
|
||||
ctx.num_warps = 16
|
||||
ctx.GEMMA = gemma
|
||||
ctx.save_for_backward(X, W, r)
|
||||
return Y.view(*shape)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue