From b5e132c5c40117efaa008df937570e1f3570ff40 Mon Sep 17 00:00:00 2001 From: Daniel Han Date: Thu, 6 Feb 2025 01:12:33 -0800 Subject: [PATCH] Update rl.py --- unsloth/models/rl.py | 1 - 1 file changed, 1 deletion(-) diff --git a/unsloth/models/rl.py b/unsloth/models/rl.py index 1f33d46e6d..071818a7ae 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