Commit Graph
3 Commits
Author SHA1 Message Date
Robert KarlandClaude Fable 5.1 44b419b6c4 mtp: the Qwen3.6 drafter on the plain graph
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
2026-10-11 14:36:13 -07:00
Robert KarlandClaude Fable 5.1 99c7614a01 Qwen3.6 step 3: one QsaShapes builder (strata/core/qsa_shapes.hpp); dense = the three indexer widths zero, in qsa_dense and the kernels' guard alike
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
2026-10-11 13:50:26 -07:00
Robert KarlandClaude Fable 5.1 12a7825605 Import Strata at 6f32ec0 (upstream snapshot, unmodified)
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>
2026-10-04 12:55:44 -07:00