Update rl.py

This commit is contained in:
Daniel Han 2025-02-13 16:38:21 -08:00
commit 8a5b163fe3

View file

@ -404,7 +404,6 @@ def _patch_trl_rl_trainers(trainer_file = "grpo_trainer"):
imports,
overwrite = True,
)
print("###")
# Patch Trainer
exec(f"trl.{RLTrainer_name} = created_module.Unsloth{RLTrainer_name}", locals(), globals())