π€ Optimum Habana is the interface between the π€ Transformers and π€ Diffusers libraries and Habanaβs Gaudi processor (HPU). It provides a set of tools that enable simple model loading, training and inference on single- and multi-HPU settings for various downstream tasks.
The table below shows which model architectures, tasks and device distributions are currently supported for π€ Optimum Habana:
Text Classification | Question Answering | Language Modeling | Summarization | Translation | Image Classification | Audio Classification | Speech Recognition | Single Card | Multi Card | DeepSpeed | |
---|---|---|---|---|---|---|---|---|---|---|---|
BERT | β | β | β | β | β | β | β | β | β | β | β |
RoBERTa | β | β | β | β | β | β | β | β | β | β | β |
ALBERT | β | β | β | β | β | β | β | β | β | β | β |
DistilBERT | β | β | β | β | β | β | β | β | β | β | β |
GPT2 | β | β | β | β | β | β | β | β | β | β | β |
T5 | β | β | β | β | β | β | β | β | β | β | β |
ViT | β | β | β | β | β | β | β | β | β | β | β |
Swin | β | β | β | β | β | β | β | β | β | β | β |
Wav2Vec2 | β | β | β | β | β | β | β | β | β | β | β |
Stable Diffusion | β | β | β |
Other models and tasks supported by the π€ Transformers library may also work. You can refer to the Quickstart for examples on using them with π€ Optimum Habana. Besides, this page explains how to modify any example from the π€ Transformers library to make it work with π€ Optimum Habana.
Learn the basics and become familiar with training transformers on HPUs with π€ Optimum. Start here if you are using π€ Optimum Habana for the first time!
Practical guides to help you achieve a specific goal. Take a look at these guides to learn how to use π€ Optimum Habana to solve real-world problems.
High-level explanations for building a better understanding about important topics such as HPUs.
Technical descriptions of how the Habana classes and methods of π€ Optimum Habana work.