Skip to content

Local UI to run and train LLMs and diffusion models. Supports GGUF, MLX, Qwen3.8, DeepSeek-V4.1, MiniMax-H3, Gemma 4, FLUX and more.

Update save.py

Daniel Han933cfe1ccfc2
diff --git a/unsloth/save.py b/unsloth/save.py
index 12026142326..f7098aea127 100644
--- a/unsloth/save.py
+++ b/unsloth/save.py
@@ -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")