matmul -1- addmm

This commit is contained in:
justheuristic 2022-09-18 00:24:59 +03:00
parent 14048a3c16
commit a214824f93

View File

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