intel-extension-for-pytorch: ImportError: libmkl_gnu_thread.so.2: cannot open shared object file: No such file or directory

I have this : ImportError: libmkl_gnu_thread.so.2: cannot open shared object file: No such file or directory System :

  • Asus ZenBook UX325EA Windows 11
  • WSL2 Ubuntu 22.04 Jammy
  • Python 3.10.6
  • IPEX 1.13.10+xpu
  • PyTorch 1.13.1
  • Intel i7 11th / Intel Iris Xe graphics

About this issue

  • Original URL
  • State: closed
  • Created a year ago
  • Comments: 40 (20 by maintainers)

Most upvoted comments

The problem itself is not related to iGPU, but the software stack installed. This import error is a pure software issue. But as Sanchit said, iGPU is out of our support scope. There are very limited supports that we can provide after fixing this importing error at this moment.

Please install all pytorch, torchvision and ipex with the command below. python -m pip install torch==1.13.0a0 torchvision==0.14.1a0 intel_extension_for_pytorch==1.13.10+xpu -f https://developer.intel.com/ipex-whl-stable-xpu

It looks like you installed torch==1.13.1.