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

Etherll4c3139c06978
diff --git a/unsloth/models/loader.py b/unsloth/models/loader.py
index e4d33e70f64..a5b7d181649 100644
--- a/unsloth/models/loader.py
+++ b/unsloth/models/loader.py
@@ -858,7 +858,7 @@ class FastModel(FastBaseModel):
trust_remote_code = trust_remote_code,
)
# Patch it as well!
- model = FastBaseModel.post_patch_model(model, use_gradient_checkpointing,trust_remote_code = trust_remote_code)
+ model = FastBaseModel.post_patch_model(model, use_gradient_checkpointing, trust_remote_code = trust_remote_code)
pass
return model, tokenizer
pass