level-zero icon indicating copy to clipboard operation
level-zero copied to clipboard

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

Open zkvii opened this issue 2 years ago • 6 comments

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.

zkvii avatar Nov 10 '23 07:11 zkvii

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

eero-t avatar Nov 21 '23 11:11 eero-t

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.

zkvii avatar Nov 23 '23 01:11 zkvii

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

Where you installed it from?

eero-t avatar Nov 23 '23 11:11 eero-t

@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).

eero-t avatar Nov 28 '23 09:11 eero-t

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

zkvii avatar Dec 03 '23 08:12 zkvii

@zkvii as the packages were fixed (already last year), could you close this (I cannot)?

eero-t avatar Apr 03 '24 08:04 eero-t

For those of you still struggling with this error in 2024 (like me), try typing conda install level-zero -c conda-forge.

5001945 avatar Sep 21 '24 17:09 5001945