Single-HPU Training

Training on a single device is as simple as in Transformers:

You can find several examples in the official repository for the following tasks:

To go further, we invite you to read our guides about accelerating training and pretraining.