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.

[pre-commit.ci] auto fixes from pre-commit.com hooks

pre-commit-ci[bot]ec0b96012e08
diff --git a/unsloth/save.py b/unsloth/save.py
index c5099a58915..24303aba520 100644
--- a/unsloth/save.py
+++ b/unsloth/save.py
@@ -3055,9 +3055,7 @@ def patch_saving_functions(model, vision = False):
model.save_pretrained_merged = types.MethodType(
unsloth_generic_save_pretrained_merged, model
)
- model.push_to_hub_gguf = types.MethodType(
- unsloth_push_to_hub_gguf, model
- )
+ model.push_to_hub_gguf = types.MethodType(unsloth_push_to_hub_gguf, model)
model.save_pretrained_gguf = types.MethodType(
unsloth_save_pretrained_gguf, model
)
@@ -3078,9 +3076,7 @@ def patch_saving_functions(model, vision = False):
model.save_pretrained_merged = types.MethodType(
unsloth_generic_save_pretrained_merged, model
)
- model.push_to_hub_gguf = types.MethodType(
- unsloth_push_to_hub_gguf, model
- )
+ model.push_to_hub_gguf = types.MethodType(unsloth_push_to_hub_gguf, model)
model.save_pretrained_gguf = types.MethodType(
unsloth_save_pretrained_gguf, model
)