From d36dbaed872b2a2350ec95fd65fece730d70b868 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Wed, 5 Mar 2025 03:46:21 -0800 Subject: [PATCH] Update utils.py --- unsloth/kernels/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unsloth/kernels/utils.py b/unsloth/kernels/utils.py index 8da152bcb3..8b66b1769e 100644 --- a/unsloth/kernels/utils.py +++ b/unsloth/kernels/utils.py @@ -438,7 +438,7 @@ def fast_linear_forward(proj, X, temp_lora = None, out = None): elif bsz == 1 and q_len == 1: out = fast_gemv(X, W, W_quant, out = out) else: - W = fast_dequantize(W.t(), W_quant, use_global_buffer = True) + W = fast_dequantize(W.t(), W_quant, use_global_buffer = False) out = torch_matmul(X, W, out = out) pass