You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
lane: CPU reference of the packed DeltaNet trace (byte limbs) for one real head and 4 tokens, checked against the harness head and the design's packed count (CPU) #240
Question. Every full-model memory and cost figure for Qwen rests on the design's packed DeltaNet count (95,057,841 committed entries per token, 88% of the model, experiments/20261109-32-qwen-m3-design/RESULTS.md), which no code has ever produced. Does a CPU reference that actually lays out one head's trace as the packed design says (state in three signed-byte limbs, and the other arrays of DESIGN 7.3) produce that count, with every limb inside its class on real layer-0 inputs?
Why it is on the shortest path. DESIGN section 9 puts this row before any CUDA: "count off by more than 10%: recount 7.3 before any CUDA". The next GPU steps (M3b-1, and any Modal run that sizes a DeltaNet segment) are planned from this count, and the Q3 cost model inherits it. It needs no GPU and no new arithmetic, only a faithful layout of a design that exists.
Milestone (one lane, about 2.5 hours).
PREREG first, alone: the packed layout read from DESIGN 7.3 and research/operators/qwen_m3/count_m3.py (array by array: name, shape per head per token, limb count, class), the input (layer 0, V head 0, real weights; 4 tokens of PR research: end-to-end token agreement of XS18/XS20 DeltaNet lowering, stock and abliterated (#8) #124's fixture prompt; the head's integer inputs from the M2 reference), PASS = count within 10% and every limb in class.
New directory research/operators/qwen_packed_ref/: numpy, exact integers. For each token: produce every packed array from the harness head's integer values (research/operators/qwen_deltanet_m2_build/reference_m2.py or the M2 reference it names), recompose each value from its limbs and compare with the harness value exactly, count entries.
Report the per-array count next to the design's, the ratio, and max |limb| per array.
Out of scope. Any proof, CUDA or relation; the low-rank form (not established); the chunk-boundary handoff; other heads or layers; accuracy.
Negative result. The ratio is off by more than 10%, or some limb leaves its class on real inputs: recount DESIGN 7.3 before anything is planned on a GPU, and every Qwen memory figure that used 95.1M is suspect by that ratio.
Estimate. CPU minutes, under 2 GB. Layer-0 head-0 weights only (reuse PR #231's data, about 232 MB, SHA-256 checked); no other fetch.
PASS on both registered criteria. Measured, unreplicated. Scope: one head (layer 0, V head 0), real stock weights, 4 tokens of the fixture prompt. No proof.
Count: 88,703.33 byte limbs per V head per token, against the 85,861.33 in DESIGN 7.3 / count_m3. Ratio 1.0331, inside the 10% bar. The design's own arrays come to 85,845.33. The extra 3.3% is floor remainders the 7.3 count leaves out (2,816 limbs) plus 26 more scalar limbs.
Classes: every limb is in its class, every remainder is in its exact class, and every value recomposes exactly. The 5 runs are identical.
Full model with the built head in place (counted, not built; 1.27 factor and dense parts unchanged): 97.8M entries per token instead of 95.1M.
Finding: the design gives s = SiLU(z) 2 limbs, which top out at 32,639. The pinned table's maximum is 32,741, so 2 limbs are too narrow. s stayed in class on this input but went out of class on the synthetic debug input.
Not established: any proof, CUDA or relation; other inputs, heads, layers or windows; the M3 arithmetic (the arrays hold M2 harness values); the low-rank form; the chunk handoff; accuracy.
Activity
research: PREREG for #240 packed DeltaNet trace reference (one head, …
research: #240 PREREG amendment A1 (debug finding on s, before the re…
research: #240 packed trace reference code, input hashes, checker con…
research: #240 registered run and 4 repeats (stock layer 0, V head 0,…
research: #240 RESULTS (PASS, ratio 1.0331), ENV, README, inventory e…
wakesync commentedon Nov 29, 2026
Draft PR: #247
PASS on both registered criteria. Measured, unreplicated. Scope: one head (layer 0, V head 0), real stock weights, 4 tokens of the fixture prompt. No proof.
Not established: any proof, CUDA or relation; other inputs, heads, layers or windows; the M3 arithmetic (the arrays hold M2 harness values); the low-rank form; the chunk handoff; accuracy.