Update save.py
This commit is contained in:
parent
4c90b5682b
commit
c0c826490d
1 changed files with 2 additions and 0 deletions
|
|
@ -1038,6 +1038,8 @@ def save_to_gguf(
|
|||
error = _run_installer.wait()
|
||||
if IS_CMAKE:
|
||||
# CMAKE needs to do some extra steps
|
||||
print("Unsloth: CMAKE detected. Finalizing some steps for installation.")
|
||||
|
||||
check = os.system("cp llama.cpp/build/bin/llama-* llama.cpp")
|
||||
if check != 0: raise RuntimeError("Failed compiling llama.cpp. Please report this ASAP!")
|
||||
check = os.system("rm -rf llama.cpp/build")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue