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 rl.py
Daniel Hana142182cc9dd
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.pyindex 8dcd855d0b8..fb144603768 100644--- a/unsloth/models/rl.py+++ b/unsloth/models/rl.py@@ -417,7 +417,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):# Get all pre-modulesif RLTrainer_name in RL_PRE_ITEMS:- RL_pre = "\n".join(RL_PRE_ITEMS)+ RL_pre = "\n".join(RL_PRE_ITEMS[RLTrainer_name])else:RL_pre = ""pass