oneapi-src/level-zero

libze_loader.so.1: cannot open shared object file: no such file or directory

zkvii opened this issue · 7 comments

zkvii commented

when following official intel_extension_for_pytorch xpu install tutorial, I came out with

libze_loader.so.1: cannot open shared object file: no such file or directory

my env is as follows

  • wsl2-ubuntu22.04
  • arc driver 4952
  • python 3.8.11
  • torch==2.0.1a0 torchvision==0.15.2a0 intel_extension_for_pytorch==2.0.110+xpu
  • oneapi-basekit 2023.2.0

finally I found install old version leverl-zero v1.13.5 could solve the problem.
Posted for those who find it useful.

eero-t commented

Which version of level-zero package has this issue, and where it was installed from (see #128)?

zkvii commented

Which version of level-zero package has this issue, and where it was installed from (see #128)?

Using v1.13.5 can solve this error, but the updated versions probably won't work.
In fact, I didn't know which version caused this issue. I simply installed the 2023 version of one-basekit, and when using XPU for hardware acceleration, this error occurred. It suggested it might be related to the Level-Zero package. So, I installed the latest Level-Zero, which is currently v1.15.1. However, the error persisted. Then, I tried installing an older version and found that installing v1.13.5 resolved the issue. I hope my answer helps you.

eero-t commented

So, I installed the latest Level-Zero, which is currently v1.15.1. However, the error persisted.

Where you installed it from?

eero-t commented

@zkvii In case you were installing *.deb packages from the release notes: https://github.com/oneapi-src/level-zero/releases/tag/v1.15.1

File paths in those are now fixed (see #128).

zkvii commented

So, I installed the latest Level-Zero, which is currently v1.15.1. However, the error persisted.

Where you installed it from?

yep, the deb file's install path is strange as #128