mirror of
https://github.com/huggingface/trl.git
synced 2025-10-20 18:43:52 +08:00
Integrate OrpoTrainer with PyTorchXLA for faster step time on TPUs (#2001)
* make Orpotrainer run faster on tpu * less data transfer * train-trl.py * fix * set device_map=auto * add is_torch_xla_available guards * delete file * address comments * make presubmit * Update transformer version in setup.py --------- Co-authored-by: Quentin Gallouédec <45557362+qgallouedec@users.noreply.github.com> Co-authored-by: lewtun <lewis.c.tunstall@gmail.com>
This commit is contained in:
Reference in New Issue
Block a user