[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
35a619aaf5
commit
2d00f37f69
1 changed files with 2 additions and 6 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue