cast to half before double_quant

This commit is contained in:
justheuristic 2022-09-17 23:10:21 +03:00
parent 469d5a631d
commit a9c7953e0a

View File

@ -354,7 +354,7 @@ def test_matmullt(
state.SCB,
SCBt,
coo_tensorB,
) = bnb.functional.double_quant(B2)
) = bnb.functional.double_quant(B2.half())
B2 = state.CB
if not transpose[0] and transpose[1]: