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

Error when loading level_zero lib for `zesInit()` on windows client

Open sgwhat opened this issue 1 year ago • 2 comments

Hi all,

I am trying to loading "ze_intel_gpu64.dll" on my windows client, but it doesn't work.

I tried to loaded libze_intel_gpu.so on ubuntu before, and it works well.

Could you please give me some advice to debug?

Thanks!

This is my error log:

image

sgwhat avatar Mar 20 '24 05:03 sgwhat

Here is my implementation, error happens when executed ret = (*resp->oh.zesInit)(0); and ze_intel_gpu64.dll could be loaded.

https://github.com/felipeagc/ollama/blob/main/gpu/gpu_info_oneapi.c https://github.com/felipeagc/ollama/blob/main/gpu/gpu_info_oneapi.h

sgwhat avatar Mar 20 '24 05:03 sgwhat

I also tried "C:\Windows\System32\ze_loader.dll", but still got error, this also related to ret = (*resp->oh.zesInit)(0); :

image

sgwhat avatar Mar 20 '24 05:03 sgwhat