A second path chosen by the geometry's architecture: concat(rms_norm(emb) * enorm, rms_norm(h) * hnorm) through
eh_proj, one plain attention + MoE block over the drafter's own dense KV (the routed experts through the native GPU
expert kernels on the resident blobs, the gated shared expert), shared_head_norm, the main head. h is the trunk's
output-normed hidden state, so the drafter applies output_norm to the residual rows it is handed, as llama.cpp's
h_nextn. The pack is checked against the trunk's geometry by name. debug_row runs one row outside any graph and
hands every seam to the harness by llama.cpp's cb() names, with the rival readings as its negative controls. The
Flash-Next path is untouched.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
verify.cpp's and mtp.cpp's hand-written builders copied the geometry's two zeros and kept qsa_real_shapes()'s idx_top_k 2048, a shape that was neither sparse nor dense: qsa_dense said dense, the kernels' guard said "not set up" and exited at the window's first kv_append. The builder is now one inline function used by layer, verify and mtp (session and prefill follow in [shared] commits), qsa_dense tests all three widths, and qsa_shapes_valid (non-exiting, what validate() prints and exits on) refuses a half-set shape by name. The parity test builds the shape through the builder for a qwen35moe and a qwen4exp geometry and holds the half-set one as the negative.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
Source: https://github.com/Niko1221/Strata, commit 6f32ec070f23ced9f50e704d854d775da52591ab
(engine 0.1.39, MIT). Every file is as upstream published it; later commits
show exactly what this fork changes.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>