forked from mrq/bitsandbytes-rocm
cast properly
This commit is contained in:
parent
45dc1983e9
commit
577275bd8c
|
@ -294,7 +294,7 @@ class MatMul8bitLt(torch.autograd.Function):
|
|||
(outliers * state.SCB.view(-1, 1) / 127.0)
|
||||
.t()
|
||||
.contiguous()
|
||||
.to(B.dtype)
|
||||
.to(A.dtype)
|
||||
)
|
||||
CA[:, state.idx.long()] = 0
|
||||
CAt[:, state.idx.long()] = 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user