From 85875a5debc8aa72682cac37da98d9a1baaa0c24 Mon Sep 17 00:00:00 2001 From: Daniel Han-Chen Date: Tue, 19 Mar 2024 03:44:18 +1100 Subject: [PATCH] Update save.py --- unsloth/save.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/unsloth/save.py b/unsloth/save.py index 0dfd9ce87f..e92817797e 100644 --- a/unsloth/save.py +++ b/unsloth/save.py @@ -1219,6 +1219,7 @@ def unsloth_save_pretrained_gguf( python_install.wait() install_llama_cpp_blocking(use_cuda = False) new_save_directory, old_username = unsloth_save_model(**arguments) + makefile = None else: git_clone = install_llama_cpp_clone_non_blocking() python_install = install_python_non_blocking(["gguf", "protobuf"]) @@ -1239,6 +1240,7 @@ def unsloth_save_pretrained_gguf( python_install.wait() install_llama_cpp_blocking(use_cuda = False) new_save_directory, old_username = unsloth_save_model(**arguments) + makefile = None else: git_clone = install_llama_cpp_clone_non_blocking() python_install = install_python_non_blocking(["gguf", "protobuf"]) @@ -1337,6 +1339,7 @@ def unsloth_push_to_hub_gguf( python_install.wait() install_llama_cpp_blocking(use_cuda = False) new_save_directory, old_username = unsloth_save_model(**arguments) + makefile = None else: git_clone = install_llama_cpp_clone_non_blocking() python_install = install_python_non_blocking(["gguf", "protobuf"]) @@ -1357,6 +1360,7 @@ def unsloth_push_to_hub_gguf( python_install.wait() install_llama_cpp_blocking(use_cuda = False) new_save_directory, old_username = unsloth_save_model(**arguments) + makefile = None else: git_clone = install_llama_cpp_clone_non_blocking() python_install = install_python_non_blocking(["gguf", "protobuf"])