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 loader.py

Daniel Hand6f27f30843b
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py
index 993f50455cd..4274389a99b 100644
--- a/unsloth/models/loader.py
+++ b/unsloth/models/loader.py
@@ -467,7 +467,7 @@ class FastVisionModel(FastBaseVisionModel):
compile_torch_modules = True,
compile_custom_modules = True,
compile_function_calls = True,
- fuse_lm_head = True,
+ fuse_lm_head = False,
gradient_checkpointing = True,
manual_replacements = True,
fast_lora_forwards = True,