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 Han0387f997f7cf
diff --git a/unsloth/kernels/utils.py b/unsloth/kernels/utils.py
index 7a69274719b..fc45a2b4ba8 100644
--- a/unsloth/kernels/utils.py
+++ b/unsloth/kernels/utils.py
@@ -158,7 +158,6 @@ 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