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
RuntimeError: Unsloth: Quantization failed for ./model/unsloth.F16.gguf
You are in a Kaggle environment, which might be the reason this is failing.
Kaggle only provides 20GB of disk space. Merging to 16bit for 7b models use 16GB of space.
This means using model.{save_pretrained/push_to_hub}_merged works, but
`model.{save_pretrained/push_to_hub}_gguf will use too much disk space.
I suggest you to save the 16bit model first, then use manual llama.cpp conversion.
changed the title [-]RuntimeError: Unsloth: Quantization failed for ./model/unsloth.F16.gguf You are in a Kaggle environment, which might be the reason this is failing. Kaggle only provides 20GB of disk space. Merging to 16bit for 7b models use 16GB of space. This means using `model.{save_pretrained/push_to_hub}_merged` works, but `model.{save_pretrained/push_to_hub}_gguf will use too much disk space. I suggest you to save the 16bit model first, then use manual llama.cpp conversion.[/-][+]RuntimeError: Unsloth: Quantization failed[/+]on Jul 31, 2024
It's not the Kaggle issue - it just detects you do not have enough disk space to save the 16bit model. But weirdly it also means you have some kaggle keys in the environment vars ie IS_KAGGLE_ENVIRONMENT = "KAGGLE_" in keynames
Activity
danielhanchen commentedon Jul 30, 2024
Oh weird my environment variable checking says you're in a Kaggle env - but anyways it just means you don't have enough disk space
danielhanchen commentedon Jul 30, 2024
Best to save the LoRA adapters, and convert on a larger disk space
kolomichyk commentedon Jul 30, 2024
[-]RuntimeError: Unsloth: Quantization failed for ./model/unsloth.F16.gguf You are in a Kaggle environment, which might be the reason this is failing. Kaggle only provides 20GB of disk space. Merging to 16bit for 7b models use 16GB of space. This means using `model.{save_pretrained/push_to_hub}_merged` works, but `model.{save_pretrained/push_to_hub}_gguf will use too much disk space. I suggest you to save the 16bit model first, then use manual llama.cpp conversion.[/-][+]RuntimeError: Unsloth: Quantization failed[/+]danielhanchen commentedon Jul 31, 2024
It's not the Kaggle issue - it just detects you do not have enough disk space to save the 16bit model. But weirdly it also means you have some kaggle keys in the environment vars ie
IS_KAGGLE_ENVIRONMENT = "KAGGLE_" in keynamesrolandtannous 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
Honour save_method on the no-modules path and gate the inner Kaggle m…
Report the real cause when a save or GGUF export fails (#7861)