Intel
Optimum Intel is the interface between the 🤗 Transformers and Diffusers libraries and the different tools and libraries provided by Intel to accelerate end-to-end pipelines on Intel architectures.
Intel® Extension for Transformers (ITREX) is an innovative toolkit designed to accelerate GenAI/LLM everywhere with the optimal performance of Transformer-based models on various Intel platforms, including Intel Gaudi2, Intel CPU, and Intel GPU.
This page covers how to use optimum-intel and ITREX with LangChain.
Optimum-intel
All functionality related to the optimum-intel and IPEX.
Installation
Install using optimum-intel and ipex using:
pip install optimum[neural-compressor]
pip install intel_extension_for_pytorch
Please follow the installation instructions as specified below: