Repository navigation
feat(MODEL-TEXT-kolibri-1-1-u3): the kolibri1.1 indexed-attention forward - 18/24 legs of the exact gate end-to-end - #3609
Open
lu-zero wants to merge 45 commits into
Conversation
…i-1.1 U3, the sparse indexed attention U1 and U2 landed, and the 1.1 forward is still refused by name because the NVFP4 round, the lightning indexer and the top-2048 mask do not exist. This spec fixes the scope of U3 for CPU: the round op, the indexer score and selection, the candidate mask with its sink and recent cells, the block pool for long contexts, a kept-token mask carried into paged attention, and an exact token gate. vLLM implements nothing for this architecture at the pin, so the runnable oracle is llama.cpp PR #32891 at 5f4d22289, which is unmerged. The commit carries the 24 greedy captures from that build and the oracle report, with every golden recorded as produced by a scratch implementation. The issue is filed in the same change. Reference: ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38 FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.4 [maki]
…oader The U3 dispatch assumed the kolibri1 GGUF weight path kept stored types and dequantized on use. It does not: LoadKolibri1FromGguf eagerly dequantizes the full expert tower to bf16 for every layer. The pinned Q4_K_M walk gives 384 experts x 48 layers x 3,932,160 elements x 2 B = 144.96 GB for experts alone, about 149.4 GB resident in total, which is 2.49x the lane's 60 GB ceiling and above this host's available memory. I did not attempt the load; the coordinator ruled that rewriting the loader is a separate unit and granted a later 170 GB gate window for model-loaded runs only. This records the measured arithmetic under Risks/decisions and files the dequantize-on-demand work as a rowless issue under _owed with the U3 spec as its single reference. No product code changes. Closes nothing: ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38 stays OPEN until U3 lands. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:opencode/hy4-flash-free [opencode]
Adds the model-free U3 layer: the NVFP4 round, the lightning-indexer routing score, top-2048 selection with a lower-index tie rule, the sink/recent candidate mask, the long-context block pool, and the 1.1 config fields with named validation of every pinned value. The mask reaches vt::PagedAttention through a new optional PagedAttentionArgs field honored by the CPU kernel; no other backend sets it. A hermetic gate covers all six helpers (6 cases, 76 assertions) and test_kolibri1 stays green at 27/234. The GGUF path now maps the six 1.1 marker KVs into that config, enumerates dense-prefix and shared-KV tensor omissions, and loads those layers without the expert tower or k/v projections. The forward adds a dense FFN block, skips cache writes on shared-KV layers, rounds K/V on indexed layers and computes the kept-token mask. The U1 marker guard and the sparse-forward refusal are retired; the guard test now checks that a consistent 1.1 header maps to the 1.1 params. The red paged-engine gate is captured under flock. The full token gate does not pass: 225 of 2593 assertions match, with the first divergence at raw j=2 (got 543, want 14147). This is recorded as NEEDS_DECISION under the spec's gate-divergence stop condition; no tolerance or kernel parameter was tuned to make it pass. No token parity is claimed. Closes nothing: ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38 stays OPEN until the token gate is resolved. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:opencode/hy4-flash-free [opencode]
…U3 audit Adds a permanent raw-only gate probe that feeds the first golden prompt token ids and generates three tokens. It reproduces the oracle's ids 9224 and 46 at j=0 and j=1, and gives an unambiguous decode alignment: the engine's first three forwards are warmups (BOS 127904, 127907, 10), so an earlier comparison against a full gate run compared different positions and produced a false "upstream projection" finding. The probe prevents that artifact from returning. An env-gated value dump in the forward records the attention input, pre/post NVFP4 K and attention output for layers 0 and 4. The audit evidence records the retraction and the corrected comparison: attn_norm-0/4 and pre-round K agree at bf16 level once aligned, and an f64 hand reference from the GGUF weights matches our Kpre given our own input (mean 0.0030) as well as the oracle's given its input (mean 0.0155). The NVFP4 round op is bit-identical to ggml's on 16,384 inputs. No logic defect is localized; the remaining token divergence is consistent with accumulated bf16-versus-f32 precision across the forward. Closes nothing: ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38 stays OPEN until the token gate passes. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:opencode/hy4-flash-free [opencode]
…32 attention Mirrors the oracle's quantized-dot arithmetic on the 1.1 attention path: the q/k/v/o weights stay in their stored Q4_K/Q6_K type via OwnGgufQuantBlocks (gated on indexer_top_k, so the 1.0 path is byte-neutral) and reach the existing ggml-parity vt::MatmulBT/MatmulBTQuant seam. The attention projections and qk-norm run in f32; the NVFP4-rounded K/V are cast to bf16 only for the paged cache, where the values are exact. A sequential f32 dot had missed the oracle's raw K by 2.2e-4; the quantized path reaches 1.5e-8, and the measured pre-round K at layer 4 improves from mean 0.0157 (all bf16) to 0.0060 with this step. It is not ULP-clean yet: the residual stream of layers 0-3 is still bf16 and is the remaining source. The model-local f32 primitives (bf16 widening, RMSNorm, sequential matmul) and their hermetic tests land here; test_kolibri11_indexer is 7 cases / 91 assertions green. The spec records the existing shared seam and the MatmulBTBatch block-quant limitation under Owed. No tolerance or dtype tuning, no token-parity claim, no push. The token gate still diverges and ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38 stays OPEN. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:opencode/hy4-flash-free [opencode]
Adds a hermetic layer-0 gate that selects every tensor BY NAME from the pinned GGUF (embedding, attn_norm, q/k/v weights and norms) and runs the sequence with model-local f32 primitives, comparing each intermediate against a committed 32-float-per-tap fixture from the llama.cpp PR #32891 cb_eval taps. It passes 132/132 at 1e-6 under ctest. A sequential f32 dot missed Kcur-0 by ~1e-3; the existing ggml-parity MatmulBTQuant seam reaches ULP. Ports the proven first op into the live forward: the 1.1 embedding table is kept in stored quant form so the gather decodes f32 at use, and the layer-0 add-RMSNorm runs through the model-local f32 helper. The helper normalizes PER TOKEN (hidden_size), not over t*hidden_size — collapsing the row axis was the wiring defect that broke an earlier attempt. The live layer-0 attention input now matches the oracle at max 1.9e-6 / mean 2.7e-8. The raw probe still gives 9224, 46, 543 at j=0,1,2. Layer-4 Kpre is not yet ULP-clean in the live forward (mean 0.006): layers 1-3 still carry bf16 residuals, and a full f32 residual attempt still breaks because the MoE path is not f32-native. No token-parity claim, no push. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:opencode/hy4-flash-free [opencode]
…ition taps Re-captures the oracle cb_eval taps in a single-token pass so every MoE intermediate comes from the same position: ffn_inp, ffn_norm, router logits, biased logits, and the 6 top-k ids, plus 32-float taps for the expert tower. The earlier misaligned fixture produced a matching selected set but failing per-element values; the aligned pair fixes that. A hermetic router test selects every tensor BY NAME, computes ffn_norm with the model-local f32 primitive, projects the router through the stored-type weight, adds ffn_exp_probs_b BEFORE top-k (the PR order), and asserts the full 384-element biased logits and the selected id set. The complete selected-expert tower is ULP-clean: 627/627 assertions at 1e-6 over the router ids, gate/up projections, SiLU, down, sigmoid weights, weighted outputs and the argsort-order combine. Two parity-critical facts are now proven, not assumed: the expert projections must iterate in the oracle's raw ggml argsort ID order (a sorted-ID set fails), and the sigmoid gating consumes the UNBIASED logits copied BEFORE the bias add. A plain sequential f32 dot missed 94 router logits at 1e-6; transcribing ggml_vec_dot_f32's 4-lane NEON partial accumulators (FMA, reduce as (a0+a1)+(a2+a3), then leftovers) made the full 384-logit vector ULP-clean. The PR passes the UNBIASED logits to the combine and the ids to the expert gather; that order is recorded and will be asserted when the expert projection and weighted combine land. No token-parity claim, no push; ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38 stays OPEN. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:opencode/hy4-flash-free [opencode]
…defect Adds a hermetic dense-prefix gate at layer 0: every weight selected BY NAME from the pinned GGUF, projections through the ggml-parity MatmulBTQuant seam, and all intermediates asserted against a single-position cb_eval fixture. gate/up/swiglu match at 1e-6 and ffn_out within 2e-5, so DenseBlockF32 is not the conversion defect. Commits the static residual-path audit and a one-run layer dump comparison: our per-layer l_out matches the oracle at bf16 level through L0/L1 (mean 0.00022 / 0.0004) then jumps 10x at L2 (mean 0.00434, max 1.52) — the first MoE layer. This isolates the live f32 MoE call site as the wiring defect without repeated 45 GB model loads; the hermetic MoE tower (627/627) stands. No token-parity claim, no push; ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38 stays OPEN. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:opencode/hy4-flash-free [opencode]
…start The bit-exact quant_ref tool concatenated dump records whose indices restart at 0, producing two false 'defect' findings before the cause was found. The reader now stops at the first index restart and reports when a request spans more values than one record contains, so a cross-record table cannot be built silently. The corrected attention table confirms layer-0 q/k/v are bit-exact (max 0, mean 0), not the earlier reported q failure. No token-parity claim, no push; ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38 stays OPEN. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:opencode/hy4-flash-free [opencode]
…-quant towers The raw probe's divergence isolated to the L2 MoE call site, and the arithmetic there ran on bf16-DEQUANTIZED masters: the loader eager-dequanted the stacked expert towers (OwnExpert), converted the router gate to bf16 (OwnBf16), and MoeBlock fed bf16 activations down a bf16 chain. The pinned oracle (llama.cpp 5f4d22289, kolibri1.cpp:440-540) dots the STORED quantized towers with Q8_K activation quantization in an f32 chain. That hypothesis is confirmed and fixed. Loader, 1.1 keep-quant path only: every expert keeps its slice of the stacked tower as OwnGgufQuantBlocks blocks (the row_offset cut the hermetic tower gate proves), the shared expert and the dense prefix go through the keep-quant-aware OwnProjection, and the router gate is stored F32 verbatim. Forward adds DenseBlockF32 and MoeBlockF32: f32 interiors over the MatmulBTQuant seam, bf16 in/out so the residual stream is untouched, dispatched on indexer_top_k > 0. The two earlier live-port failures wired the f32 chain into the residual stream; this change does not. The seam is named so the Owed loader-side dequant-at-use fix replaces only the weight source. The eager dequant it drops also removes the double tower residency the U3 memory record owes. Measured, raw probe decode 1, layer 2: router unbiased logits vs the oracle taps max 6.9e-3 / mean 1.4e-3 and the biased top-6 ids equal the oracle's exactly; the routed sum matches the oracle hermetic output over all 2560 elements at max 1.4e-2 / mean 5.5e-4 with no outliers. Raw probe unchanged and deterministic (9224, 46, 543; the golden j=2 token stays open upstream of the MoE). Hermetic gates green: tower 627/627, dense 134/134, layer0 132/132. The per-layer l_out table does not collapse, and the old table was not comparable (its reference file is the oracle's own dump); the divergence at the L2 MoE input is dominated by the bf16 post-norm gammas and the stopped attention-core hunt. New open finding recorded: the ffn_post_norm tap cannot be reproduced from our own MoE output dumps, and the oracle's tap value disagrees in sign with its own pre-norm value at i=1591. Evidence: docs/bench-evidence/kolibri11-u3-oracle-20261125/moe-f32-verdict.txt and PROCESS.md 2026-11-29 entries. No token-parity claim, no push; ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38 stays OPEN. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…d F32 The pinned Kolibri-1.1-Q4_K_M GGUF stores every norm gamma as F32 (direct header parse: attn_norm, post_attention_norm, ffn_norm, post_ffw_norm, output_norm, attn_q_norm, attn_k_norm), and the oracle (llama.cpp PR 32891 at 5f4d22289) keeps them F32 through its f32 rms_norm. OwnNormBf16 eagerly downcast them to bf16, applying the safetensors arm's dtype policy (those shards genuinely ship BF16 gammas) to the wrong container and rounding every residual-stream scale by up to 2^-8 relative against the gate's oracle. The loader now copies the stored F32 verbatim; vt::RmsNormKernel and Kolibri11AddRmsNormF32 already accept an F32 gamma, and the safetensors arm is untouched, so each arm mirrors its own oracle. Also adjudicated the open ffn_post_norm tap anomaly as VOID: the oracle graph never taps ffn_post_norm (kolibri1.cpp:557-559 has no cb on the leg), the file read as the oracle dump is our own reverted-tree probe with three concatenated forward passes, and the sign-impossible +4.62 row comes from a different pass than the compared one. Evidence and the full gamma table in docs/bench-evidence/kolibri11-u3-oracle-20261125/gamma-dtype-and-tap-adjudication.txt. The model-loaded re-check is blocked this session: MemAvailable ~38 GB against a ~61 GB resident need, inside the 60 GB cap and other lanes' safety margin. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…al oracle taps The blocked post-gamma-fix re-run: the raw probe still gives 9224, 46, 543 (want j=2 14147), so the gamma-F32 fix did not move the divergence. The first valid per-layer table against the pinned oracle's own cb_eval taps (fresh single-token capture, decode 0 = raw prompt token 325, pos 0) shows the attention output matching at bf16 level through all 50 layers while the normed MoE input starts 0.40% off at layer 0 and amplifies to ~57% by layer 49 — the bf16 residual stream against the oracle's f32 residual. The prior layer table was ours-vs-ours (VOID) and no oracle-anchored L0 baseline predates the gamma fix, so no delta is claimable. Extends the env-gated LayerDumpAll scratch instrument with our ffn_inp, ffn_moe_out and a per-forward embedding (which proves the forward alignment) and records the StageDump f32-buffer hazard. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…e tensor dtype VT_KOLIBRI1_TT_STAGE_DUMP underallocated its download buffer to a hard-coded 2 bytes per element while DBuf::Download copies SizeOf(dtype) bytes. On the now-F32 kolibri11 U3 embedding and stage buffers it wrote n*4 F32 bytes into an n*2 allocation — the heap corruption observed as a double-free abort — and decoded every checksum as bf16 pairs, so F32 stage checksums were garbage. The CPU-arm StageDump moves out of the anonymous namespace so the new regression test can call it, sizes the buffer by vt::SizeOf(t.dtype), and branches the decode on the dtype. The identical TT-arm copy in kolibri1_tt_forward.cpp gets the same dtype-aware fix, and the pa_out TT dump in the CPU attention block is gated to bf16 buffers. Red-first evidence: the test aborts (exit 134, heap corruption) on the pre-fix body and passes 9/9 on the fix, including a bf16-semantics control. Issue: ISSUE-LOCAL-01M8K5E8SE3M2BT5AR70D290Q5 FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…in f32 The U3 divergence was the bf16 residual stream against the oracle's f32 one (0.40% relative at layer 0, compounding to ~57% at layer 49). This adds the L0-FIRST step of the f32 mirror: VT_KOLIBRI11_U3_F32_LAYERS=N (default 0, byte-neutral) runs the leading N layers with the whole residual chain in f32 — embedding, both add-norms through the model-local primitive, the attention output requested f32 through the o_proj seam, dh2 = norm(attn_n + res) (the oracle's ffn_norm tap), the dense-FFN / MoE f32 legs without the bf16 out-cast — and then casts the residual stream and hidden state back to the model dtype so layers N.. reproduce the recorded bf16 numerics exactly. Measured at N=1 (flock /tmp/bigmodel.lock, MemAvailable 184-218 GB logged before each load): ffn_norm-0 relative RMS against the oracle cb-one2.tsv tap drops 0.40% -> 0.097% (4.1x) but not ULP; attn_norm-0 is ULP (1.2e-7). The first non-ULP stage is the attention core leg (o_proj output vs oracle attn_out-0, 1.2e-3 relative RMS): at the degenerate position-0 softmax the core output is the cached V, and the oracle caches V in F16 where this tree caches bf16. Reaching the floor needs an F16 KV cache, which touches the shared v1::ResolveKvCacheDType and vt::PagedAttention seams; reported NEEDS_DECISION rather than changed model-locally. The raw probe tokens are unchanged (9224, 46, 543; j=0,1 match, j=2 forms downstream of layer 0) and the hermetic gates stay green (layer0 132/132, moe_tower 627/627, dense 134/134, indexer, stagedump 9/9). FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…seam The L0-f32 residual arm's first non-ULP stage is the attention core leg (l0-f32-residual-20261129.txt): at the degenerate position-0 softmax the core output is the cached V, and the oracle's flash kernel reads F16-rounded K/V while our paged cache stored bf16. This adds the F16 storage arm ADDITIVELY: the default with no env stays bf16, every existing model and path is byte-identical when not selected, and VT_KV_CACHE_F32=1 keeps precedence. The resolver arm mirrors the W1 Inkling row's finding that llama.cpp's own KV cache type is F16 (llama-context.cpp:4441-4442) and reuses that row's implementation pattern (round K/V to F16 before the cache write so the same-dtype store path and the existing CPU kF16 PagedAttention read arm serve it unchanged, commit e8e8b3d3b). The model write site narrows the f32 K/V with F32ToF16 round-to-nearest-even through vt::CastF16 — the same round the oracle's F16 cache write does — and the model-local U3 sparse-mask reader decodes F16 cache rows directly instead of refusing them. RED-FIRST at the seam (tests/vt/test_kv_cache_f16_arm.cpp): the T-inert case asserts the default resolves bf16 and the F32 A/B still wins, and stayed green throughout; the T-arm case asserts VT_KV_CACHE_F16=1 resolves kF16 and that an F16 cache carries pinned F16-RNE page bits distinct from the bf16 rows plus a PagedAttention output equal to the reference computed from the F16-rounded keys — the resolver assertions were red before the arm existed. Mutation check: bending F32ToF16 to truncation reds 16 assertions; the restore is byte-identical and the test is green again. The 5 hermetic kolibri11 gates stay green; the 14 ctest failures in this build environment fail identically on the un-patched tree (missing model assets and host-dependent checks). Refs: ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38 FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…tion-core buffer The L0-f32 arm left the attention-core buffer hard-coded bf16, so the oracle's f32 kqv_out leg was re-narrowed onto the bf16 grid after the paged read — the residual the F16 KV cache (cbc052296) was added to remove. The buffer now carries the arm's boundary dtype (attn_out_dt); the default path keeps bf16 and is byte-identical. Measured against the pinned oracle taps (cb-one2.tsv, decode 0 = the raw prompt token 325, position 0): ffn_norm-0 (our dh2) relRMS drops 9.66e-4 -> 3.08e-07, two orders below the acceptance bar of the oracle's own F16 V rounding floor (~1e-4), and the raw probe stays 9224, 46, 543 during the L0-only stage. The full f32 chain still diverges on its first token between VT_KOLIBRI11_U3_F32_LAYERS=12 and 16 (layers ~12-16, where the stopped deeper attention-core class mirror and the sparse path live); the per-layer table and the localization against the hermetic proofs are in the evidence files, and no arithmetic was changed to chase it. j=2 never moved off 543, so the 24-golden gate was not run. Refs: ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38 FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…uting stages The full-f32 chain diverged entering the indexed region because three stages computed on the wrong values: the sparse-mask routing queries were read as bf16 pairs from the f32-attention arm's F32 q tensor, the indexer score summed unweighted dots sequentially instead of the oracle's per-head relu(dot)*w accumulation with ggml_vec_dot_f32's 4x4-lane FMA order (ggml-cpu/vec.cpp:11, ops.cpp:12491-12583 at 5f4d22289), and MoeBlockF32 fed its shared and routed projections from an uninitialized activation buffer when the input was already f32 (the router read the real tensor, which is why logits matched while expert outputs were ~1000x small). After the fixes the per-layer table against the oracle's cb-one2.tsv taps is ULP through layers 0-3 including both MoE layers, and the first divergence moved to layer 4, the first indexed layer, where the attention-core output is bit-exact and the residual localizes to the o_proj numerical class: the pinned oracle repacks every Q4_K weight with ne[1]%8==0 on an i8mm aarch64 host (ggml-cpu/repack.cpp:5011-5017) and uses ggml_gemv_q4_K_8x8_q8_K, not the vec_dot class our twin implements. The adjudication dumps (VT_KOLIBRI11_U3_DUMP, VT_U3_WO_REF) and the raw probe (9224, 46, 543 vs 9224, 46, 14147) are recorded in PROCESS.md; the j=2 token never moved on a valid config, so the 24-golden gate was not run. References ISSUE-LOCAL-01M8A4WPJ7KV6F2PX7QCNR5TNN. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…shared repack seam The scratch comparator (quant_ref method) proves the pinned oracle's number IS the repacked-gemv number: bit-exact (max=0) against all eight oracle taps tested, while our ggml_vec_dot_q4_K_q8_K twin differs at f32-rounding level - 1e-7 on L0/L1 shapes, 3.5e-3 relRMS on blk.4.attn_output, the first token-diverging op. The repack predicate is stated, not fitted: on a NEON+i8mm host every Q4_K and Q6_K weight with ne[1] % 8 == 0 repacks to the 8x8 kernels; rows <= 3 run the gemv. The L0-vs-L4 anomaly is the same class pair, not a discrete difference - the fp scale-accumulation order is data-dependent in visible magnitude. REBASED ONTO the QUANT-GGUF-CIQ-GEMM shared seam (6c510a9), which landed the transcription this commit first carried model-locally: ggml_gemv_q4_K_8x8_q8_K and its Q6_K twin, both i8mm 4-row GEMM arms, and the fused Q8_K activation quantizers (QuantizeRowQ8KFused / QuantizeRowQ8K4x8Fused) behind VT_CPU_QUANT_REPACK_KQ=1. The model-local twin transcription (src/vt/cpu/cpu_quant_repack_q4k_arm.cpp) is DELETED per the no-parallel-path rule: the loader now builds the repacked k-quant copy with the SHARED vt::cpu::QuantRepackWeight (now covering Q6_K too, so attn_v / ffn_down join the arm), and LinearBT routes EVERY row count through vt::cpu::QuantRepackMatmul with the tensor repacked flag set - the prefill i8mm GEMM arm this lane owed is now reachable, and VT_U3_Q4K_TWIN_OFF is retired (VT_CPU_QUANT_REPACK_KQ is the governing opt-in). The bit-proof harness stays, rerouted through the shared seam against the same oracle fixture (live kqv_out-4/kqv_out-0 rows plus seeded random rows). Raw probe at the twin stage was 9224, 46, 543 (want j=2 14147). Also fixes ISSUE-LOCAL-01M8M0RE7GRR7ETYFX6J9X68NS in flow: 6332be865's layer-4 U3 adjudication dumps called fopen(getenv(...)) unguarded, so every layer-4 forward without VT_KOLIBRI11_U3_DUMP segfaulted in fprintf(NULL) (raw probe and golden gate reproduced on pristine HEAD; red log committed). Both dumps now guard on the env, and the three inline writers tag records with the live decode counter instead of the hard-coded "1" (the third dump hazard). LADDER with the seam live (flock, MemAvailable 203-204 GB): the raw probe stays 9224, 46, 543 (want j=2 14147), so the 24-golden gate was not run. The N=16 per-layer table closes L0-L8 to ULP (1.7e-7..9.1e-7) - the L4 wo divergence this commit exists for is gone; the new FIRST DIVERGENCE is L9, where our attn_out_pre_norm is EXACTLY ZERO (relRMS 1.000), repeating at L14, L34, L39, L44 - a discrete indexed-attention defect at a specific layer subset, identical in the pre-rewire table, now the localized next blocker (sparse-mask / indexer candidate path at those layers). Evidence: docs/bench-evidence/kolibri11-u3-oracle-20261125/seam-rewire-ladder-20261129.txt. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…ntry The 1.1 registry publishes one KV group per SOURCE layer, but the legacy engine path allocates one paged buffer per LAYER, and the CPU forward resolved kv_ptr by the consumer's own name/index. Every kv_source_map consumer (layers 9->4, 14->4, 34->29, 39->29, 44->29, 49->4) therefore attended over its own never-written buffer: attn_out_pre_norm was EXACTLY zero (relRMS 1.000 vs the oracle taps at L9/L14/L34/L39/L44/L49, first divergence L9). The stage probe (VT_KOLIBRI11_U3_PROBE, new compact instrument) proved the sparse mask healthy (kept 1..nkv on every indexed layer) and the V read exactly zero on exactly that consumer set, so the dispatched mask/top_k hypothesis is falsified; the oracle's build_attn_sparse reads the DONOR's cells (llama.cpp PR #32891 kolibri1.cpp). Red-first: tests/vllm/models/test_kolibri11_kv_source.cpp (consumer resolves the source entry by name under multi_kv and positionally without it; 1.0 empty-map identity; out-of-range refuses) is red at link before the helper and green 2 cases/17 assertions after; forcing the identity mapping reds 8/17, restore green. The fix adds Kolibri1KvEntryForLayer (declared in kolibri1_forward.h, defined outside the TU's anonymous namespace) and routes the forward's kv_ptr through it. Ladder (N=16, cb-one2.tsv decode 0 pos 0): all 50 layers healthy — L0-L15 attn_out ULP 1.9e-7..4.4e-7 with the zero layers L9/L14 revived from 1.000 to ULP; L16+ is the recorded N-boundary/bf16-carrier accumulation (6.8e-3..4.9e-2). Raw probe j=0/j=1 stay exact and j=2 is still 543 (want 14147), so the 24-golden exact-token gate was NOT run; the deeper divergence remains the recorded f32-residual/core-class item at L16+. Closes ISSUE-LOCAL-01M8MF8KGV1MD6VJDM5YMVS6XA (stage-probe evidence in docs/bench-evidence/kolibri11-u3-oracle-20261125/kv-source-stage-proof- 20261129.txt; all model loads under flock -w 7200 /tmp/bigmodel.lock, MemAvailable 214-219 GB logged). FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…be j=2 to the golden token Run the closing ladder at VT_KOLIBRI11_U3_F32_LAYERS=50 with the F16 KV cache, the donor-KV routing and the repack seam live. The raw probe now produces the exact golden ids 9224, 46, 14147; j=2 had been stuck at 543 on every earlier valid config. The per-layer table against cb-one2.tsv is ULP through L23 with the first divergence at L24 (attn_out 4.9e-2, ffn_norm 1.6e-2), an accumulation class that no bf16 carrier explains at N=50. The 24-golden exact-token gate reached 6 of 24 runs exact (1194/2705 assertions) and is not DONE; the divergence starts inside multi-token decode, consistent with that accumulation class. Evidence in docs/bench-evidence/kolibri11-u3-oracle-20261125/. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
The stage proof at the first diverging (layer, decode-position) pairs
(2026-11-29 dispatch) falsified the mask/top-k/lightning/round classes and
pinned a discrete layer-set defect: the oracle dispatches build_attn_sparse
on every non-swa layer (llama.cpp PR #32891 kolibri1.cpp graph constructor,
`inp_sparse && !hparams.is_swa(il)`, layers {4,9,14,19,24,29,34,39,44,49}
from sliding_window_pattern), while this tree gated the whole sparse path on
attention.indexer.types (the indexer-full subset {4,14,19,29}). Layers
9/24/34/39/44/49 therefore wrote unrounded K/V into the cache (kvwrite_v-24
holds continuous values where the oracle cache holds NVFP4 grid steps) and
skipped the candidate mask and top-k; that is the recorded L24 attn_out
4.9e-2 divergence at decode 0.
RED-first: test_kolibri11_sparse_layers asserts IsSparseLayer == the non-swa
set and IsIndexerFull == indexer.types (red at compile before the member,
53/53 green after, mutation to the old semantics reds 7/53). The fix adds
Kolibri1Params::IsSparseLayer and passes it as the forward's sparse gate.
Instrument updates carry the proof: VT_KOLIBRI11_U3_LAYER selects the
adjudication layer, VT_KOLIBRI11_U3_ALL dumps every layer's attention input,
q_route/k_route/route_top_k/sparse_mask/kvwrite dumps, and the kqv/oproj
dumps cover all query rows. Hazard four recorded: the Download-based layer
dump reads stale bytes beyond the first query row.
Residual, localized but open: with bitwise-exact inputs the (L13, pos1)
attention core differs at fp-noise scale (rel 2.1e-5) — the oracle computes
attention through ggml CPU flash_attn_ext (GGML_PREC_F32, F16 K/V) while
this tree runs the vt::PagedAttention order; first divergence (L14, pos1),
accumulating to 5e-2 by L49. Mirroring it needs the flash fp order behind
the SHARED vt::PagedAttention seam (NEEDS_DECISION). The 24-golden gate
stays 6/24 exact (1092/2766) with per-run divergences moved in both
directions; evidence in
docs/bench-evidence/kolibri11-u3-oracle-20261125/sparse-layer-set-20261129.txt
and gate-sparsefix-20261129.log. ISSUE-LOCAL-01M8A4WPJ7KV6F2PX7QCNR5TNN.
FOLLOWING_AGENTS_PROTOCOL
Following-Agents-Protocol: true
AI-Assisted: true
Assisted-by: AGENT:zai/glm-5.3-flash [task]
…gml-flash-order seam The 2026-11-29 stage proof localized the remaining kolibri-1.1 divergence inside the attention core: the oracle computes kolibri attention through ggml CPU flash_attn_ext (GGML_PREC_F32, F16 K/V, ops.cpp:8858-9076 @ 5f4d22289, llama-graph.cpp:3173-3340) while the default vt::PagedAttention body is a two-pass softmax. The lane rebased onto the shared KERNEL-ATTN-PAGED seam (a6a5338) and arms it on the one PagedAttention call site of the kolibri1 CPU forward (Kolibri1GgmlFlashOrderArm, default ON; VT_KOLIBRI11_U3_FLASH_ORDER=0 is the lane's A/B hatch; kernel-internal, on scripts/env-doc-allowlist.txt). Consumer adjudication fixed two transcription components the seam's scalar reference missed (test_ops_paged_attn_ggml_flash_order.cpp named the live-SIMD adjudication as this wave's job): ggml_vec_dot_f16 on the fp16 NEON tier accumulates in 4 float16x8 lanes with vfmaq_f16 and an f16 tree reduce (vec.cpp:264, simd-mappings.h:286-303) — transcribed as vt::cpu::DotF16GgmlNeon and used by the arm for F16 K caches; and ggml_vec_mad_f16_f32's NEON V mad is fused (vfmaq_f32, vec.h:467-474), mirrored with std::fma because the tree's -ffp-contract=off would split it. The seam test's F16 reference is now an independent inline transcription and its fixture widened to d=64, which is what makes the reduce-order mutation visible (the d=16 fixture never exercised the accumulators). Measured (docs/bench-evidence/kolibri11-u3-oracle-20261125/flash-order-arm-20261130.txt): raw probe 9224, 46, 14147 holds (j=2 = golden); pos0 remains bit-exact end-to-end; the first multi-key divergence localizes at (L1-input, pos1), the L0 core at 2 keys, rel 7.4e-5 — fp-order noise, saturating to the ~5e-2 plateau by L8. 24-golden gate 1301/2685 assertions, 5/24 runs exact, GATE_RC=1: raw fibonacci first miss moved j=12 -> j=124, but the gate does not close; the remaining gaps are the pos1 fp-order residual and multi-sequence runs that diverge at j<=1 while the single-token raw probe is exact on the same engine. Fixes ISSUE-LOCAL-01M8MF8KGV1MD6VJDM5YMVS6XA's successor step; the lane stays IN_PROGRESS on the row MODEL-TEXT-kolibri-1-1-u3-indexed-attention. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
… the widened ggml order and an engine contradiction The U3 anomaly threads converged on one root cause: a controlled-input comparator against the pinned oracle taps proves the CPU flash dot dispatches F16 K through ggml_vec_dot_f16_f32 (widened F32, Q unrounded; ggml-cpu/ggml-cpu.c:225-230), not the f16-accumulator ggml_vec_dot_f16 the arm transcribed — the retired order reproduces the oracle kqv_out-0 only to relRMS 6.8e-5 (the lane's recorded L0 residual) while the widened order reproduces it at 4e-8. A red-first widened implementation passed the seam gate (RED 13/16, GREEN 16/16, two kernel mutations RED with the fixture widened to d=96) but REGRESSED the engine ladder deterministically (probe j=2, gate 0/24, raw capital echoing its own prompt tokens; VT_ASYNC_SCHED=0 rules out the scheduler race), so the product change is NOT landed: the diff is preserved for the next wave and this commit carries only the evidence, the adjudication record, and the open contradiction (decode-path input equality was never proven beyond 2 keys) with the decisive next step. Ladder state unchanged: probe sentinel 5/5, gate 5/24 at 1301/2685. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
… oracle bit-exactly
The U3 decode-input adjudication falsifies the leading hypothesis: the engine's
decode attention inputs are clean. The new cb_eval_dump4 capture (oracle q,
K/V-cache views, F16 mask and flash output at L0 for decode steps 1-2, n_kv 6
and 7) and the matching VT_KOLIBRI11_U3_DUMP engine instrument (block_table-
resolved paged-cache rows) show our Q at the oracle's tap print precision
(2.9e-6), the cache on the bf16-vs-f16 grid of the same f32 values, and the
attention core within 1.7e-3 of the oracle kqv_out. The oracle flash route is
shape-independent (ops.cpp:8954 keys kq_vec_dot off the K traits; F16 K goes
through ggml_vec_dot_f16_f32, ggml-cpu.c:225-230), confirmed by emulation on
oracle inputs at 6e-8 for both decode shapes.
The regression the first widened arm caused was real but lived in the twin:
it was NOT bit-exact to the live library. Pinned against the disassembly of
the pinned libggml-cpu build: the fp16 NEON block is GGML_F32_STEP 16 / EPR 4
/ ARR 4 (simd-mappings.h:358-360), not the STEP 32 / ARR 8 both earlier
transcriptions assumed, and GCC vectorized the f32 leftovers loop with
reassociation (4-lane fmul, sum+v0, v1+sum, v2+sum, sum+v3; remainder via
fused fmadd). The corrected DotF16WidenF32GgmlNeon is bit-exact to the live
library over 57000/57000 rows for d in {1..513}. Q stays unrounded (the F16-
grid query rounding of the retired ggml_vec_dot_f16 transcription stays
retired).
Seam gate: fixture widened to d=101 so the chunk loop, the n%64 tail, the
grouped leftovers and the fused remainder are each exercised (the d=96
fixture left the leftovers unexercised and a leftover-order mutation green).
Baseline 16/16; grouped-order swap, unfused remainder and STEP-32 mutations
each red; restore byte-for-byte green. Siblings inert (paged_attn, _dtype,
_neon, dflash_paged_block_attn, paged_attn_route all pass). Engine: the raw
probe holds 9224/46/14147 with the widened twin live; the 24-gate moves to
5/24 default and 7/24 with VT_KV_CACHE_F16=1 (1253/2745). The remaining gate
gap is the known f32-residual-stream blocker, not the dot.
Evidence: docs/bench-evidence/kolibri11-u3-oracle-20261125/
widened-dot-bitexact-20261130.txt; PROCESS.md carries the wave entry.
FOLLOWING_AGENTS_PROTOCOL
Following-Agents-Protocol: true
AI-Assisted: true
Assisted-by: AGENT:zai/glm-5.3-flash [task]
…sidual, not the f32 chain Characterize the 7/24 residual after the widened dot. The d938bd235 direction (the full f32 chain) is landed but the 2026-11-30 gate scripts never engaged it (VT_KOLIBRI11_U3_F32_LAYERS default 0); engaged, the prefill pos-0 table goes ULP through L33 with the first divergence at L34 (was L24 at 4.9e-2) and the L33 block proves out stage by stage, including the hermetic L33 MoE tower at 13811/13811 against fresh oracle taps. The 24-gate with the chain is 6/24 (1095/2686) and does not close, so the residual-stream class is falsified as the gate frontier. A new oracle decode-step capture (cb_eval_dump5, U3_DECODE_ALL) localizes the residual to a new class: the multi-key attention core at decode — first divergence L3 at 1.3e-3 on the first generated token, kqv core itself at 1.4e-4 with n_kv=6 at L2 decode-1, before any MoE. The tower test gains the KOLIBRI11_TOWER_LAYER parameterization and the L33 fixture. The decisive next step is named: controlled-input comparator on the decode flash chain against the oracle cache views. Evidence in docs/bench-evidence/kolibri11-u3-oracle-20261125/residual-characterization-20261130.txt; issue ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…the decode-residual entry The decode flash-chain comparator exonerated every dispatched stage: the widened dot, the expf form, the online M/S update, the fused V mad, the 1/S scaling are each bit-exact to the live library on the oracle's own decode inputs (0/6144 elements at n_kv 6..8 with ggml_vec_dot_f16_f32 called directly; the production twin 0/288 on the real rows), and the sink join does not exist for kolibri1. The engine-vs-oracle decode residual is instead inherited from prefill: the L2 cache K/V for prompt slot 3 differ (2 f16 ULP / 1 ULP), written before any decode step, and the prefill stage walk traces that to a 1-ULP tie in the L0 pos0 rms_norm scale. The defect is model-local: Kolibri11AddRmsNormF32 accumulated the exact double product while the pinned rms_norm_f32 rounds each square to f32 first (ops.cpp `sum += (ggml_float)(x[i00] * x[i00])` @ 5f4d22289). norm_check.cpp proves it on the real row - dequantized token_embd row 325 through blk.0.attn_norm reproduces the oracle tap 0/2560 with the f32-rounded form; the exact-double form has 177 diffs, max 1.91e-6. The primitive now accumulates the f32-rounded square and is exported for the test. Red-first: tests/vllm/models/test_kolibri11_addnorm_f32.cpp drives an independent inline transcription on an adversarial row (the two summation forms provably differ, asserted) plus a control row exact in both forms. Red with the retired body, green 3/3 after the fix, double-product and multiply-association mutations each red (the fixture gamma had to leave all-1.0 weights for the association mutation to be detected), restore byte-for-byte green. Instruments ride along: the engine decode-input dump generalized to VT_KOLIBRI11_U3_LAYER with decode steps to 5, U3Dump gains VT_KOLIBRI11_U3_DUMP_CAP (default 4096, byte-neutral, documented in ENVIRONMENT.md), the oracle capture tool cb_eval_dump6 selects kqv_out by exact name (a strncmp prefix silently captured layer 29) and adds the sinks src (NULL for kolibri1), and the scratch gate scripts now export the full f32-chain environment the recorded gates claimed. Ladder with the chain engaged: the raw probe now generates 9224, 46, 543 - the tapped pinned binary's own third token - where the committed golden records 14147; the 24-gate holds 6/24 (1095/2686). The tapped pinned oracle and the committed goldens disagree at j=2, and the previous golden match came from this engine's ULP deviations from the pinned arithmetic; the golden provenance needs the coordinator's re-validation. Recorded as the 2026-12-01 NEEDS_DECISION in the lane PROCESS log. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…e from the cb_eval capture mode The golden provenance re-validation honored the recorded recipe end to end. The capture build is /tmp/llamacpp-kolibri11-32891-build (CMakeCache dated 2026-11-25 15:57, flags Release, GGML_LLAMAFILE=ON, GGML_NATIVE=ON, never rebuilt), the tap build is a separate tree /tmp/llamacpp-kolibri11-tap-build with identical flags, and both produce 14147 at j=2 under the recorded llama-server recipe (temperature 0, -t 32, cache_prompt false). The probe that reported 9224, 46, 543 was cb_eval_dump6, whose cp.cb_eval node-split graph execution perturbs the arithmetic; context and batch size do not reproduce the flip. Consequences recorded: the committed goldens stay the valid denominator and no re-capture is owed; token-level claims taken from cb_eval runs are VOID; the engine at d44362f7d now reproduces the cb_eval-mode arithmetic and the U3 exact gate fails against the validated golden (j=2 got=543 want=14147), so the engine must be re-adjudicated against the server arithmetic (ISSUE-LOCAL-01M8QN2JZQ0KZTEZ988B8SBZDB). The add-norm fix itself stands: it is proven bit-exact against the pinned rms_norm_f32 source. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…the L0-L2 layer set
The interrupted wave is completed: every decode dump site selects on
U3DumpLayerOn (VT_KOLIBRI11_U3_LAYERS comma list, default the historical
{0, U3DbgLayer()} set, byte-neutral off), the tags carry the real layer, a
last-row logits dump measures the 543/14147 argmax gap, and the staged
add-norm f32-rounded-square body (the d44362f7d fix body was working-tree
only at db8f41898) lands with its red-first test green.
Adjudication against the newly captured non-perturbing oracle write-time
flash taps (tokens [9224,46,14147,456,58], golden): our decode attention
core matches the TRUE server arithmetic at L0 decode 1 bit-for-bit and stays
within 8.9e-8 after; the divergence is an inherited ULP tie cascade (seed
under tap print resolution in the L0 decode-2 core inputs, amplified by the
quantized GEMM stages), reaching a 0.0918 logit gap at the j=2 flip. The
cascade fix route goes through the shared vt::MatmulBTQuant tie behavior,
reported as NEEDS_DECISION (ISSUE-LOCAL-01M8QN2JZQ0KZTEZ988B8SBZDB).
FOLLOWING_AGENTS_PROTOCOL
Following-Agents-Protocol: true
AI-Assisted: true
Assisted-by: AGENT:zai/glm-5.3-flash [task]
…LP tie cascade, not an arithmetic defect The L0-L2 decode comparison against the newly captured non-perturbing oracle write-time flash taps (golden tokens [9224,46,14147,456,58]) puts our decode attention core at L0 decode 1 bit-for-bit and within 8.9e-8 after; the L1/L2 residuals (8.9e-6 / 1.2e-4) are inherited amplification of a sub-print seed in the L0 decode-2 core inputs, and the j=2 token flip carries a 0.0918 logit gap, so it is not an argmax tie. The chain-engaged gate stands at 5/24 exact and the fix route goes through the shared vt::MatmulBTQuant tie seam; recorded as NEEDS_DECISION (ISSUE-LOCAL-01M8QN2JZQ0KZTEZ988B8SBZDB). FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…rope theta chain and the qk-norm sum The 2026-12-01 adjudication left the U3 exact gate failing at a 543-vs-14147 flip seeded below tap print resolution in the L0 decode-2 inputs. Extending the write-time taps on both sides to raw storage bits resolved the seed op bitwise. Two model-local fixes follow, each red-first with a bitwise fixture and a mutation. 1. RoPE. The pinned oracle builds the theta cache as an f32 sequential chain (ops.cpp:6231-6242 @ 5f4d22289: theta = pos, one theta *= powf(freq_base, -2/n_dims) per pair, cosf/sinf) and the pinned gcc build contracts the rotation to fmaf(-y,s,x*c) / fmaf(x,s,y*c). vt::RopeNeox derived each pair's theta in double with separate mul/sub — 1-4 ULP on roped dims, first divergence q dim0 3bcea7b0 vs 3bcea7b4. New Kolibri11GgmlRopeNeoxF32 on the 1.1 f32-attention path; test_kolibri11_rope_ggml GREEN 260/260 with the retired double-theta form as red witness and a pos=0 identity control; double-theta mutation RED 188/260, no-fma mutation RED 245/260, byte-for-byte restore GREEN. 2. Per-head qk-norm. vt::RmsNormKernel sums the variance in f32; ggml rms_norm_f32 accumulates the f32-rounded square into a double. New Kolibri11HeadRmsNormGgmlF32 on the 1.1 f32 qk-norm path; test_kolibri11_headnorm_ggml GREEN 257/257, f32-sum mutation RED 129/257, restore GREEN. With both fixes the entire L0 decode-2 input chain is bitwise-exact against the oracle write-time taps (q_rope 6144/6144, k_rope 512/512) and the raw probe returns the golden 9224, 46, 14147 (rc=0), where it had returned 543 at j=2 since the add-norm fix. 24-gate (chain env, rebuilt binary): 1236/2705 assertions, 7/24 exact — misses moved both directions (raw Write 17 -> 74). New precise lever named for the next wave: the oracle golden was captured with chunked prefill (2/2/1-token graphs in the write-time taps) while the engine prefills whole prompts; MatmulBTQuant dispatches GEMM vs GEMV by M, so the projections differ bitwise per row between chunkings. Engine prefill ubatch reconciliation with the llama-server capture defaults is the next parity step, not a tolerance question. Also: the raw probe gains an env-gated VT_PROBE_RUN index selector for per-run adjudication (default 0 = historical behavior); the U3 dump sites gain raw-bit columns and the pre-rope dump ordering fix (rope writes q3/k3 in place into qn/kn storage). Refs ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38; evidence docs/bench-evidence/kolibri11-u3-oracle-20261125/rope-seed-bisect-20261202.txt. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…prefill split is the server checkpoint 1/4, the chunk seam reaches bitwise per-row parity, and the sequential battery regresses
The "2/2/1 prefill" the U3 taps showed is the llama-server warmup, not the
prompt split. Executable pin: at llama-server defaults the 5-token golden
prompt is split 1/4 by the server checkpoint policy (tools/server/
server-context.cpp:4336-4478 @ 5f4d22289: do_checkpoint on
n_ctx_checkpoints=32 + COMPLETION + SWA, fill-loop break at
checkpoint_offsets {4+n_ubatch, 4} when task->n_tokens() == prompt_n +
min(n_batch, offset)); kolibri1 is neither recurrent nor hybrid
(src/llama-arch.cpp:1409,1423), n_rs_seq=0, so the memory fill is greedy and
the keep-tail split_equal branch is not involved. Verified with an
instrumented tap build: decodes 2,2,1 (warmup) then 1,4 (prompt) then 1s.
The landed row/ENG-CHUNKED-PREFILL seam (471e0ee) already transcribes
exactly this rule, so the lane rebased onto it with no extension and no
fork. The two U3 harnesses gain env-gated VT_PROBE_UBATCH (0 = inert
default); no product code changed.
Measured: the engine plan is (1,4); the 4-token chunk matches the oracle
node tap bitwise 24576/24576 (q_proj_out L0, value + raw bits), the
1-token chunk and whole-prompt token-1 rows match too, and the whole-prompt
prefill differs 1-2 ULP from token 2 on (row 6144: bc01181a vs bc011814) —
the ULP lever is real for kolibri. Standalone chunked probes runs 0/1/2 are
ALL EXACT. But the in-process 24-gate battery with chunking engaged
(chain env) regresses to 6/24 (18 failing tags, 1077/2775 assertions) from
7/24, with standalone-exact prompts flipping mid-battery: the chunk
continuation corrupts state across sequential requests on the kolibri-1.1
sparse-kv-source + recurrent cache path. Filed
ISSUE-LOCAL-01M8TBA3XW1Y284PBJTYV8PWXS. NEEDS_DECISION: the seam reaches
bitwise per-row oracle parity on isolated requests but owes the
cross-request repair before a default-on flip.
FOLLOWING_AGENTS_PROTOCOL
Following-Agents-Protocol: true
AI-Assisted: true
Assisted-by: AGENT:zai/glm-5.3-flash [task]
…fect issue closes falsified and the ULP lever adjudicates to hold unchunked The lane rebased onto the chunked-prefill seam head (dca788a, 508c5f5). ISSUE-LOCAL-01M8TBA3XW1Y284PBJTYV8PWXS closes as falsified: the seam runner fixture proves two sequential chunked prefills reassemble field-for-field on one runner (66/66 green), so the 6/24-vs-7/24 battery delta is the MatmulBTQuant GEMM/GEMV-by-M dispatch between the chunked and unchunked arithmetics, not cross-request state corruption. The re-adjudication runs the 24-gate battery chunked and unchunked twice against the chunked oracle denominator: chunked 6/24 (per-leg identical to the prior chunked run, deterministic), unchunked 7/24 twice with byte-identical per-leg distributions (stable). Chunking nets 6 vs 7 (gains both Translate legs, loses both raw France legs and chat Write), so the ladder holds unchunked and the chunked direction owes the remaining numeric stages first. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…cts per the pinned build The third seed of the U3 ladder: the per-head norm band resolved to the attention core's online-softmax SUM recurrence, not a norm. ops.cpp:9039 @ 5f4d22289 writes S = S*ms + vs, which the pinned gcc build (default -ffp-contract=fast) compiles as one fmaf; the tree builds -ffp-contract=off, so the ggml_flash_order arm of the paged attention two-rounded it. The per-key oracle/engine trace pinned the seed bitwise (identical s, ms, vs; S 3f8bf95b contracted vs 3f8bf95c two-rounding), and a live-libggml harness excluded the KQ dot (bit-identical on the tapped inputs). Both recurrences (key loop and sink) now use std::fma explicitly. After the fix the engine L0 flash core matches the oracle node tap 67584/67584 bitwise at matched chunking; the L0 prefill chain (addnorm, projections, rope, attention core) is bitwise-exact end to end. The reference transcription inside the flash-order test was uncontracted too, so the gate was blind to the defect; the red-first step contracts the reference, which turns all four arm cases red before the kernel fix, and a new witness case pins both roundings of the traced recurrence. Mutating the kernel back to mul-add turns four cases red; byte-exact restore is green. Gate trajectory (rebuilt binaries): unchunked 1147/2705 with 0/24 tags exact - the engine now reproduces the unchunked oracle exactly, whose tokens differ from the CHUNKED golden on the previously accidentally-exact legs; chunked 1274/2686 with 6/24 exact, the legs moved onto the chunked-reachable set (capital-of-France and sky legs, chat Translate) while raw:Write keeps its j=17 first diff and the remaining misses sit at j=36..113 in the quantized tie cascade. The held-config question (unchunked default vs the chunk seam default-on for kolibri) returns to the developer with docs/bench-evidence/kolibri11-u3-oracle-20261125/fattn-seed-bisect-20261202.txt as evidence; it is not self-ratified here. The raw probe's VT_PROBE_RUN selector becomes a direct index (the historical 3->2 remap is retired) - the adjudication aid this wave's captures used. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…and the L0 attention core reaches bitwise parity The append-only PROCESS.md entry for afbe0b34f: capture validation re-ran both failed oracle head-norm captures, the per-key trace bisected the flash softmax recurrence to the pinned build's fma contraction, the gate trajectory records the unchunked/chunked re-split (1147/2705 with 0/24 and 1274/2686 with 6/24, legs moved onto the chunked-reachable set), and the held-config near-tie question is routed to the developer unratified. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…ds and the deep-step dump knobs widen The coordinator ruling is recorded in the U3 spec: the exact-gate denominator is the CHUNKED oracle capture (the golden was taken by llama-server with the checkpoint 1/4 split at server defaults), the ladder config holds VT_PROBE_UBATCH=512, and unchunked fidelity stays as the UB=0 test evidence. The audit instrumentation widens to the deep decode steps the tie-cascade hunt needs: VT_KOLIBRI11_U3_DEC_CAP retargets the hardcoded dump decode ceiling (default 10, byte-neutral off path), and VT_PROBE_NTOK / VT_PROBE_RUN extend the raw probe (default 3 tokens, default run 0). All three keys join the env-doc allowlist (check-env-doc green both directions). The baseline CHUNKED gate at this HEAD reproduces the recorded distribution exactly (1274/2686, 6/24 legs), which proves the instrumentation byte-neutral. The wave evidence is in the lane record: L0 flash core bitwise-exact at the 5/4 chunk shapes vs oracle node taps, the oproj-divergence lead retracted as an aliased prefill-tap artifact, and a live-libggml harness proving the engine's repack GEMM dispatch bitwise-identical to the pinned CPU_REPACK path. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…ates the seed hunt at the MoE tower The per-decode logits comparison (engine full-vocab dumps vs the pinned llama-server completion_probabilities) shows the engine-vs-oracle logit drift is already 0.05-0.9 at the first generated token and stays flat while the top-1 keeps matching - a constant amplified offset, not a per-decode cascade. The j=17 raw:Write miss is a 0.0586 near-tie between 543 and 1231. Every L0 stage with a valid bitwise channel is exact (flash core, repack GEMM oproj, projections, rope, norms); the one never-proven stage is the L0 MoE tower, which is where the next seed bisection is owed. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
… ggml's vectorized expf The L0 MoE-tower bitwise bisection (write-time oracle taps, the trusted channel) proved every tower stage exact except one: silu. The pinned oracle computes silu through ggml's vectorized expf — ggml_v_expf (float32x4_t, ggml-cpu/vec.h:1184-1222 @ 5f4d22289) — while SiluMulF32 used libm std::exp; the two disagree at 1-ULP class on ~12% of inputs (439/3584 on the L0 dense swiglu at decode j0, 574/2560 on ffn_out), exactly the constant amplified sub-ULP seed the tap-free logits instrument traced to the tower (drift 0.05-0.9 at j=0, flat across decodes). The fix transcribes the NEON polynomial lane-wise scalar (every op a single f32 op, explicit fmaf where the NEON uses vfma/vfms) and is bitwise 0/3584 against both the oracle decode tap and the chunk-1 prefill tap; it also reproduces live ggml_vec_silu_f32 exactly across a 4000-point -200..100 sweep. Red-first: tests/vllm/models/test_kolibri11_silu_ggml.cpp is green at 2 cases / 38 assertions and the std::exp mutation sends 4 assertions red; byte-exact restore is green. Ladder: raw probe exact (9224, 46, 14147); the CHUNKED 24-gate keeps 6/24 exact legs while the misses move (raw:Write j=17 -> 62, chat fibonacci 36 -> 40), evidence in u3dump/gate-silu3-20261203.log. The dense-stage scratch dumps now gate their Downloads on VT_KOLIBRI11_U3_DUMP. Fixes ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38 (U3 numeric audit lane; the tower stage of the seed bisection named in the logits-wave record). FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…ate keeps 6/24 with relocated misses Append-only lane record for f610d2a3c: preflight rc, the ladder table (6/24 exact set unchanged, raw:Write 17->62), and the lane state. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…dicated and the fix is withdrawn on a 4/24 gate regression Write-time taps on the current binary bisect raw:Write's first miss to the MoeBlockF32 decode router dot: the old four-scalar-accumulator transcription disagrees with live ggml_vec_dot_f32 at 185/200 adversarial dots, the corrected form is bitwise 0/200 and lands green behind a witness test with a red mutation. The 24-leg gate moves 6/24 to 4/24 and an everywhere-vs-decode-only A/B pins the movement to the decode arm, so the oracle's two-arm router (vec_dot decode, tinyBLAS prefill) is owed both mirrors before either seed closes; the production change is withdrawn byte-exact and the wave is recorded with the aliased decode-tap channels it surfaced. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…ot_f32 for every t and the two-arm prefill premise is falsified The withdrawn 2026-12-03 router fix regressed the gate because the record assumed the oracle's router mul_mat is two-armed (ggml_vec_dot_f32 decode, tinyBLAS prefill). The live library falsifies that premise: the pinned build compiles with __ARM_FEATURE_MATMUL_INT8, and ggml-cpu.c:47-48 undefines GGML_USE_LLAMAFILE, so mul_mat never calls llamafile_sgemm — ggml_cpu_has_llamafile() returns 0 on both pinned libggml-cpu builds, and a real f32 mul_mat graph through the pinned CPU backend matches the vec_dot transcription bitwise at every t in 1..6 (8064/8064) while the tinyBLAS transcription matches only 563/8064 (/tmp/kolibri11-u3-oracle-tap/router_prefill_ab.cpp). The tiled mul_mat path is quant-src0-only, so it cannot take the f32 router either. The router has ONE arm; dispatching by M would have mirrored a build that is not the oracle. Kolibri11RouterDotGgmlF32 transcribes the non-SVE NEON arm exactly (STEP16/EPR4/ARR4 lane-wise vfma, pairwise reduce, vaddvq association, f32 tail — vec.cpp:104 declares float sumf, so the leftovers accumulate in f32, not ggml_float) and MoeBlockF32 calls it for every t. The retired four-scalar-accumulator form was 185/200 mismatches vs the live symbol. The red-first test pins a stronger witness set: contraction-free inputs, interleaved x/w LCG draws (a two-loop regeneration was this wave's own false red), and lane-separated cases that pin the reduce-tree association. Tail cases are excluded deliberately: the live tail is gcc-contraction-lowered and the router's n=2560 is tail-free. Mutations: the retired scalar form goes red, the alt reduce tree goes red, both byte-exact restores green. Ladder: raw probe 5/5 exact; the chunked 24-gate holds the withdrawn fix's 851/2726 (4/24, raw:Write 62->17) — the oracle-exact router reshuffles the near-tie landscape and the surviving misses are the named quantized-GEMM tie cascade, so the leg count moves from an accidentally close kernel to a provably exact one. The aliased decode dump channels (moe_ffn_inp engine dump, oracle ffn_inp and attn_norm tap semantics) are recorded at the dump site; moe_logits and moe_shared stay the validated MoE channels. Fixes ISSUE-LOCAL-01M89VXP4MQ8C9PWDZ36N3YC38 (U3 numeric audit lane; the router stage of the seed bisection named in the write62 record). FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…cle's mul_mat_id gemv class The raw:Translate leg diverged at the FIRST generated token while the MoE input chain was bitwise exact against the oracle prefill taps: the seed was the routed-expert output. OwnExpertQuant built no repacked copy, so the per-slot M=1 calls ran the plain vec_dot class, while the pinned oracle repacks the 3D expert towers (ne[1]%8==0) and its mul_mat_id computes one gemv per (weight row, routed slot) with the fused q8_K quantizer — the tiled takeover is quant-src0-only and returns false on aarch64, so there is no second fp order to mirror. Expert slices now carry the same second-copy repacked bytes as OwnProjection behind the existing VT_CPU_QUANT_REPACK_KQ seam (default byte-neutral), gated by QuantRepackEligible. Evidence (oracle pf04_t4 taps, raw:Translate, final prompt position): before, ffn_x/moe_shared exact and moe_routed DIFF 2173/2560 at L2 (2073/2560 at L3), first residual diff at the L3 input, probe j=0 got 14984 want 5438; after, ffn_x/moe_shared/moe_routed exact at L2 and L3 and the residual stream exact at the final position through all 50 layers. Red-first test tests/vllm/models/test_kolibri11_expert_repack.cpp: 11/11 on-knob, 3/3 byte-neutrality off-knob; mutation (repack_slice skipped) reds REQUIRE_FALSE(rep.Empty()); byte-exact restore green. All five raw probe legs exact for 30 tokens; CHUNKED 24-gate moves 4/24 -> 12/24 legs exact (2062/2787 assertions) and the three early-diverging legs (raw:Translate, raw List, raw France) are now exact end-to-end; the 12 surviving legs first-diff at j=24..116, the deep quantized-GEMM tie cascade (separate seed). One stale-binary gate attempt during the mutation cycle (725 failures, j=-1) is recorded as the relink rule: after a mutate/restore cycle, relink every consumer binary that produces evidence. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…cle's ignore_eos EOG ban The pinned llama-server adds -inf logit bias for every EOG token when ignore_eos is set (common.cpp:1366-1374); Kolibri-1.1-Q4_K_M's EOS token 127906 is in that set. The engine mirrors vLLM's ignore_eos and samples the token, flipping the near-tie at got[24]. Bitwise chain: the residual stream is exact through the whole first-divergence decode (engine dec d <-> oracle step d-1, L1..L49 attn_norm in-rows exact at every decode), and a per-element sampler-chain trace shows the oracle picking the golden 127908 only through the EOG bias. Second measured finding recorded: engine dec26 logits differ from the oracle result_output at 127999/128000 elements (max 0.05) with the residual exact to L49's input, so the next seed sits inside L49's forward, the final norm, or the LM-head gemv class. The EOG fix touches the shared sampling seam and is filed NEEDS_DECISION (ISSUE-LOCAL-01M8YQDYH3VXBTFYP7Q2JH6D39). The raw probe gains VT_PROBE_MODE so the chat battery is reachable for tap captures. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…n_in/fn_res/fn_out final-norm tags and per-slot routed MoE/id dumps The kolibri11-u3 L49/finale bisect needed dump channels the engine lacked: the final norm's input/residual/output (fn_in/fn_res/fn_out, write-time U3Dump family) and per-slot routed-expert stage dumps (gate/up/swiglu/down/ weight/id per routed slot). All env-gated on the existing VT_KOLIBRI11_U3_DUMP audit knobs; byte-neutral without the env. The capture run proved the dec26 divergence sits at the final-norm + LM-head stage: L49 attention (n_kv=79 flash regime), the full L49 MoE (router logits, weights, all six slots' gate/up/swiglu/down, routed sum) and the whole residual stream are bitwise-exact against the oracle taps; the fn_in channel itself is recorded VOID (the fused chain mutates its input before the dump reads it). PROCESS.md carries the full verdict, the channel records, and the owed next wave. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…n form — f32 final norm over the unrounded f32 sum and the stored-Q6_K untied head — engine dec26 logits reproduce the oracle result_output 128000/128000 bitwise, 24-gate 12/24 -> 18/24 legs exact The offline adjudication against the pinned oracle taps at dec26/step25 (chat_ignore_eos France) proved: result_norm = (inpL*scale)*output_norm with inpL = f32(post-FFW-normed MoE out) + f32 residual — the residual UNROUNDED, so the L49-end bf16 cast was a defect — in ggml rms_norm_f32 arithmetic (double sum of f32-rounded squares, scale = 1/sqrtf(f32(mean)+eps)), and the LM head as mul_mat over the STORED Q6_K output.weight with the f32 result_norm (ggml from_float -> Q8_K -> ggml_vec_dot_q6_K_q8_K). The head_graph_probe through the pinned oracle's own libggml-cpu reproduced the tapped result_output exactly; the retired engine form (bf16 residual cast, bf16 dnorm, bf16 dequantized head master) left 127999/128000 logits elements wrong (max diff 0.05116). Fix, model-local on the 1.1 f32 arm: the final norm stays f32 and runs through the proven Kolibri11AddRmsNormF32; the L49-end residual cast is skipped when the whole network is f32; the gather buffer and head src are f32; the head runs through the existing LinearBT / vt::cpu::QuantRepackMatmul seam on the stored-Q6_K + repacked copy (lm_head_q, byte-neutral on 1.0 and tied heads). The sync-hardened pre-compute fn_in/fn_res dumps move BEFORE the final-norm compute (the post-compute fn_in/fn_out channels were VOID — PROCESS 2026-12-04). Red-first: test_kolibri11_finale (hermetic, fixture = the engine's bitwise-proven fnin/ffx/gamma plus the oracle result_norm witness bits) passes 2 cases/9 assertions including the red-capability assertion that the retired bf16-rounded form mismatches the witness. MUTATION A (dnorm back to kBF16) went red at the model level (logits max diff 0.03559, 3/128000 bitwise); byte-exact restore. MUTATION B (head back on the bf16 master) went red harder (the bf16-master arm cannot consume an f32 src: logits nan, leg diverges at j=23); byte-exact restore + relink. GREEN at the model level: dec26 logits == oracle result_output on 128000/128000 elements. Ladder: the France raw probe holds 9224/46/14147. The chunked 24-gate moves 12/24 -> 18/24 legs exact (2448/2787 vs 2062/2787): raw:Write (j=74), raw:sky (j=65) and chat:fibonacci (j=40) flip — every non-ignore_eos leg is now exact. The 6 surviving misses are all ignore_eos legs with the same first-diff j as the pre-fix baseline; they stay blocked on the escalated EOG-ban decision, ISSUE-LOCAL-01M8YQDYH3VXBTFYP7Q2JH6D39 (open). The first post-fix gate regressed to warmup-token divergences because test_kolibri11_paged_engine was not relinked after the mutate/restore cycle had rebuilt libvllm.a; the relink + rerun recorded the true result (gate-finale-20261204.log VOID, gate-finale2-20261204.log clean). FOLLOWING_AGENTS_PROTOCOL The kolibri11-u3 lane closes the finale-stage seed: the final norm and LM head now mirror the pinned oracle bitwise, the tap-build pre-compute snapshot and the head_graph_probe oracle-side evidence are recorded, and the remaining gate gap is the single escalated ignore_eos/EOG decision. Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [task]
…-blocked Owed entry and the 18/24 stability evidence The arithmetic campaign completes bitwise: 18/24 legs of the chunked 24-gate exact end-to-end - every non-ignore_eos leg token-for-token against the llama.cpp PR #32891 @ 5f4d22289 goldens; all 50 layers proven per-stage at bitwise resolution (flash core, oproj, full MoE incl. all 6 routed slots, residual stream at dec26, finale norm and LM head at 128000/128000 logits). The 6 misses are exactly the ignore_eos legs, blocked on the escalated EOG-ban decision (ISSUE-LOCAL-01M8YQDYH3VXBTFYP7Q2JH6D39): the pinned oracle fork bans every EOG token with -inf logit bias under ignore_eos (common.cpp:1366-1374) while the engine mirrors vLLM. Stability runs show zero churn (2448/2787 twice, byte-identical failure sequence); the France probe holds 9224/46/14147 on every run. Public docs drop the stale no-parity claim for the measured 18/24 state; the VK_ dump knobs are allowlisted; spec ## Outcome and ## Owed record the ledger, the falsified-premises list and the EOG debt. FOLLOWING_AGENTS_PROTOCOL Following-Agents-Protocol: true AI-Assisted: true Assisted-by: AGENT:zai/glm-5.3-flash [maki]
This branch has not been deployed
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.
feat(MODEL-TEXT-kolibri-1-1-u3): the kolibri1.1 indexed-attention forward - 18/24 legs of the exact gate end-to-end, the 6 remaining blocked on an escalated oracle semantic
Ports the kolibri1.1 GGUF forward (indexed attention with per-layer
KV-source routing, sparse top-k candidates, latent MoE with shared
expert) through the U3 f32 chain and closes the arithmetic campaign
bitwise: every stage of all 50 layers is proven elementwise against
the pinned oracle build (llama.cpp PR #32891 @ 5f4d22289), and the
chunked 24-gate reproduces 18/24 legs end-to-end token-for-token -
every leg that does not involve ignore_eos. The France raw probe
holds 9224, 46, 14147 on every run; stability runs show zero churn.
The 6 remaining misses are exactly the ignore_eos legs, and they are
a SAMPLING-SEMANTIC divergence, not arithmetic: the pinned oracle
fork bans every EOG token with a -inf logit bias under ignore_eos
(common.cpp:1366-1374) while our engine mirrors vLLM's ignore_eos
(skip the stop check, keep sampling EOG). With the residual stream
bitwise-exact through the whole first-divergence decode, engine and
oracle logits agree to 1/128000 elements and both rank the banned EOS
first - the fork's ban then selects the golden's second-ranked token.
Mirroring the fork's ban is escalated as
ISSUE-LOCAL-01M8YQDYH3VXBTFYP7Q2JH6D39 (a vLLM-vs-oracle semantic
question, developer-decided); the six legs stay documented and blocked
on it, deliberately not tolerance-matched.
The campaign's transcription set, each proven bitwise against the live
libggml-cpu or the oracle taps: the f32 chain per-op (router dot as the
NEON ggml_vec_dot_f32 with the f32 tail, silu-mul through ggml_v_expf,
add-norm square rounding, rope theta chain, head-norm double-sum form),
the widened flash K dot and the gcc-contracted flash S recurrence, the
routed-expert tower repack onto the mul_mat_id gemv class, the finale
(f32 final norm over the unrounded f32 sum; f32 result_norm; LM head =
stored-Q6_K x f32 result_norm through the shared repack seam), the
sparse-attention layer set (every non-swa layer), the per-layer
KV-source routing, and the loop Control op with per-half rms. The
falsified-premises ledger (cb_eval perturbation, pf-tap voidness,
three wrong transcription targets, two-arm router, joint-rms control)
is recorded with bitwise retraction evidence in the spec ## Outcome.
Loading the 45.5 GB Q4_K_M 1.1 GGUF still materializes the ~149 GB
bf16 masters - the stored-type loader fix (parity + memory, one
change) is tracked as an owed row.
FOLLOWING_AGENTS_PROTOCOL
Following-Agents-Protocol: true
AI-Assisted: true
Assisted-by: AGENT:zai/glm-5.3-flash [maki]