Optimum documentation

Installation

You are viewing v1.7.3 version. A newer version v1.23.3 is available.
Hugging Face's logo
Join the Hugging Face community

and get access to the augmented documentation experience

to get started

Installation

To install the latest release of 🤗 Optimum Intel with the corresponding required dependencies, you can do respectively:

Accelerator Installation
Intel Neural Compressor (INC) python -m pip install "optimum[neural-compressor]"
Intel OpenVINO python -m pip install "optimum[openvino,nncf]"

We recommend creating a virtual environment and upgrading pip with python -m pip install --upgrade pip.

Optimum Intel is a fast-moving project, and you may want to install from source with the following command:

python -m pip install git+https://github.com/huggingface/optimum-intel.git

or to install from source including dependencies:

python -m pip install "optimum-intel[extras]"@git+https://github.com/huggingface/optimum-intel.git

where extras can be one or more of neural-compressor, openvino, nncf.