diff options
author | justheuristic <justheuristic@gmail.com> | 2022-09-18 00:24:59 +0300 |
---|---|---|
committer | justheuristic <justheuristic@gmail.com> | 2022-09-18 00:24:59 +0300 |
commit | a214824f930e26580304192c5cb8c4242c7889c5 (patch) | |
tree | 6a923701d4b18fedbcd1820549e68017a16ca1ee /bitsandbytes/autograd | |
parent | 14048a3c16bf3e60754b4218ec40a01e6a7f213c (diff) |
matmul -1- addmm
Diffstat (limited to 'bitsandbytes/autograd')
-rw-r--r-- | bitsandbytes/autograd/_functions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitsandbytes/autograd/_functions.py b/bitsandbytes/autograd/_functions.py index 6a225b7..91eec4a 100644 --- a/bitsandbytes/autograd/_functions.py +++ b/bitsandbytes/autograd/_functions.py @@ -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 |