Skip to content

Commit d8d157f

Browse files
authored
Fix CPU dequantization to use nested dequantized scaling constant (#1549)
1 parent b8223fe commit d8d157f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitsandbytes/functional.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1049,7 +1049,7 @@ def dequantize_blockwise(
10491049
lib.cdequantize_blockwise_cpu_fp32(
10501050
get_ptr(code),
10511051
get_ptr(A),
1052-
get_ptr(quant_state.absmax),
1052+
get_ptr(absmax),
10531053
get_ptr(out),
10541054
ct.c_longlong(quant_state.blocksize),
10551055
ct.c_longlong(A.numel()),

0 commit comments

Comments
 (0)