Files
UnbiasedStrata/include
Robert KarlandClaude Fable 5.1 23cbcace3f Prefill kernels: the GDN kernels forked per geometry, the gate a parameter, the MoE and attention helpers at runtime widths
The GDN kernels (gates, conv, l2, the three recurrences, the output norm) become
templates on <HV, HK, C> with the output gate (sigmoid for Flash-Next, SiLU for
Qwen3.6) a bool parameter, dispatched from a GdnGeom through gdn_dispatch at the
two geometries 48/16/10240 and 32/16/8192 (any other stops the process, and
gdn_geometry_supported lets Prefill::init refuse it first).  route() takes k,
moe_combine the width and k, the SwiGLU kernels n_ff, split_q and gate_attn
n_head.  New: rms_norm_images and residual_add (the plain block at hc = 1),
dense_ids (every cell up to the query's own, for the dense model).

Study section 3.6 and 6 (step 3, the prefill bullet).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017tPVMg2wGSNR1KANEiUtwr
2026-10-11 13:03:25 -07:00
..