trl icon indicating copy to clipboard operation
trl copied to clipboard

Move `masked_mean`, `masked_var` and `masked_whiten` to `ppo.py`

Open qgallouedec opened this issue 1 year ago • 1 comments

These functions are now only used in PPO, so we should move them there. I'd would either have no notice, or only a 1 version notice ("this functions are now in trl.trainer.ppo_trainer, please import it from there").

There are probably other function that are only used in PPO, in such case, they should also be moved to ppo.py

qgallouedec avatar Oct 30 '25 15:10 qgallouedec

Hi, I really want to work on this

Harras3 avatar Nov 03 '25 06:11 Harras3