A speculative decoder does not automatically have a fast batch path
The b11404 llama.cpp prerelease was published on October 5, 2026. Its merged pull request #29869 adds a Metal matrix-multiplication route for a narrow case: activation rows stay few when a speculative decoder verifies draft tokens or when batched decoding has only a few active sequences. That is a shape observation, not a promise that enabling speculative decoding speeds up every Apple device or model.
The author describes the previous route as a matrix-vector-style path whose work grows as activation rows increase. The new route uses 8-by-8 simdgroup matrix tiles and shares each decoded weight across several rows, so it can remove repeated dequantization work without dispatching a large matrix-matrix operation for a short verification batch.
The PR's reported measurements are the author's own, taken on one M3 Ultra with a fixed macOS version, model, quantization, and baseline. They explain why the thresholds exist; they are neither an independent benchmark nor a result for another GPU, model, driver, build, prompt, or draft model.
Verification creates work before it removes decoding steps
Medusa v1, published January 19, 2024, illustrates a related scheduling idea: extra decoding heads propose continuations, and tree attention processes the candidates before a prefix is accepted. Its section 3.1.2 explains the tradeoff between more candidates and more verification computation. The paper is background for why verification work costs compute — not evidence that b11404 implements Medusa or that its results transfer. The October 2026 patch concerns a backend operation; a candidate-generating algorithm still carries its own acceptance rate and overhead.
The row count is only one gate
The implementation decides the route from several properties. The activation tensor must be F32, untransposed, and have a compatible contiguous stride, and its second dimension must fall between a type-dependent minimum and 16 rows. Weights must use one of the listed floating or quantized ggml types, with the K dimension meeting that format's step and layout requirements. Batch-shape values are also bounded because they are passed to Metal function constants.
The device condition matters equally. The patch selects this route on Apple GPU family 7 or later when the tensor API is not in use. The PR describes thresholds chosen from its M3 Ultra measurements: six rows for F32, three for F16/Q4_K/Q5_0/Q5_1, and two for other supported types. Those numbers are selection policy in this revision, not a portable hardware law. A later Apple GPU can default to a different capability path, and a device, compiled binary, or tensor layout that misses the predicates continues through another implemented path — an existing route, not a fallback added by this patch.
The patch also permits fusing a matrix multiply with a same-shape add under its own graph conditions; do not infer that every residual add is fused. The added tests cover selected row counts, weight formats, layouts, batch relations, and graph ordering. They do not prove every model graph, every Metal driver, or end-to-end serving correctness.
Design one bounded comparison before changing a serving decision
This original, unexecuted N=1 exercise decides whether the new branch is relevant to one local setup. It is deliberately not an install guide, a download instruction, or a performance result.
- Write a manifest before running anything: release
b11404, merge commita3a1c4747fdc0dcad40b3946108b89375d9a7d0e, resolved binary digest, macOS version, Apple GPU family/capability observation, build flags, model revision, weight format, draft configuration, prompt shape, number of active sequences, and timeout. Keep inputs synthetic and non-sensitive. - Create one inside-range and one outside-range case for the revision's 2–16 row window, varying the rows through an explicitly recorded draft/batch setting. In each case compare the previously observed release b11401 with b11404 while holding the model, prompt, row setting, output limit, and concurrency fixed; resolve and record both build digests before comparing. Record the expected routing state as unknown until a local observation supports it — do not derive it from a release tag.
- In a separately authorized local run, record the correctness criteria before timing: completion status, generated-token comparison policy, device/runtime diagnostics, and bounded elapsed-time samples. The author's report is not a tolerance specification, so choose any floating-point comparison tolerance before looking at the result and keep it in the manifest.
- Stop and keep the diagnostic boundary if the artifact identity differs, the device/capability cannot be established, a layout predicate is not observable, an output comparison fails, a process exits abnormally, or the timeout expires. Do not swap the model, driver, backend, or row shape and call that a result for the rejected case.
This exercise can consume local machine time, energy, model storage, and operator attention. The project README lists Metal as an Apple Silicon backend, but it does not establish that a particular binary, weights license, or draft configuration suits a given use. The repository is MIT-licensed; selected model weights and downloaded artifacts carry their own terms. Its security policy advises isolating untrusted models and cautions against exposing server functionality on untrusted networks. None of those documents turns this prerelease into a security certification.
Keep the decision narrower than “speculation is faster”
b11404 establishes a prerelease implementation and a maintainer test/measurement report. It does not establish an end-to-end speedup for this archive, a general Metal performance guarantee, compatibility with every Apple GPU, or the quality of a speculative draft model. The practical question is: does this pinned workload create an eligible short-row operation on this recorded Metal configuration, and does it preserve the correctness rule chosen before measurement?
That question is separate from the x86 K-tail shape boundary in the related x86 article and from router process framing in the router article. The 2024 Medusa source explains why verification work is a meaningful cost; only the pinned 2026 PR and implementation establish this Metal dispatch predicate. The research window was September 5, 2026 15:35 JST to October 5, 2026 15:35 JST.
MENTAL MODEL / REASONING ORDER
From an announcement to your own decision.
Compare the announcement with the conditions in the paper and official documentation.
Sources
Publication dates belong to the source; access dates record when it was checked. Community observations are separate from official statements.