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 Han10d65ea4375d
diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py
index 1f33d46e6d6..071818a7ae0 100644
--- a/unsloth/models/rl.py
+++ b/unsloth/models/rl.py
@@ -377,7 +377,6 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):
# Patch all functions
for function in changed:
exec(changed[function], locals(), globals())
- print(changed[function])
exec(f"trl.trainer.{trainer_file}.{RLTrainer_name}.{function} = _unsloth_{function}", locals(), globals())
pass
pass