You are viewing v1.7.3 version.
A newer version
v1.23.3 is available.
Overview
🤗 Optimum handles the export of PyTorch or TensorFlow models to ONNX in the exporters.onnx
module. It provides classes, functions, and a command line interface to perform the export easily.
Supported architectures:
- AST
- Audio Spectrogram Transformer
- Albert
- Bart
- Beit
- Bert
- BlenderBot
- BlenderBotSmall
- Bloom
- Camembert
- CLIP
- CodeGen
- ConvBert
- ConvNext
- Data2VecAudio
- Data2VecText
- Data2VecVision
- Deberta
- Deberta-v2
- Deit
- Detr
- DistilBert
- Donut-Swin
- Electra
- Flaubert
- GPT-2
- GPT-J
- GPT-Neo
- GPT-NeoX
- OPT
- GroupVit
- Hubert
- IBert
- LayoutLM
- LayoutLM-v3
- Levit
- LongT5
- M2-M100
- Marian
- MBart
- MobileBert
- MobileVit
- MobileNet v1
- MobileNet v2
- MPNet
- MT5
- Nystromformer
- Pegasus
- Perceiver
- PoolFormer
- RegNet
- ResNet
- Roberta
- Roformer
- Segformer
- SEW
- SEW-D
- Speech2Text
- Splinter
- SqueezeBert
- Stable Diffusion
- Swin
- T5
- TROCR
- UniSpeech
- UniSpeech SAT
- Vit
- Wav2Vec2
- Wav2Vec2 Conformer
- WavLM
- Whisper
- XLM
- XLM-Roberta
- Yolos