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
fixed parameters (finetune language, vision, attention layers, and mlp_modules) not updating
sshah22930c75e6d41ec
diff --git a/cli/config.py b/cli/config.pyindex 42169019ed1..b6bc8dc999c 100644--- a/cli/config.py+++ b/cli/config.py@@ -77,9 +77,11 @@ class Config(BaseModel):"""Return kwargs for trainer.prepare_model_for_training()."""# Determine target modules based on model typeif use_lora and is_vision:- target_modules = "all-linear" if self.lora.vision_all_linear else []+ # Vision models expect a string (e.g., "all-linear"); fall back to None to use trainer defaults+ target_modules = "all-linear" if self.lora.vision_all_linear else Noneelse:- target_modules = [m.strip() for m in self.lora.target_modules.split(",") if m.strip()]+ parsed = [m.strip() for m in str(self.lora.target_modules).split(",") if m and m.strip()]+ target_modules = parsed or Nonereturn {"use_lora": use_lora,