We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ec49385 commit 9fc1307Copy full SHA for 9fc1307
unsloth/save.py
@@ -889,6 +889,11 @@ def save_to_gguf(
889
# "undergoing some major bug fixes as at 5th of May 2024. This is not an Unsloth issue.\n"\
890
# "Please be patient - GGUF saving should still work, but might not work as well."
891
# )
892
+
893
+ # Fixes this issue
894
+ # https://github.com/unslothai/unsloth/issues/1266
895
+ os.environ["PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION"] = 'python'
896
897
assert(model_dtype == "float16" or model_dtype == "bfloat16")
898
model_dtype = "f16" if model_dtype == "float16" else "bf16"
899
0 commit comments