Skip to content

Commit

Permalink
Update save.py
Browse files Browse the repository at this point in the history
  • Loading branch information
danielhanchen committed Jun 13, 2024
1 parent 0abb5ba commit b24dd05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions unsloth/save.py
Original file line number Diff line number Diff line change
Expand Up @@ -914,6 +914,7 @@ def save_to_gguf(
print("====================================")
print(error)
print(os.path.exists("llama.cpp/quantize"))
raise
print("====================================")
if error != 0 or not os.path.exists("llama.cpp/quantize"):
print(f"Unsloth: llama.cpp error code = {error}.")
Expand Down

0 comments on commit b24dd05

Please sign in to comment.