Repository navigation
opencl: disable FA and MoE weights repack to work around compiler issues for Adreno 850 GPU - #25745
Merged
max-krasnyansky merged 2 commits intoJul 16, 2026
Merged
Conversation
lhez
approved these changes
Jul 16, 2026
max-krasnyansky
approved these changes
Jul 16, 2026
zengde
pushed a commit
to zengde/llama.cpp
that referenced
this pull request
Jul 16, 2026
…ues for Adreno 850 GPU (ggml-org#25745) * opencl: workaround for A850 compiler compat * opencl: fix DX compiler version parsing and cleanup --------- Co-authored-by: Li He <[email protected]>
wanghqc
added a commit
to qualcomm/llama.cpp
that referenced
this pull request
Jul 30, 2026
The default gate keyed on adreno_cl_compiler_version.major < 0 -- "the version parser matched nothing" -- which was the art.api37 driver's signature when the gate was written. Upstream 3dafb58 (ggml-org#25745) later taught the parser the E17 scheme, so that driver now parses as type == E17, major = 51, and the default stopped firing on any device at all; the measured +66% on the Adreno 850 only shipped through the env override. Match the parsed E17 type directly (kept as a dedicated test, separate from the liftable E17 workaround predicates -- this is a perf default, not a workaround) and keep major < 0 so a future driver the parser cannot classify is still treated as the starved one until measured. Note the gate cannot defer to a user-set KMP_BLOCKTIME: ggml-cpu.c setenv()s KMP_BLOCKTIME=200 at CPU backend init whenever it is unset, so by the time the OpenCL backend initializes the variable is always present and carries no signal about user intent. GGML_OPENCL_KMP_BLOCKTIME=-1 remains the way to keep the runtime's own setting.
satindergrewal
pushed a commit
to satindergrewal/llama.cpp
that referenced
this pull request
Aug 12, 2026
…ues for Adreno 850 GPU (ggml-org#25745) * opencl: workaround for A850 compiler compat * opencl: fix DX compiler version parsing and cleanup --------- Co-authored-by: Li He <[email protected]>
zbrad
pushed a commit
to zbrad/llama.cpp
that referenced
this pull request
Sep 10, 2026
…ues for Adreno 850 GPU (ggml-org#25745) * opencl: workaround for A850 compiler compat * opencl: fix DX compiler version parsing and cleanup --------- Co-authored-by: Li He <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR temporally disables FA and MoE weights repack to work around compatibility issues in the compiler of Adreno 850 GPU.
We will update the workaround in the future when its compiler is more mature.
Additional information
For Adreno 850 GPU only.
Requirements