forked from mrq/bitsandbytes-rocm
bug fix
This commit is contained in:
parent
4dd475ced4
commit
e2a75769f2
|
@ -388,7 +388,7 @@ class MatMul8bitLt(torch.autograd.Function):
|
|||
grad_bias = grad_output.sum(0)
|
||||
|
||||
# Cast grad_A back to grad_output_dtype
|
||||
grad_output.to(grad_output_dtype)
|
||||
grad_output = grad_output.to(grad_output_dtype)
|
||||
|
||||
return grad_A, grad_B, None, grad_bias, None
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user