This commit is contained in:
justheuristic 2022-09-18 00:43:56 +03:00
parent 18f142e268
commit 76ece2c126

View File

@ -318,7 +318,7 @@ class MatMul8bitLt(torch.autograd.Function):
# 4. Mixed-precision decomposition matmul
if coo_tensorA is not None and subA is not None:
output.addmm_(output, subA, state.subB)
output += torch.matmul(subA, state.subB)
# 5. Save state
ctx.state = state