Update save.py
This commit is contained in:
parent
85f361a15d
commit
59ed4fce4c
1 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue