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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Update utils.py
Daniel Haned45bd9cd3b3
diff --git a/unsloth/kernels/utils.py b/unsloth/kernels/utils.pyindex 7cd51e9ff0a..1d4b494dd73 100644--- a/unsloth/kernels/utils.py+++ b/unsloth/kernels/utils.py@@ -451,7 +451,7 @@ passdef matmul_lora(X, W, W_quant, A, B, s, out = None):dtype = X.dtype- W = fast_dequantize(W.t(), W_quant, use_global_buffer = True)+ W = fast_dequantize(W.t(), W_quant, use_global_buffer = False)if X.dim() == 3:batch, seq_len, d = X.shape@@ -461,6 +461,7 @@ def matmul_lora(X, W, W_quant, A, B, s, out = None):reshape = Falsepass+ print(X.device, W.device, torch.cuda.current_device())out = torch_matmul(X, W, out = out)if W_quant is not None: del W