forked from mrq/bitsandbytes-rocm
debug
This commit is contained in:
parent
4b4a9effd1
commit
4da2227fcb
|
@ -370,6 +370,8 @@ class MatMul8bitLt(torch.autograd.Function):
|
||||||
if state.threshold > 0.0 and subA is not None:
|
if state.threshold > 0.0 and subA is not None:
|
||||||
grad_B[:, idx] += torch.matmul(grad_output.t(), subA)
|
grad_B[:, idx] += torch.matmul(grad_output.t(), subA)
|
||||||
|
|
||||||
|
raise NotImplementedError("!!")
|
||||||
|
|
||||||
if req_gradA:
|
if req_gradA:
|
||||||
if state.CBt is not None:
|
if state.CBt is not None:
|
||||||
C32grad, Sgrad = F.transform(Cgrad, "col32")
|
C32grad, Sgrad = F.transform(Cgrad, "col32")
|
||||||
|
|
Loading…
Reference in New Issue
Block a user