Update fast_lora.py
This commit is contained in:
parent
f7760719f0
commit
0a1aa98d3c
1 changed files with 2 additions and 2 deletions
|
|
@ -90,8 +90,8 @@ class LoRA_MLP(torch.autograd.Function):
|
|||
|
||||
e = matmul_lora(X, gateW, gateW_quant, gateA, gateB, gateS)
|
||||
g = matmul_lora(X, upW, upW_quant, upA, upB, upS)
|
||||
# h = torch.nn.functional.silu(e) * g
|
||||
h = swiglu_fg_kernel(e, g)
|
||||
h = torch.nn.functional.silu(e) * g
|
||||
# h = swiglu_fg_kernel(e, g)
|
||||
i = matmul_lora(h, downW, downW_quant, downA, downB, downS)
|
||||
|
||||
ctx.custom_saved_tensors = (
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue