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
fixing gguf export for gemma with text
Manan175ca623a16603
diff --git a/studio/backend/core/training/trainer.py b/studio/backend/core/training/trainer.pyindex 2e37cad189c..1f2fedeb7c8 100644--- a/studio/backend/core/training/trainer.py+++ b/studio/backend/core/training/trainer.py@@ -2564,6 +2564,10 @@ class UnslothTrainer:if eval_dataset is not None:trainer_kwargs["eval_dataset"] = eval_datasetself.trainer = SFTTrainer(**trainer_kwargs)+ # Restore the full processor as processing_class so checkpoint+ # saves include preprocessor_config.json (needed for GGUF export).+ if sft_tokenizer is not self.tokenizer:+ self.trainer.processing_class = self.tokenizerprint("Trainer initialized\n")# ========== TRAIN ON RESPONSES ONLY ==========