Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Before update the tr_loss, make sure tr_loss_step is in the same devi…
…ce. (#1439) * before update the loss from dpo, make sure it's in the same device of tr_loss * Update trl/trainer/dpo_trainer.py Co-authored-by: guy1992l <[email protected]> --------- Co-authored-by: guy1992l <[email protected]>
- Loading branch information