This lane now has multiple validated local Gemma 4 26B Q8 results on one B70. Keep this file focused on pitfalls, rejected mechanisms, and correctness risks that should not be rediscovered.
Current realistic-gate family:
gemma-4-26B-A4B-it-UD-Q8_K_XL.gguf target/verifier plus local
gemma-4-26B-A4B-it-Q4_0-MTP.gguf draft only;cached_tokens=0 on every prompt before any
LocalMaxxing promotion;research-plan.md and
localmaxxing-and-targets.md.--data-parallel-size > 1; prefer
four separate DP=1 servers for this lane.#21893 reports B70/Gemma 4 nonsense output unless
GGML_SYCL_DISABLE_OPT=1 disables optimized SYCL reorder paths. This was an
early-lane risk, not the current promoted default: the strict Q8 lane now uses
GGML_SYCL_DISABLE_OPT=0 only with repeated canaries and the fixed realistic
cold suite. Any new =0 source/runtime variant still needs repeat canaries
before speed claims.llama-server built with IntelLLVM needs oneAPI runtime libraries in the
loader path (libsvml.so, etc.). The launcher sources oneAPI automatically;
raw llama-server --help from a fresh shell can fail until setvars is loaded.-dev SYCL0/SYCL1; comma-separated syntax can mean separate benchmark cases.
This lane should avoid multi-GPU splitting until the single-GPU replica path
is understood.n=8 with
p-min=0.08/0.10/0.12 and n=9, p-min=0.12 all passed 384/384 canaries but
fell to 61.8-65.9 tok/s on the filled-long shape, far below the n=7
record.UBATCH_SIZE=768 stack, n=8, n=9, n=10, and n=12 all passed 64/64
canary rows with cached_tokens=0, but measured only 66.85, 71.63,
76.20, and 82.93 tok/s synthetic row0 respectively. Do not run more blind
n>7 sweeps. Retest larger depth only after adding real direct-path
confidence scores or reducing verifier MoE/LM-head cost. Note:
../../experiments/gemma4-26b-a4b-q8-b70/sweeps/20260627T0531-direct-unroll-depth-losses.md.MTP_P_MIN / logit-gap sweeps are low value on the current
direct-unroll fast path. The 2026-06-27 MTP profile diagnostic shows
vocab_scanned=0, sampler_calls=0, stops gap=0, pmin=0,
avg_top1_p=1.000000, and avg_logit_gap=0.000000; the path produces only
sampled IDs. Retest thresholds only after adding a real top1/top2 or gap
side channel to the fused direct assistant output. Note:
../../experiments/gemma4-26b-a4b-q8-b70/sweeps/20260627T0538-currentstack-mtp-profile.md.ffn_moe_gate_up_scaled epilogue is not applicable to the current
Q8 record stack. Local profile logs do not show an ffn_moe_gate_up_scaled
node; the hot gate/up nodes are plain MUL_MAT_ID:ffn_moe_gate_up-*.
Do not implement that patch target unless a future profile proves the scale
node exists.ngram-mod match=20 min=32 max=64
reached 245-280 tok/s only after repeated filled-long benchmark responses
had populated continuation history. The cold first request stayed near
non-spec speed (~41 tok/s). Those LocalMaxxing rows were submitted before
the fresh/warmed rule was clarified and are marked retraction-needed; API
deletion attempts returned 404 because LocalMaxxing exposes no documented
benchmark delete/update endpoint. Future record attempts must report
first-request fresh-response throughput separately and must not average
warmed ngram repeats into headline throughput.c926ad098 introduces server context checkpoints by default
(--ctx-checkpoints 32). Default checkpoints preserved quality but inflated
TTFT and hurt wall throughput for the benchmark lane. Use
--ctx-checkpoints 0 for record attempts unless the experiment is explicitly
about checkpoint reuse.q8_0 tests require FLASH_ATTN=on; otherwise llama.cpp logs
that V-cache quantization requires flash attention and the run is not a real
q8 draft-cache benchmark.--spec-draft-cpu-range-batch is not supported by the pinned
dec5ca557 build and fails at launch. Use supported CPU mask/range flags
only after confirming the target runtime exposes them.LLAMA_GEMMA4_MOE_FUSED_ROUTER_SELECTED_WEIGHTS=1 is a valid loss on the
older pre-final-gate scalar stack. It fuses Gemma4 verifier router top-k plus selected
softmax weight materialization into GGML_OP_MOE_ROUTER_SELECTED_WEIGHTS,
and required a SYCL F32 -> I32 copy/cast fix to avoid CPU fallback. The
screen data/gemma4-q8-gpu1-routerselectedweights-screen-20260627T050319Z/
passed 64/64 canary rows but reached only 101.52715106143687 tok/s
synthetic row0 versus the then-current 104.22626983476746 tok/s
diagnostic row. Patch:
../../patches/gemma4-26b-a4b-q8-b70/20260627T0503-llamacpp-gemma4-router-selected-weights-negative-current-stack.patch;
note:
../../experiments/gemma4-26b-a4b-q8-b70/sweeps/20260627T0503-router-selected-weights-negative.md.LLAMA_SPEC_VERIFY_RAW_ARGMAX=1 is exact for greedy Gemma verifier rows when
suppress-token bias is absent, because final-logit softcap is monotonic, but
it is not a speed win under the strict realistic gate. The best screen
measured 90.61464067224665 tok/s, barely above the current record, but a
four-lane confirmation measured 85.38-88.23 tok/s. Do not promote or
submit; it only avoids post-LM-head softcap, while the full LM-head
vocabulary projection remains. Note:
../../experiments/gemma4-26b-a4b-q8-b70/sweeps/20260627T2129-raw-spec-verify-argmax-negative.md.LLAMA_SYCL_MUL_MAT_ID_GATE_UP_Q8_SINGLETON_DIRECT=1 is a near-neutral
screen, not a promoted win. It skips full gather/scatter for singleton expert
routes in the current Q8 verifier gate/up MUL_MAT_ID shape while keeping the
existing tuned matmul arithmetic. The candidate
data/gemma4-q8-gpu2-gateup-singleton-direct-screen-20260627T052517Z/
passed 64/64, cached tokens were [0], and the output hash matched the
promoted record, but synthetic row0 was 104.12278210887227 tok/s, just under
the 104.22626983476746 tok/s record. Same-GPU flag-off control was slower
(102.16498485841758 tok/s) but changed the benchmark hash. Keep this as a
default-off artifact unless a node-profile comparison proves a real
ffn_moe_gate_up-* reduction. Patch:
../../patches/gemma4-26b-a4b-q8-b70/20260627T0525-llamacpp-gemma4-gateup-singleton-direct-current-stack.patch;
note:
../../experiments/gemma4-26b-a4b-q8-b70/sweeps/20260627T0525-gateup-singleton-direct-screen.md.