For an OpenCL mixture-of-experts (MoE) deployment using speculative decoding or multi-token prediction (MTP), I would make batch-size-specific regression testing the adoption gate for llama.cpp b10988. The release describes changes to execution-path selection, not a measured speedup you can assume will carry over to your workload.
The b10988 release page, marked pre-release in the captured source, points to commit 9f31776 and PR #27637. Its relevant changes are specific:
- Choose the OpenCL MoE expert matrix multiplication by batch size for speculative decoding/MTP.
- Gate the prebuilt
q4_0MoE GEMM on routing count. - Stop writing zeros into padded MoE activation slots.
That is enough to justify revisiting the upgrade test matrix. It is not enough to say which batch size will be faster, where the implementation switches paths, or whether removing those zero writes changes observable outputs. The release page supplies no benchmark results, selection thresholds, or routing-count cutoff. The linked PR is not implementation evidence examined here.
Compare builds, not unrelated configurations
My proposed check is a paired comparison of the existing build and b10988. Within each pair, keep the model artifact, quantization, hardware, OpenCL driver, prompts, decoding settings, and harness unchanged. Record both build revisions. Change batch size between test cases, not between the two builds in a case.
Use the batch sizes your deployment actually needs: a small case, the normal operating case, and a larger supported case. These are workload choices, not claimed upstream switching thresholds. Keep results separated by case so one favorable aggregate does not decide the upgrade for every operating condition.
| Release change | Proposed check | Limit on the conclusion |
|---|---|---|
| Batch-dependent expert matmul | Compare latency and throughput at each selected batch size with the speculative-decoding or MTP configuration you use. | One batch size does not establish performance at another. |
Routing-count gate for prebuilt q4_0 MoE GEMM |
Where the deployment uses this quantization, include representative routing conditions and record routing/path information if the harness exposes it. | Batch size alone is not proof that both sides of the routing gate were exercised. Unobserved coverage stays unknown. |
| Removal of padded-slot zero writes | Run output-correctness checks alongside timing checks on the same cases. | The release note establishes neither a correctness defect nor a guarantee of identical outputs. |
For an API-serving workload, record request latency and throughput separately from the output checks. Define acceptable output behavior before interpreting the results, using the workload’s existing correctness criteria rather than assuming every generated response must be byte-identical. Repeat the paired cases enough to distinguish an apparent improvement from measurement variation; this is a test recommendation, not a report of completed runs.
Make the adoption decision per workload
Adopt b10988 for the tested configuration only when the representative cases meet your performance and correctness requirements. If an important case regresses or required path coverage remains unknown, keep the current build for that workload while investigating. A win in the larger-batch case should not silently waive a failure in the smaller one.
This recommendation is scoped to the OpenCL MoE paths described in b10988. It does not establish benefits for dense models, other backends, every quantization, or a hosted API whose runtime you do not control. The useful takeaway is a targeted comparison plan, not a claim that this pre-release is universally faster or that a regression has already occurred.