Repository navigation
opencl: Add MxFP4 MoE bin kernel for Adreno X1 devices - #30691
Merged
max-krasnyansky merged 4 commits intoOct 16, 2026
Merged
Conversation
lhez
approved these changes
Oct 16, 2026
Contributor
|
@max-krasnyansky for a second review |
max-krasnyansky
approved these changes
Oct 16, 2026
wanghqc
added a commit
to qualcomm/llama.cpp
that referenced
this pull request
Oct 17, 2026
…30691) Kernel library 0.0.15 adds gemm_moe_mxfp4_q8_1_dp4a_ila_ldck, served only to X1 devices, which reads per-tile transposed q8_1 activations. Load it when present, compile the transpose kernel only then, and route mxfp4 MoE prefill to it ahead of the source dp4a GEMM. X1 already ran the source dp4a GEMM by default here, so upstream's X1E default flip is not needed. GGML_OPENCL_MOE_MXFP4_LDCK_BIN=0 keeps the source GEMM; GGML_OPENCL_MOE_DISPATCH_LOG=1 now also names the mxfp4 route.
edwardyoon
pushed a commit
to edwardyoon/focus-llama
that referenced
this pull request
Oct 24, 2026
* opencl: add bin kernel `gemm_moe_mxfp4_q8_1_dp4a_ila_ldck` for X1 * opencl: fix whitespace * opencl: undo unnecessary change * opencl: enable dp4a clc for X1E --------- Co-authored-by: Li He <lih@qti.qualcomm.com>
auRose94
pushed a commit
to auRose94/llama.cpp
that referenced
this pull request
Oct 28, 2026
* opencl: add bin kernel `gemm_moe_mxfp4_q8_1_dp4a_ila_ldck` for X1 * opencl: fix whitespace * opencl: undo unnecessary change * opencl: enable dp4a clc for X1E --------- Co-authored-by: Li He <lih@qti.qualcomm.com>
1 task done
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
Add MxFP4 MoE bin kernel specifically optimized for Adreno X1 devices.
Additional information
Requirements