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 Han0b69bf34ccdf
diff --git a/unsloth/kernels/utils.py b/unsloth/kernels/utils.py
index 4439a47f237..7cd51e9ff0a 100644
--- a/unsloth/kernels/utils.py
+++ b/unsloth/kernels/utils.py
@@ -139,6 +139,7 @@ pass
if HAS_CUDA_STREAM:
@torch.inference_mode
def fast_dequantize(W, quant_state = None, out = None, use_global_buffer = False):
+ use_global_buffer = False
if quant_state is None: return W
if type(quant_state) is not list:
# New quant_state as a class