Files
UnbiasedStrata/src
Robert KarlandClaude Fable 5.1 3144f22dc7 Prefill: dense attention through the attention branch's kernels; the Qwen3.6 harness and its fixtures
The attention layer of a model without an indexer takes the cherry-picked
kernels as the attention branch defines them: the shapes zero the three indexer
widths (qsa_dense), the capacity is qsa_selection_cap (every cell), no ids are
carved or passed (a null is the identity), the group G comes from the geometry
and any other ratio is refused by name before a launch.  The own dense_ids
kernel goes (qsa_identity_ids is the explicit form).  A model with no attention
layer at all (the harness's gdn3 fixture) has no primary attention state: the
reads of it are guarded.  STRATA_PREFILL_ALLOC_TRACE=1 names the allocation
that did not fit.

tests/python/qwen36_prefill_fixture.py writes the synthetic model at the real
per-layer widths (gdn3: three DeltaNet layers; full4: plus the attention layer;
Q8_0 projections and experts, BF16-exact routers) and the oracle's dumps for 40
tokens, faithful, --act-quant q8, and the rival readings.
tests/cuda/prefill_qwen36_test.cpp runs the prompt path on them as one chunk
and in chunks of 7 with every layer's input teacher-forced to the oracle's
l_out, holds each seam to the dumps, checks the router's top-k, the negative
controls and the geometry refusals; CTest: prefill_qwen36_fixtures,
prefill_qwen36_test, prefill_qwen36_attn_test.

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
..