Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Update utils.py

Daniel Han5de84d1ead86
diff --git a/unsloth/kernels/utils.py b/unsloth/kernels/utils.py
index 8da152bcb37..8b66b1769e2 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