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 _utils.py
Daniel Han516f7716975a
diff --git a/unsloth/models/_utils.py b/unsloth/models/_utils.pyindex 6728044c8e5..93575a043d2 100644--- a/unsloth/models/_utils.py+++ b/unsloth/models/_utils.py@@ -1726,7 +1726,7 @@ def _prepare_model_for_qat(model: torch.nn.Module, qat_scheme: Union[str, TorchAinner_model = modelwhile hasattr(inner_model, "model"):inner_model._torchao_config = torchao_config- inner_model = model.model+ inner_model = inner_model.modelinner_model._torchao_config = torchao_config# Quantize with TorchAOquantize_(model, QATConfig(base_config, step = "prepare"), filter_fn = filter_fn)