Skip to content

Add OpenCL backend support #680

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

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Add OpenCL backend support #680

wants to merge 4 commits into from

Conversation

rmatif
Copy link

@rmatif rmatif commented May 18, 2025

This PR adds support for the OpenCL backend. Currently, this support is limited to Adreno GPUs. With the current ggml submodule, only Adreno 7xx series GPUs are supported. However, a previous PR that synced ggml will also enable support for Adreno 6xx series GPUs.

I'll update Local-Diffusion to use the latest ggml-opencl for those who don't want to bother with compiling and using adb

EDIT: Currently crashing due to some unsupported operations. Hopefully, someone will add a CPU fallback. I've opened an issue: ggml-org/llama.cpp#13621

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.

1 participant