debugpritn
This commit is contained in:
parent
2cd047e35d
commit
7906dc4c9a
|
@ -368,6 +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:
|
||||
assert False, idx
|
||||
grad_B[:, idx] += torch.matmul(grad_output.t(), subA)
|
||||
|
||||
if req_gradA:
|
||||
|
|
Loading…
Reference in New Issue
Block a user