Update fast_lora.py
This commit is contained in:
parent
c1f3e70394
commit
7e3abd19ba
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ def matmul_lora(X, W, W_quant, A, B, s, out = None):
|
|||
reshape = False
|
||||
pass
|
||||
|
||||
A, B = A.t(), B.t()
|
||||
W.addmm_(A.to(dtype), B.to(dtype), alpha = s)
|
||||
|
||||
out = torch.matmul(X, W, out = out)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue