Source: https://www.intel.com/content/www/us/en/developer/tools/oneapi/optimization-for-pytorch.html#gs.2iio4u Arch :https://dgpu-docs.intel.com/driver/installation.html#architecture-overview Select Intel Extension for PyTorch -> XPU/GPU -> installation guide https://intel.github.io/intel-extension-for-pytorch/xpu/latest/ * Sw requirements is important * OS & Intel GPU Drivers (kenrel type: https://dgpu-docs.intel.com/driver/kernel-driver-types.html) * IntelĀ® oneAPI Base Toolkit 2023.1 (https://www.intel.com/content/www/us/en/developer/tools/oneapi/base-toolkit-download.html?operatingsystem=linux&distributions=aptpackagemanager) * Install DPC++ Compiler hotfix (https://registrationcenter-download.intel.com/akdlm/IRC_NAS/89283df8-c667-47b0-b7e1-c4573e37bd3e/2023.1-linux-hotfix.zip) * Python 3.7-3.10 (3.9 suggested) * Verified with GNU GCC 11 Install dgpu driver and becessary user space lib https://dgpu-docs.intel.com/driver/client/overview.html Release: https://dgpu-docs.intel.com/releases/stable_647_8_20230619.html Ubuntu Desktop LTS: * The Intel GPU for Linux software stack for Ubuntu Desktop provides drivers and support for display, compute, media workloads for Client. See Client usage for additional details. | Version | Kernel | Latest Intel release date| | -------- | -------- | -------- | | 22.04.2 | 6.2.8-060208-generic / 5.19.0-35-generic | 2023-04-06 | Check evn setup (Is XPU available: False/True) https://github.com/intel/intel-extension-for-pytorch/raw/master/scripts/collect_env.py Reference: https://github.com/intel/intel-extension-for-pytorch/issues/287