You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Issue in saving GGUF format for finetuned unsloth/DeepSeek-R1-Distill-Qwen-1.5B #1903
Last week, I successfully finetuned and saved my model without any issues. However, after updating my libraries today, I am encountering the following error when trying to save the model:
FileNotFoundError: File not found: finetuned_models/deekseek_distill_qwen/tokenizer.model
changed the title [-]Issue in saving finetuned unsloth/DeepSeek-R1-Distill-Qwen-1.5B[/-][+]Issue in saving GGUF format for finetuned unsloth/DeepSeek-R1-Distill-Qwen-1.5B[/+]on Mar 6, 2025
For vision/multimodal models, use tokenizer=processor
3- You can pass it one or several quant methods (as a list):
quantization_method = "q8_0"
or
quantization_method = ["q8_0", "q4_k_m"]
We support all the quants mentioned in this page except the iq variants.
4- If the model is supported by Ollama, it will now also automatically create a Modelfile for you that you can use to create your model in ollama using:
ollama create model_name -f ./Modelfile
5- Use push_to_hub_gguf if you want to convert to gguf and push to Huggingface Hub instead.
6- Should work for all models supported by unsloth and ollama.
7- It now fully supports linux debian and RPM variants. We are still testing windows (if someone has a windows machine and is on our discord channel ping me to help debug)
This should now work.
Let me know how it goes for you.
Activity
[-]Issue in saving finetuned unsloth/DeepSeek-R1-Distill-Qwen-1.5B[/-][+]Issue in saving GGUF format for finetuned unsloth/DeepSeek-R1-Distill-Qwen-1.5B[/+]rolandtannous commentedon May 10, 2025
if you update to the latest unsloth-zoo and unsloth using
and
do you still get the same problem?
if resolved, please be kind to mark this issue as closed/completed
Thank you
rolandtannous commentedon Oct 15, 2025
@jaswanth-13
We just pushed a major fix for llamacpp integration.
1- Please make sure to update your local install of unsloth
If you're using a notebook on kaggle or colab, it should pull the latest version automatically.
2- You can now use
save_pretrained_ggufto quantize and save to GGUF format:For vision/multimodal models, use
tokenizer=processor3- You can pass it one or several quant methods (as a list):
or
We support all the quants mentioned in this page except the iq variants.
4- If the model is supported by Ollama, it will now also automatically create a
Modelfilefor you that you can use to create your model in ollama using:5- Use
push_to_hub_ggufif you want to convert to gguf and push to Huggingface Hub instead.6- Should work for all models supported by unsloth and ollama.
7- It now fully supports linux debian and RPM variants. We are still testing windows (if someone has a windows machine and is on our discord channel ping me to help debug)
This should now work.
Let me know how it goes for you.
Thanks!
rolandtannous commentedon Oct 23, 2025
Will be closing this for now as the issue has been resolved. Please make sure to follow the instructions given in my last response.
Meanwhile , please feel free to respond if you're still having any issues.
Thank you