Installation

Installation

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

Accelerator
Installation

pip install --upgrade-strategy eager "optimum[neural-compressor]"

pip install --upgrade-strategy eager "optimum[openvino,nncf]"

The --upgrade-strategy eager option is needed to ensure optimum-intel is upgraded to the latest version.

We recommend creating a virtual environment and upgrading pip with :

Copied

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:

Copied

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

or to install from source including dependencies:

Copied

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

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

Last updated