summaryrefslogtreecommitdiff
path: root/bitsandbytes/autograd
diff options
context:
space:
mode:
authorjustheuristic <justheuristic@gmail.com>2022-09-18 00:43:02 +0300
committerjustheuristic <justheuristic@gmail.com>2022-09-18 00:43:02 +0300
commit18f142e268603849d1756df87d35e2f94b5e4853 (patch)
tree79f556b9b473ab5b68fb864193295c729e449073 /bitsandbytes/autograd
parentf6670329fb9b26dc5547cfef6da73bea75c548ca (diff)
addmm_
Diffstat (limited to 'bitsandbytes/autograd')
-rw-r--r--bitsandbytes/autograd/_functions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitsandbytes/autograd/_functions.py b/bitsandbytes/autograd/_functions.py
index 1d0002c..55bedee 100644
--- a/bitsandbytes/autograd/_functions.py
+++ b/bitsandbytes/autograd/_functions.py
@@ -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 += torch.matmul(subA, state.subB)
+ output.addmm_(output, subA, state.subB)
# 5. Save state
ctx.state = state