From 2d00f37f69b3e22223fda4742d6bb7ca4a081998 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 17 Dec 2025 11:29:39 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- unsloth/save.py | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/unsloth/save.py b/unsloth/save.py index c5099a5891..24303aba52 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 )