Skip to content

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.

Update rl.py

Daniel Hanfd48c77ff776
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py
index 3e1b6993f8b..d91a6680d4b 100644
--- a/unsloth/models/rl.py
+++ b/unsloth/models/rl.py
@@ -288,7 +288,7 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):
if trainer_file in RL_EXTRA_ARGS:
process_extra_args = RL_EXTRA_ARGS[trainer_file]
for process_extra_arg in process_extra_args:
- extra_args += process_extra_args(call_args, extra_args)
+ extra_args += process_extra_arg(call_args, extra_args)
pass
# Create RLTrainer args