oneapi-src / level-zero

oneAPI Level Zero Specification Headers and Loader
https://spec.oneapi.com/versions/latest/elements/l0/source/index.html
MIT License
208 stars 90 forks source link

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

Closed zkvii closed 2 months ago

zkvii commented 10 months ago

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

eero-t commented 10 months ago

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

zkvii commented 9 months ago

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 9 months ago

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 9 months ago

@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 9 months ago

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

eero-t commented 5 months ago

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