diff options
author | justheuristic <justheuristic@gmail.com> | 2022-09-18 00:47:58 +0300 |
---|---|---|
committer | justheuristic <justheuristic@gmail.com> | 2022-09-18 00:47:58 +0300 |
commit | 579b8c782f5240d589ca65ef950054734db97ae1 (patch) | |
tree | 039370df1810571028c22a2da69dc4c4e4fa3dc9 | |
parent | 76ece2c126b5255fe973615adf986c4331f521ff (diff) |
reduce diff
-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 1d0002c..6674a82 100644 --- a/bitsandbytes/autograd/_functions.py +++ b/bitsandbytes/autograd/_functions.py @@ -368,7 +368,7 @@ class MatMul8bitLt(torch.autograd.Function): gradB32, SgradB32 = F.igemmlt(C32grad, CxAt, Sgrad, SAt) grad_B = F.mm_dequant(gradB32, SgradB32, SCgradt, SCAt).to(ctx.dtype_B) if state.threshold > 0.0 and subA is not None: - grad_B[:, idx] += torch.mm(grad_output.t(), subA) + grad_B[:, idx] += torch.matmul(grad_output.t(), subA) if req_gradA: if state.CBt is not None: |