Optimum Graphcore
π€ Optimum Graphcore is the interface between the π€ Transformers library and Graphcore IPUs. It provides a set of tools enabling model parallelization and loading on IPUs, training and fine-tuning on all the tasks already supported by Transformers while being compatible with the Hugging Face Hub and every model available on it out of the box.
What is an Intelligence Processing Unit (IPU)?
Quote from the Hugging Face blog post:
IPUs are the processors that power Graphcoreβs IPU-POD datacenter compute systems. This new type of processor is designed to support the very specific computational requirements of AI and machine learning. Characteristics such as fine-grained parallelism, low precision arithmetic, and the ability to handle sparsity have been built into our silicon.
Instead of adopting a SIMD/SIMT architecture like GPUs, Graphcoreβs IPU uses a massively parallel, MIMD architecture, with ultra-high bandwidth memory placed adjacent to the processor cores, right on the silicon die.
This design delivers high performance and new levels of efficiency, whether running todayβs most popular models, such as BERT and EfficientNet, or exploring next-generation AI applications.
Supported models
The following model architectures and tasks are currently supported by π€ Optimum Graphcore:
Pre-Training | Masked LM | Causal LM | Seq2Seq LM (Summarization, Translation, etc) | Sequence Classification | Token Classification | Question Answering | Multiple Choice | Image Classification | |
---|---|---|---|---|---|---|---|---|---|
BART | β | β | β | β | β | ||||
BERT | β | β | β | β | β | β | β | ||
ConvNeXt | β | β | |||||||
DeBERTa | β | β | β | β | β | ||||
DistilBERT | β | β | β | β | β | β | |||
GPT-2 | β | β | β | β | |||||
HuBERT | β | β | |||||||
LXMERT | β | β | |||||||
RoBERTa | β | β | β | β | β | β | β | ||
T5 | β | β | |||||||
ViT | β | β | |||||||
Wav2Vec2 | β |