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 Hanc2917b06c7fe
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.pyindex 1b2f348541d..74688978586 100644--- a/unsloth/models/rl.py+++ b/unsloth/models/rl.py@@ -429,6 +429,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):# Get all pre-modulesif trainer_file in RL_PRE_ITEMS:RL_pre = "\n".join(RL_PRE_ITEMS[trainer_file])+ print(RL_pre)else:RL_pre = ""pass