Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix levelzero empty symbol detect #5128

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

zhewang1-intc
Copy link
Contributor

we notice many users report ollama crash on Windows platform when ollama try to discover Intel GPUs after introducing Intel GPUs support.
this issue may occur on some older Intel CPUs which before 11Gen.
this is due to the driver library of iGPUs before 11Gen processors don't have the symbols which initial level-zero needed, like zesInit , and there is also a bug in oneapi_init, l[i].p is a pointer to pointer, func ptr stored in *l[i].p so we should detect whether *l[i].p is null ptr to check whether we load the func successfully.

Copy link
Collaborator

@dhiltgen dhiltgen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@dhiltgen dhiltgen merged commit 2abebb2 into ollama:main Jun 19, 2024
12 checks passed
@zhewang1-intc zhewang1-intc deleted the fix_levelzero_empty_symbol_detect branch July 2, 2024 05:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants