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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Update save.py
Daniel Han59ed4fce4ce3
diff --git a/unsloth/save.py b/unsloth/save.pyindex 01887321cfa..640a7ffe14f 100644--- a/unsloth/save.py+++ b/unsloth/save.py@@ -3037,7 +3037,9 @@ 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)@@ -3058,7 +3060,9 @@ 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)