Optimum documentation

Overview

You are viewing main version, which requires installation from source. If you'd like regular pip install, checkout the latest stable version (v1.23.3).
Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Overview

🤗 Optimum handles the export of PyTorch to ExecuTorch in the exporters.executorch module. It provides classes, functions, and a command line interface to perform the export easily.

Supported architectures from 🤗 Transformers:

  • Gemma
  • Gemma2
  • Llama2
  • Llama3(Llama3.2)
  • OLMo
  • Qwen2(Qwen2.5)

There are many more models are supported by ExecuTorch, we will add those models to Optimum over time. Read more at pytorch/executorch/examples/

< > Update on GitHub