Update rl.py
This commit is contained in:
parent
f54803b4c1
commit
b5e132c5c4
1 changed files with 0 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue