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 Han251066289ddb
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.pyindex 48a8b00481e..e5cb226433e 100644--- a/unsloth/models/rl.py+++ b/unsloth/models/rl.py@@ -395,7 +395,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):if trainer_file in RL_METRICS_CHANGES:process_extra_args = RL_METRICS_CHANGES[trainer_file]for process_extra_arg in process_extra_args:- other_metrics_processor += process_extra_arg(call_args, extra_args)+ other_metrics_processor += process_extra_arg(old_RLTrainer_source, old_RLConfig_source)pass# Add statistics as well!