trlx icon indicating copy to clipboard operation
trlx copied to clipboard

TPU Integration

Open steventk-g opened this issue 2 years ago • 3 comments

🚀 The feature, motivation, and pitch

trlX uses HuggingFace accelerate under the hood. Accelerate has the capability to leverage Google's TPUs for faster training. I'm interested in supporting trlX on TPUs. This can be user configurable using the TPU fields in the accelerate config.

Alternatives

No response

Additional context

I'm a SWE on the PyTorch/XLA team at Google, and I work with HF to test and support their libraries on TPU. I would be happy to help test and develop this feature as well.

steventk-g avatar Feb 21 '23 20:02 steventk-g

@reciprocated feel free to assign this me, just wanted to put it on your radar.

steventk-g avatar Feb 21 '23 20:02 steventk-g

does it support tpu?

joytianya avatar May 04 '23 09:05 joytianya

Any progress on TPU? Thanks for information.

leejason avatar May 10 '23 04:05 leejason