pip install intel_extension_for_pytorch==<version_name> -f https://developer.intel.com/ipex-whl-stable-cpu
You can check the latest versions in ipex-whl-stable-cpu if needed.
Check more approaches for IPEX installation.
Usage in Trainer
To enable auto mixed precision with IPEX in Trainer, users should add use_ipex, bf16 and no_cuda in training command arguments.
Take an example of the use cases on Transformers question-answering

Training with IPEX using BF16 auto mixed precision on CPU: