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.
Python agentaichatgptdeepseekfine-tuninggemmaimage-generationllamallmllmsopenaipythonqwenreinforcement-learningself-hostedstable-diffusiontext-to-speechttsuiunsloth
Update save.py
Daniel Hanbe4b5996d7d8
diff --git a/unsloth/save.py b/unsloth/save.pyindex 5fa2df7b185..c5099a58915 100644--- a/unsloth/save.py+++ b/unsloth/save.py@@ -2817,7 +2817,10 @@ def _unsloth_save_torchao_with_given_config()from torchao import quantize_- quantization_config = TorchAoConfig(quant_type = torchao_config)+ if isinstance(torchao_config, TorchAoConfig):+ quantization_config = torchao_config+ else:+ quantization_config = TorchAoConfig(quant_type = torchao_config)# Determine if this is a VLMis_vlm = False