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 Han722c4ecca63d
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.pyindex a5db30d7c31..f7265cff83e 100644--- a/unsloth/models/rl.py+++ b/unsloth/models/rl.py@@ -245,6 +245,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):extra_args += \"from unsloth_zoo.logging_utils import PatchRLStatistics\n"\f"PatchRLStatistics('{trainer_file}')\n"+ "print(args)\n"# Create RLTrainer argsextra_args = extra_args.split("\n")