interplane.Get Omega
Read in your language

benchmarks-mv

Measurement harnesses and evidence bundles for AIEN on the NVIDIA DGX Spark GB10. Speed is reported against the machine's physical limit and my own previous run. Attachment of AienOS.

Brought by drakestapleton

branch main Branches Tags History

benchmarks-mv / evidence / q36-step-model-20261031 / negctl-perturbed-query.wl

217 lines · 46265 bytes Raw Blame History
1(* q36in: generated by scripts/extract-inputs.sh from the files pinned in SHA256SUMS; do not edit by hand *)
2q36in = <|
3 "source" -> "aien-sovereign-core-mv d3dec0eb evidence/motor-chip-20261021 + q36-host-20261020 goldens",
4 "ladderNs1" -> {25559839,25023610,25645169,25016714,25731505,25004938,24944698,25036762,26158197,25320206,24951466,26271559,25284333,25096059,25146124,25762226,25859395,25044362,25444478,25381550,25874691,25136971,25851138,25901795,25858690,25153403,25202940,25806530,25988676,25800562,25153563,25155004,26388103,25210892,25055771,25190748},
5 "ladderFileMedianNs1" -> 25320206,
6 "ladderHeads1" -> 1,
7 "ladderNs2" -> {28919137,31929006,32636054,32075424,31410762,32545221,32026400,32533604,32328995,32625910,32621765,31897583,31979791,31670189,31773325,31422810,31636316,31783661,32514341,32871208,32464756,32450580,31938767,32757447,31932991,32756151,32629110,32550101,32429075,32020368,31706093,31603803,30777587,33271085,32724214,32858696,32529413,32033008,32738870,32434804,32635638,32759351,34579081,32736807,32628678,34486504},
8 "ladderFileMedianNs2" -> 32464756,
9 "ladderHeads2" -> 2,
10 "ladderNs4" -> {34900940,43093054,43792373,43745284,44113511,45391444,44184840,44350601,43524657,44481723,43915734,44397435,45542406,45308067,43650675,44042631,45459077,41949249,42293013,43096941,44012967,47180598,45735799,44540332,44724782,45192546,45778328,44930576,44845934,44227161,45780008,46799747,44100968,44201129,45604230,44531419,44012230,44223256,44831855,45528501,45536837,48388706,42879403,41617071,42066739,42173780},
11 "ladderFileMedianNs4" -> 44350601,
12 "ladderHeads4" -> 4,
13 "ladderNs8" -> {64854846,78425607,75671883,78719338,82894372,82074315,79219583,84152704,85160507,84434723,86424375,89807945,87493714,82175468,85372476,85607663,90429999,89388453,90594017,91656204,89421942,91001829,88133560,91091862,91894831,87020765,90104844,90633346,89802618,87493058,90757698,88531900,88831311,89996587,87864358,91410089,85427837,89263556,91151079,89602615,95234432,89583175,90511184,92344483,89330772,90601633,82657265,86262837,89192627,86518792,81122354,85509102,85944066,87939334,86235349,85855265,86497559,87994007,89505606,85031640,86680233,89462709,87447601,82087259,84411891,84660117,82141980,81195634,81894217,79735891,79088717,78336021,79970917,79408656,79774019,78651784,78294228,77966610,79338624,78506871,81114801,79650627,77994769,77498829,81269971,79490881,80857631,79197966,77162313,77464108,86834058,80025734,79175182,80216936,82281421,79873460,79715556},
14 "ladderFileMedianNs8" -> 85427837,
15 "ladderHeads8" -> 8,
16 "readmeLadderMs" -> {25.320, 32.465, 44.351, 85.428},
17 "stampsNs" -> {63828570,75724657,76009043,75943938,75990131,81896478,78963089,82778775,85986182,84647529,86366634,86144744,84652537,81537418,83568527,85261231,92454871,85421120,85645795,88244508,87547798,88801282,87663159,87827015,89489273,85718180,87337796,88982084,88448558,87004336,89515337,88619680,87711239,88741170,86731358,88098075,88654704,87420308,87927721,94195160,87795544,90361778,87449124,88023210,88122299,87068353,79705671,84076067,85477601,84394758,82052351,84092868,86883951,88808659,83521982,84523143,86495819,86640124,86392681,83544366,83293371,86581548,85009500,84388534,79799385,83155209,80669889,81234167,80579904,79864778,78717038,77710195,76530680,77990871,77936710,76305782,76527080,76336694,77879606,75504238,79915610,78193864,77970247,76047315,78597772,78310521,76534328,77959526,76526856,82057535,81363817,80334381,79315428,77724068,77528162,76775483,77843813},
18 "stampsLogMedianMs" -> 84.076,
19 "stampsKindNs" -> <|"ab" -> 419776, "argmax" -> 137760, "attn" -> 5300576, "down" -> 15857952, "gate" -> 220832, "gate_up" -> 22839968, "gather" -> 58784, "gdn" -> 7236864, "group" -> 508992, "lm_head" -> 9619136, "mix" -> 6501856, "norm" -> 11968, "o_proj" -> 2433344, "perm" -> 1500160, "res" -> 2833472, "router" -> 2131328, "swiglu" -> 125632|>,
20 "stampsKindLaunches" -> <|"ab" -> 30, "argmax" -> 16, "attn" -> 80, "down" -> 40, "gate" -> 80, "gate_up" -> 40, "gather" -> 10, "gdn" -> 240, "group" -> 40, "lm_head" -> 2, "mix" -> 40, "norm" -> 1, "o_proj" -> 40, "perm" -> 370, "res" -> 360, "router" -> 40, "swiglu" -> 40|>,
21 "stampsTotalNs" -> 77738400,
22 "pinnedUnionMean[4p]" -> 29.374193548387098,
23 "pinnedUnionIndep[4p]" -> 30.531005859375,
24 "pinnedUnionMean[4chat]" -> 29.70806451612903,
25 "pinnedUnionIndep[4chat]" -> 30.531005859375,
26 "pinnedUnionMean[8prompts]" -> 54.71774193548387,
27 "pinnedUnionIndep[8prompts]" -> 57.42083078599535,
28 "pinnedUnionMean[8prompts-b]" -> 54.54112903225806,
29 "pinnedUnionIndep[8prompts-b]" -> 57.42083078599535,
30 "cells[ladder1-p1]" -> {8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8,8},
31 "cells[ladder2-p1p2]" -> {16,16,15,16,16,16,14,14,15,14,16,15,16,16,15,16,15,14,16,16,16,15,16,16,16,16,16,16,16,16,16,16,16,15,16,15,16,16,16,16,16,15,16,16,16,16,15,15,15,15,16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,15,16,16,15,16,16,16,15,16,16,15,15,16,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,16,15,16,16,16,16,15,16,16,16,16,16,16,15,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,16,15,16,16,16,16,16,15,15,16,15,16,16,16,15,16,15,16,16,16,16,16,16,16,15,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,15,16,15,16,16,15,15,15,16,14,16,16,16,16,15,16,16,16,16,15,16,16,16,15,15,16,15,16,16,16,16,15,16,16,15,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,15,16,16,16,16,15,16,16,16,16,15,16,16,16,16,16,16,16,16,16,15,15,16,16,16,16,16,16,16,16,16,15,15,16,15,16,16,16,16,15,16,16,16,15,16,16,16,16,15,16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,15,16,16,16,16,16,16,16,15,16,15,14,16,16,16,15,16,15,16,16,15,16,16,16,15,16,16,16,16,16,16,16,16,16,16,15,16,16,16,15,16,16,14,16,16,16,16,16,15,16,16,16,16,16,16,15,16,16,16,16,15,16,16,16,16,16,16,16,16,16,15,16,16,16,16,15,16,15,16,16,15,16,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,16,15,15,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,14,16,15,15,16,16,14,15,15,16,15,14,15,14,16,16,16,16,16,16,16,14,16,16,15,14,16,15,15,15,16,15,16,15,16,15,16,16,16,15,16,16,16,16,16,15,16,15,16,16,16,14,15,15,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,14,16,16,16,16,16,16,16,16,16,16,15,16,16,15,16,16,15,16,16,16,16,16,16,16,16,16,15,16,15,16,15,15,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,15,16,15,16,16,15,16,16,16,16,15,16,16,15,16,16,16,16,15,15,16,16,16,16,16,16,16,16,15,16,15,16,15,15,16,16,16,16,16,15,16,16,16,16,16,15,16,16,16,16,15,16,16,16,16,16,14,16,16,16,16,16,16,16,15,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,15,16,16,15,16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,15,15,16,16,15,16,16,16,16,14,16,16,14,14,16,16,16,15,16,16,15,16,16,15,14,16,16,16,16,16,16,16,15,16,16,16,14,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,15,16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,15,16,16,16,16,16,16,15,15,14,15,16,16,16,16,16,14,15,15,15,16,16,16,15,16,16,15,16,15,15,16,16,16,16,15,15,16,16,15,16,16,16,16,16,16,16,16,15,16,15,16,15,15,16,16,15,16,16,15,15,15,16,16,16,15,16,16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,15,15,16,16,16,16,16,16,15,16,15,16,16,15,16,16,14,16,15,16,16,15,16,15,15,16,16,15,14,15,16,16,16,16,16,16,16,16,16,15,16,16,16,16,16,16,14,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,15,16,14,16,16,16,15,15,15,15,16,16,16,16,15,16,16,16,16,15,16,16,15,15,16,16,16,16,15,16,15,15,16,16,16,16,15,15,16,16,16,16,16,16,15,16,16,16,16,16,15,16,16,16,16,16,15,16,16,15,16,16,16,16,16,16,16,15,16,16,16,15,15,16,16,15,16,16,16,15,16,15,16,16,16,16,15,16,15,16,16,16,16,16,16,16,16,16,16,14,16,15,16,16,16,16,16,16,16,16,16,16,15,15,16,15,14,15,16,16,16,16,16,16,16,16,15,16,16,15,15,16,16,16,16,16,16,15,16,15,16,15,16,16,15,15,16,16,16,16,16,16,16,16,16,16,16,16,14,16,16,16,16,15,16,16,15,16,15,15,16,16,16,16,16,16,16,16,16,15,16,15,16,16,16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,15,16,16,16,16,16,16,16,16,15,16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,15,16,15,16,16,15,15,14,16,15,15,15,15,15,15,15,16,16,15,16,16,15,16,16,16,16,16,16,16,16,16,15,16,16,14,15,15,15,15,16,15,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16},
32 "cells[ladder4-p1234]" -> {30,28,26,29,29,29,28,28,28,23,30,28,29,29,30,30,27,27,32,29,32,27,29,29,29,28,29,27,26,28,31,27,30,29,28,30,29,30,26,29,32,26,28,28,30,30,29,25,23,26,28,28,28,28,27,29,26,27,29,28,26,26,30,30,27,28,26,28,30,31,31,30,32,29,31,32,32,30,28,31,30,29,31,30,30,32,30,29,29,26,32,32,31,30,29,32,29,30,31,30,30,28,32,31,26,31,31,31,29,30,31,30,32,32,31,30,31,31,28,32,32,30,31,30,32,32,31,29,27,27,32,32,28,27,28,27,28,27,30,30,31,26,32,30,28,30,29,27,30,31,30,28,30,31,29,30,30,28,27,25,29,31,30,27,30,29,29,28,29,28,31,31,28,28,29,30,27,29,30,32,32,26,31,29,31,30,28,30,29,29,30,30,30,27,28,29,30,29,25,28,32,29,30,29,29,30,29,27,26,27,31,31,29,28,30,31,28,28,30,31,30,28,29,30,29,29,30,30,29,31,29,30,32,31,31,30,32,28,29,31,32,31,31,29,31,28,29,27,27,27,30,30,31,28,31,30,26,29,28,30,28,29,32,30,31,28,30,30,28,29,30,30,31,30,28,31,31,30,29,31,31,29,31,30,32,32,32,29,30,28,26,28,26,30,30,31,27,26,28,27,31,27,28,30,31,30,32,31,31,30,30,30,32,30,30,32,30,30,28,30,29,31,32,26,32,31,32,29,29,27,31,32,32,29,32,30,29,28,31,32,28,27,31,31,30,31,30,32,30,31,30,29,30,30,29,30,29,29,28,32,32,25,31,27,28,28,28,27,26,27,27,29,28,27,26,26,26,27,26,24,27,26,29,29,28,28,30,29,28,28,27,25,26,26,25,26,24,28,23,27,32,31,24,29,29,29,26,26,29,26,26,27,27,29,30,28,28,27,30,29,28,26,30,28,30,29,30,28,30,28,29,29,30,29,29,28,29,29,30,32,32,28,29,28,29,29,28,27,28,27,28,28,30,27,26,27,25,28,30,30,29,27,28,30,29,28,31,31,30,31,31,30,29,27,28,30,28,30,28,29,30,31,30,27,27,28,26,26,30,26,30,29,27,31,29,28,30,30,29,30,29,28,30,31,30,32,29,29,31,31,31,30,32,31,32,32,32,31,31,32,31,30,30,28,28,29,26,26,28,28,29,29,30,30,30,31,29,27,30,28,28,31,29,30,30,30,30,32,30,31,30,29,30,29,30,31,30,30,32,31,32,30,31,29,30,31,29,31,30,29,29,31,30,31,30,31,31,30,29,31,27,30,31,32,29,31,30,31,31,32,30,30,31,30,29,29,32,30,31,32,32,31,31,28,30,29,31,30,28,31,30,31,31,31,30,31,31,31,29,31,29,28,32,31,30,31,29,29,30,31,31,30,31,31,31,29,31,30,30,32,32,32,31,31,31,31,30,30,32,29,30,30,31,32,32,30,30,32,31,32,30,31,32,30,30,32,31,30,30,30,31,30,31,30,31,28,32,31,30,31,32,30,31,26,26,28,26,23,27,28,26,25,26,28,23,26,27,26,29,28,27,27,30,28,27,29,26,28,29,28,29,25,29,30,28,26,27,29,28,30,31,31,30,29,30,30,27,26,27,28,27,29,29,28,27,30,28,29,29,29,28,30,31,29,29,29,28,28,29,29,30,29,32,30,30,27,29,31,28,29,32,30,30,31,30,31,27,26,28,27,30,28,28,28,27,27,29,29,26,29,28,29,28,28,28,29,29,27,27,30,30,30,31,30,30,29,31,32,31,31,32,30,29,31,27,32,31,31,30,29,29,28,29,29,30,31,28,29,29,29,28,31,31,27,29,31,28,29,29,30,29,29,32,29,29,31,31,28,29,30,31,31,31,29,31,31,29,27,27,26,29,30,30,30,31,30,27,28,30,31,31,30,29,30,30,32,31,31,30,30,31,29,31,31,30,32,31,29,30,30,32,31,29,28,31,31,30,26,28,28,30,30,29,29,29,27,27,30,28,28,29,28,31,30,30,31,30,31,30,30,28,26,30,28,30,29,30,29,30,29,29,30,31,29,31,24,30,30,30,31,31,26,28,28,30,31,30,30,30,29,30,31,29,30,32,31,31,29,27,29,28,31,29,29,31,30,31,32,30,32,31,30,30,32,29,31,30,30,30,28,30,31,31,32,32,31,31,30,32,31,29,30,30,32,29,32,31,30,31,30,31,29,31,28,29,32,31,29,31,31,26,27,29,29,28,30,32,28,30,30,30,29,29,29,29,30,26,29,29,28,28,29,30,31,29,29,29,29,29,30,32,30,29,30,28,32,29,27,30,29,31,32,31,29,28,30,32,27,30,28,28,30,30,27,32,31,29,31,30,30,26,30,30,28,30,31,30,29,31,31,32,31,30,31,32,32,30,32,31,31,31,30,29,28,27,28,27,25,31,27,27,28,27,27,29,26,29,27,29,28,28,30,29,27,32,30,28,29,30,29,31,28,26,27,26,29,29,28,27,31,30,31,32,31,31,31,30,30,30,32,30,30,31,31,29,31,31,30,31,31,30,29,30,30,30,31,29,32,31,31,31,29,30,31,30,29,29,28,27,28,31,29,30,29,29,32,30,26,28,26,28,26,26,29,26,27,26,29,30,29,29,28,30,28,30,32,29,30,31,30,31,30,31,31,32,32,31,31,31,30,31,28,29,25,29,30,28,27,26,28,27,28,28,31,28,29,31,31,30,32,31,30,31,29,31,31,31,29,31,30,29,30,27,30,28,30,29,31,32,32},
33 "cells[4chat]" -> {23,18,15,24,21,22,17,24,22,18,21,20,20,21,22,20,26,24,28,27,27,26,28,26,25,26,26,28,27,26,30,28,28,29,28,29,29,31,28,28,26,29,24,25,23,25,28,27,29,27,29,28,24,28,30,28,30,28,29,28,28,31,31,29,27,29,29,30,28,27,29,31,31,27,29,29,28,30,28,28,30,29,28,27,26,28,28,30,30,29,30,28,31,31,27,31,31,29,31,31,32,31,31,31,30,32,30,32,30,29,29,31,29,28,29,30,26,28,29,28,26,31,31,28,28,27,28,28,29,29,27,29,28,28,29,29,28,28,31,30,28,30,28,27,29,30,30,30,26,28,30,32,27,27,26,29,23,27,27,25,25,27,26,28,28,28,30,29,28,30,29,30,30,30,30,30,31,29,31,31,29,29,30,28,29,31,31,31,28,29,31,31,29,29,29,28,30,28,29,32,32,31,31,32,31,30,28,29,28,30,30,30,29,30,29,29,31,31,31,31,30,31,30,31,30,31,30,31,31,32,31,31,30,31,31,31,30,30,30,31,31,29,31,28,29,28,32,30,31,29,30,30,30,31,30,31,31,29,32,32,29,30,31,31,31,31,30,31,32,30,31,30,28,30,30,29,29,30,30,31,32,31,32,28,28,28,31,28,27,30,29,29,30,28,28,28,27,30,30,27,30,29,28,27,30,29,28,30,31,32,32,31,31,31,30,30,32,30,30,30,31,32,32,30,31,31,31,30,29,31,31,32,30,30,30,30,31,30,31,31,28,30,30,31,30,31,31,31,32,32,31,32,31,31,31,32,32,31,27,32,32,32,32,31,32,31,30,28,31,31,31,30,32,31,31,29,32,29,31,31,32,32,31,31,32,31,31,32,30,31,32,30,30,32,32,32,30,30,31,30,28,31,31,32,29,30,32,30,31,32,32,31,29,32,31,31,32,32,32,32,32,31,32,32,32,32,31,32,31,32,32,31,29,31,30,32,32,30,28,30,31,32,32,31,30,32,32,31,30,32,32,32,29,31,30,29,31,31,31,31,32,30,30,32,31,31,32,31,32,31,31,30,31,32,29,31,30,28,29,30,28,30,32,28,29,30,29,31,27,31,29,30,30,28,30,30,29,29,29,28,28,30,30,30,29,30,29,31,30,29,30,29,29,30,30,30,30,29,31,31,32,32,31,32,31,31,32,31,31,31,31,31,30,30,31,30,32,29,30,30,31,31,31,32,29,31,31,30,32,32,31,31,32,32,31,30,31,31,29,32,32,31,31,32,31,32,31,32,31,30,32,30,30,30,27,28,30,31,30,29,30,32,30,31,30,30,28,30,31,31,30,28,30,26,31,29,29,28,28,31,32,30,30,29,28,29,29,26,25,28,28,28,27,28,26,30,30,26,28,30,25,30,30,29,27,31,29,28,31,29,30,28,28,27,29,28,27,26,26,27,31,30,29,31,30,32,31,32,30,29,31,29,29,29,27,29,32,31,29,29,30,30,32,30,29,31,29,32,30,31,32,29,31,31,32,30,28,28,26,30,29,32,30,31,32,29,31,30,29,30,32,32,28,29,30,31,30,30,30,31,30,32,32,29,27,31,30,30,29,31,30,29,29,30,28,28,27,27,29,30,29,31,30,30,27,31,31,30,29,31,30,29,30,32,30,30,29,29,30,29,29,31,30,28,28,29,30,32,29,31,31,30,30,30,29,28,28,29,28,30,28,30,32,32,31,30,32,30,28,30,32,31,31,28,29,29,32,29,29,31,30,29,31,30,29,28,29,32,32,30,28,31,27,29,26,28,26,28,25,24,31,31,31,28,30,28,28,31,28,31,31,31,28,29,29,28,27,27,29,30,28,29,31,30,28,30,28,31,29,30,30,30,31,29,32,29,29,31,30,30,32,31,31,30,30,29,29,31,28,28,32,28,26,30,28,30,29,26,30,29,27,30,32,31,27,29,27,31,32,30,31,30,32,29,29,31,30,31,29,31,29,30,32,31,30,31,30,31,30,30,32,30,29,29,29,27,30,27,28,28,27,31,32,31,28,29,29,30,30,31,31,30,30,31,31,31,31,31,28,30,32,32,31,31,31,32,32,30,30,30,32,31,30,31,32,29,31,29,30,31,30,29,31,31,29,31,30,30,31,29,29,31,31,31,31,31,31,31,30,32,31,32,32,31,32,32,30,32,30,28,31,31,29,30,30,29,31,31,30,31,27,31,30,31,30,30,30,31,30,30,30,29,31,31,32,27,30,29,29,30,30,32,31,31,30,32,31,29,30,30,28,28,29,29,29,27,31,28,28,30,29,32,31,31,30,30,29,30,32,31,30,29,31,29,32,27,28,31,30,31,31,31,30,29,30,30,31,31,30,32,31,32,29,29,28,28,29,28,28,30,30,29,30,30,28,29,30,30,30,28,30,26,31,31,30,30,29,29,28,30,31,31,31,32,32,31,31,29,30,29,30,31,29,29,30,31,29,29,32,29,29,31,30,30,31,31,31,30,30,29,31,30,32,30,30,29,30,30,28,30,29,30,30,30,29,32,30,30,31,30,30,32,31,30,30,32,31,28,30,31,29,31,30,31,32,30,32,31,32,31,31,29,30,29,32,30,31,28,30,30,31,31,31,32,30,31,31,31,30,31,30,32,30,29,30,26,28,26,29,28,29,31,31,31,28,26,30,31,30,31,30,31,30,28,29,31,28,30,27,29,29,31,28,30,32,32,31,30,30,31,32,30,30,30,31,30,32,28,30,30,31,30,30,29,30,30,30,29,31,28,29,29,29,30,28,30,30,27,26,29},
34 "cells[8a]" -> {51,41,35,47,49,48,43,47,46,39,48,45,49,47,51,48,51,47,57,53,53,52,55,52,52,49,53,53,47,52,58,53,55,54,52,56,53,56,51,56,55,50,47,49,49,53,53,48,42,49,51,50,50,53,53,53,52,50,54,53,47,53,56,54,51,51,52,54,54,55,57,55,59,52,54,56,54,52,51,53,55,53,56,52,51,56,52,53,50,51,57,57,56,55,51,59,57,56,56,58,52,55,62,60,54,60,58,60,54,54,55,58,56,54,54,52,49,51,53,51,54,54,55,56,57,59,52,50,49,54,56,54,52,50,55,54,55,50,56,57,55,52,60,52,51,54,57,54,50,55,51,58,54,56,53,55,50,52,49,46,50,57,55,51,51,54,54,51,50,53,53,53,53,52,53,54,52,54,56,58,54,48,56,51,55,57,54,56,51,50,53,58,53,52,53,50,54,51,49,54,53,50,55,52,47,53,53,50,48,50,53,51,49,51,51,55,52,51,55,58,54,52,52,51,52,53,57,55,55,55,55,56,54,55,53,55,55,53,53,51,57,55,60,52,54,54,59,49,51,52,56,55,59,53,53,56,54,55,55,58,53,54,59,58,59,51,56,57,56,56,58,56,53,58,55,56,53,57,55,56,57,57,61,54,56,57,60,46,50,54,54,52,51,55,52,56,50,54,53,51,58,53,52,54,54,55,57,56,57,59,58,58,58,59,59,57,59,57,51,54,59,57,63,55,60,54,59,49,52,52,55,61,57,54,56,55,57,55,57,57,51,53,58,56,55,57,57,58,56,56,55,57,54,58,54,56,55,56,47,49,60,52,60,52,49,50,52,48,45,52,50,51,53,55,51,48,53,51,51,48,48,51,52,53,53,51,55,50,53,51,51,46,49,49,49,49,48,52,50,52,50,55,53,53,51,49,50,49,50,51,50,52,49,54,52,50,53,51,53,50,55,48,53,53,55,52,53,51,55,54,53,51,53,54,54,51,53,51,52,53,59,57,56,54,50,50,54,50,43,51,51,54,55,50,48,46,48,54,55,55,54,49,51,56,57,52,54,56,54,57,55,53,54,54,53,55,56,55,54,56,56,57,54,53,53,53,54,52,53,54,55,55,52,55,51,55,54,55,54,54,54,54,57,57,53,57,51,58,58,55,57,56,58,58,62,58,57,55,56,57,62,61,53,56,54,56,53,50,53,53,54,56,55,56,54,61,54,55,55,56,57,60,55,57,56,59,55,58,57,57,56,54,58,57,58,56,56,55,56,60,61,50,57,55,52,60,56,56,52,55,54,57,57,58,52,55,55,54,55,56,53,56,56,54,54,58,53,58,54,60,52,53,54,48,57,54,51,53,55,56,56,49,56,50,52,54,52,50,46,53,55,52,54,55,48,53,53,56,54,56,52,53,60,55,53,59,56,54,58,57,57,53,53,52,52,54,52,54,55,55,55,57,53,60,57,56,60,55,53,54,56,56,56,58,54,56,57,61,57,58,58,59,61,57,57,61,56,60,56,59,59,56,56,56,57,55,57,52,51,54,58,58,56,55,56,53,55,50,51,53,53,55,51,55,48,53,53,55,56,57,53,54,62,56,50,59,53,55,56,58,55,51,57,59,55,53,54,52,55,57,58,55,58,54,51,56,56,51,51,56,55,55,56,58,53,58,53,56,56,56,53,56,60,55,56,56,57,58,56,59,57,58,60,59,56,54,54,60,53,52,55,52,56,61,56,58,56,51,50,54,60,53,56,52,50,53,57,56,52,60,55,58,57,55,55,55,57,57,57,59,56,61,56,58,55,55,54,57,54,52,59,53,57,59,54,58,55,57,50,53,56,57,54,54,57,54,53,55,57,57,50,57,59,56,55,58,53,60,57,57,58,58,62,58,59,56,59,52,54,55,62,57,56,55,54,59,56,54,50,51,58,54,54,56,55,58,54,52,58,59,55,59,58,57,53,56,54,57,57,53,61,57,61,57,56,60,58,57,56,59,54,55,54,54,57,59,58,56,49,54,60,56,54,55,54,52,55,55,53,53,52,56,59,58,55,56,54,56,55,58,56,54,54,53,55,56,53,54,51,52,59,60,58,59,56,52,58,55,57,58,59,56,56,57,58,55,57,56,56,57,55,56,57,60,59,60,57,54,54,53,55,60,58,58,61,58,58,60,56,62,58,59,58,60,57,61,57,58,56,51,59,61,56,60,58,57,59,58,60,62,56,60,58,61,57,60,57,59,58,58,56,57,58,56,58,57,59,54,57,56,56,55,55,55,55,59,59,53,57,57,54,52,53,56,53,54,52,52,51,56,52,58,58,57,56,55,53,55,55,54,56,57,55,54,54,52,49,50,54,52,57,60,58,56,52,59,58,57,57,58,57,61,54,53,56,57,58,56,55,58,54,56,60,57,55,58,56,56,57,57,58,55,58,59,58,57,52,57,55,52,61,58,59,56,55,55,55,51,56,53,56,59,55,54,55,55,54,54,58,57,56,57,59,56,61,57,57,58,57,54,59,54,54,57,55,56,57,54,53,56,57,58,62,59,60,61,60,56,53,60,56,59,58,58,53,61,56,55,55,59,54,58,52,56,56,56,56,60,58,56,57,56,54,56,55,52,52,48,53,49,53,55,57,56,54,54,56,53,52,55,54,53,51,54,53,52,51,53,54,55,52,56,59,55,53,53,56,59,56,54,55,57,53,51,54,56,54,53,50,53,57,51,51,52,56,60,55,54,52,57,57,54,55,59,55,57,61,58,55,58,58,57,59,54,58,60,56,53,58,53,53,52,47,54,52,54,53,52,55,56},
35 "cells[ladder8-setb]" -> {50,39,33,45,47,44,41,46,45,38,47,45,47,45,50,49,49,44,56,52,51,50,53,51,52,50,54,52,47,51,54,51,52,49,49,51,49,56,48,49,53,48,46,47,47,52,51,48,43,48,49,50,51,52,51,54,51,50,55,55,48,53,55,53,52,51,53,55,53,56,57,54,57,50,53,55,55,52,53,51,53,53,57,53,49,56,51,53,50,51,59,56,57,56,53,59,57,57,57,58,52,55,59,59,54,59,58,60,54,55,55,58,55,53,52,54,48,51,53,50,51,54,55,55,57,56,51,48,49,54,56,55,52,50,56,53,54,52,56,56,55,52,59,52,50,55,57,53,51,55,52,58,55,52,50,55,52,52,50,49,50,55,55,50,52,52,52,50,51,53,55,52,54,51,50,56,53,56,57,59,53,50,56,48,54,56,53,56,49,50,51,57,51,50,50,49,50,51,49,54,53,53,53,52,46,52,52,51,48,48,54,49,49,52,50,55,50,50,55,58,54,52,50,50,54,54,56,54,53,53,53,55,55,55,53,52,55,54,53,51,56,55,58,55,53,54,58,50,49,52,55,54,58,54,54,55,54,57,55,59,52,55,60,58,58,52,56,56,56,56,57,56,56,60,54,57,54,57,54,57,54,55,54,51,56,56,56,45,50,54,53,52,48,54,53,56,49,52,52,52,57,53,52,53,54,55,58,57,60,59,59,60,57,59,58,59,58,56,52,53,58,60,62,51,58,53,59,50,53,51,58,61,57,56,58,56,58,57,59,58,51,51,61,58,55,57,56,60,57,54,56,57,55,57,54,56,53,55,47,47,60,52,59,51,49,49,54,51,46,52,51,52,52,54,51,50,53,53,50,47,49,50,51,55,52,51,56,50,52,50,51,46,52,48,49,48,50,53,48,54,53,55,52,54,52,49,50,51,51,49,50,52,51,55,53,50,53,50,53,50,54,47,53,52,53,52,53,50,56,54,52,48,55,54,55,51,54,53,50,55,60,56,54,53,50,50,53,50,45,51,50,52,54,49,46,45,49,52,55,55,52,51,50,54,58,52,54,57,55,58,57,52,54,53,53,54,54,54,52,54,60,58,54,55,53,53,54,52,55,53,56,57,52,54,53,55,56,58,54,54,51,53,56,58,54,56,53,59,60,56,59,57,61,59,62,59,59,57,54,57,61,62,54,57,54,56,53,49,53,52,56,58,57,54,54,61,53,54,53,56,54,59,56,58,58,59,56,60,59,57,56,53,59,58,59,56,56,55,55,60,61,51,57,55,51,59,55,56,53,55,55,55,57,57,53,56,55,54,55,57,52,57,56,54,55,57,53,57,56,59,53,55,56,52,57,55,55,56,60,56,64,54,59,54,56,57,54,51,49,55,56,54,59,56,51,55,56,57,56,59,54,55,61,58,54,59,57,56,60,57,59,56,55,56,55,58,57,56,58,57,59,62,57,60,58,57,61,56,54,54,59,58,57,60,55,58,57,62,60,60,59,59,62,57,60,61,57,61,57,59,61,58,57,57,59,56,56,53,52,56,61,58,59,54,55,53,56,53,50,52,52,55,54,55,47,53,56,53,56,56,53,56,60,55,53,59,51,56,57,58,56,53,54,59,55,52,52,52,53,55,58,56,58,55,52,56,55,52,52,56,54,56,57,58,53,60,54,56,56,55,54,57,60,58,56,57,57,58,55,58,57,60,57,58,56,54,53,59,53,51,57,54,56,60,57,59,56,51,51,54,60,54,55,53,51,54,57,56,52,57,55,58,56,56,53,54,56,56,57,59,56,59,59,57,56,54,56,59,56,53,57,57,56,57,54,57,53,57,49,53,53,56,52,53,57,54,53,54,55,56,49,57,55,53,55,57,53,59,55,55,55,56,59,54,55,55,56,51,51,53,60,55,57,54,54,60,54,54,51,53,58,57,56,55,56,56,54,54,57,61,54,56,57,54,52,57,55,56,59,54,60,54,61,56,57,57,58,55,53,60,55,56,55,54,57,58,56,55,49,52,58,57,53,52,53,53,55,55,53,52,53,56,57,55,54,54,54,57,56,54,55,51,53,51,54,54,51,52,48,50,59,56,57,58,54,51,55,53,56,57,58,53,55,54,55,54,56,57,57,55,55,54,55,57,59,58,58,56,54,54,56,60,58,55,58,58,59,59,55,60,59,57,57,59,55,59,56,57,57,52,58,61,57,58,59,57,59,58,60,61,56,58,58,60,58,59,58,59,58,59,57,57,59,55,58,56,59,55,59,57,56,56,54,55,56,57,56,53,58,57,57,53,53,57,53,56,55,53,51,56,52,57,59,58,57,56,52,57,55,53,55,57,51,50,50,54,48,48,50,52,55,57,53,56,50,56,55,54,55,55,53,57,55,53,55,59,58,56,56,56,51,55,56,53,56,58,55,55,54,57,55,53,53,53,54,54,52,56,52,50,61,54,56,56,56,54,54,51,53,54,57,58,55,54,54,54,54,51,57,58,56,56,58,56,60,55,56,56,57,53,57,54,55,57,56,55,54,54,52,56,55,58,62,58,59,58,60,56,53,61,58,57,58,57,55,58,56,57,56,58,52,57,56,57,52,57,57,59,55,53,54,56,53,55,56,49,51,45,48,48,50,55,55,56,52,51,55,50,52,54,54,50,51,54,52,53,53,55,55,57,53,54,56,54,55,55,55,59,55,51,55,55,54,52,54,55,57,55,53,56,60,52,53,52,58,59,56,54,53,58,55,55,54,58,55,57,61,59,56,58,57,54,59,57,58,61,55,53,58,53,53,53,48,55,55,54,51,54,59,54},
36 "cells[pair-code-p2]" -> {16,16,16,15,16,15,16,16,14,16,16,16,16,16,16,16,15,14,15,14,13,16,16,14,15,16,16,15,15,14,15,14,15,14,14,16,15,15,15,16,14,13,15,16,16,16,15,15,12,15,15,16,16,16,16,16,16,14,15,15,13,14,14,15,16,15,16,15,16,15,14,14,16,14,15,16,16,14,16,16,16,16,16,16,16,16,15,16,16,15,15,15,16,16,16,16,16,15,15,16,15,15,16,15,16,16,15,16,15,15,15,15,16,16,16,14,16,14,16,16,16,16,16,16,16,16,15,14,13,15,15,15,15,15,16,16,16,15,15,16,15,14,16,15,15,16,15,15,16,15,15,16,16,16,16,16,16,16,16,15,16,16,16,16,16,16,16,14,14,15,15,15,16,15,11,14,14,15,14,15,12,15,15,15,16,16,14,13,15,15,14,16,15,15,15,14,15,15,16,16,16,16,16,16,14,16,16,14,14,15,15,15,15,15,15,15,16,14,15,15,13,15,15,15,16,15,16,15,15,15,16,16,15,16,16,16,15,16,16,15,16,16,16,14,16,16,16,14,14,15,15,16,16,15,13,15,16,15,16,16,15,15,14,16,16,14,15,15,16,15,16,15,15,16,16,16,15,16,16,16,16,16,16,16,16,16,16,15,14,16,16,16,16,16,16,15,15,15,16,16,15,15,16,15,16,16,16,16,16,15,16,16,16,15,16,16,16,16,15,15,16,16,16,16,16,15,16,16,16,15,16,16,16,16,15,15,16,15,16,15,16,16,16,16,16,16,16,15,16,15,16,16,16,15,15,15,15,15,13,11,15,14,16,16,15,16,16,14,11,14,16,15,15,16,16,16,16,14,15,14,13,14,16,16,16,16,15,14,16,15,16,14,15,14,12,14,15,14,14,13,16,16,16,15,16,15,15,15,14,14,15,16,16,16,15,16,16,15,15,16,16,15,16,16,16,16,15,16,16,16,16,16,15,15,16,16,15,15,16,15,16,16,16,16,15,16,15,15,12,15,15,16,16,15,14,14,16,15,16,16,15,15,16,15,16,15,13,15,14,15,13,16,16,15,16,15,16,16,16,15,16,16,15,15,16,15,16,16,14,15,16,15,15,15,15,15,15,15,15,15,16,15,16,16,15,15,15,15,15,14,14,15,14,15,16,15,16,14,15,16,16,16,16,16,16,16,16,15,16,15,16,16,16,16,14,16,15,15,14,14,16,15,16,15,16,16,14,15,14,13,13,12,14,13,15,15,16,15,16,16,16,13,16,16,15,16,16,15,13,15,15,16,16,16,14,15,14,15,14,14,14,15,15,15,16,16,13,14,13,14,13,14,14,14,16,16,15,15,16,15,16,16,16,16,16,16,16,16,16,15,16,16,16,16,16,16,16,15,16,16,16,15,16,16,16,16,15,15,15,15,15,15,15,14,14,16,14,16,16,16,16,16,16,16,15,16,16,16,15,15,16,16,16,16,14,15,13,15,14,15,16,15,16,16,15,16,14,15,15,15,15,16,14,15,15,16,16,15,16,16,16,16,15,16,16,16,16,15,13,15,15,15,16,15,14,14,15,15,15,16,13,15,16,16,16,16,15,15,16,15,16,16,16,16,16,16,16,15,15,16,16,16,16,15,15,15,15,14,12,15,15,15,15,15,15,16,15,15,16,16,15,15,16,16,16,16,15,15,15,15,16,16,16,16,16,16,16,16,15,14,12,16,16,15,15,16,16,16,14,15,16,15,15,15,14,16,14,14,14,16,16,16,16,16,16,15,16,16,16,15,16,16,16,16,16,16,16,16,15,16,16,15,16,16,16,16,15,16,16,16,15,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,15,16,16,16,15,15,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,15,16,16,15,16,16,16,16,16,16,16,16,16,15,16,14,15,15,16,14,16,15,15,16,16,15,16,16,16,16,16,16,16,16,16,16,16,14,15,16,15,15,16,14,15,15,16,15,16,14,15,15,15,15,16,16,16,16,16,16,16,15,16,16,16,16,16,16,15,15,15,15,14,16,16,15,15,15,15,15,14,15,16,16,16,16,16,16,15,14,15,14,15,13,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,15,16,16,15,15,15,14,15,16,15,14,16,15,14,14,14,14,13,12,14,15,15,14,16,15,16,14,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,15,16,15,15,16,16,15,16,16,15,16,15,15,14,15,15,16,15,16,16,14,13,15,15,14,16,15,15,15,16,16,15,16,15,15,16,16,16,15,14,16,14,15,14,16,15,15,16,15,16,14,14,16,14,14,15,14,14,16,16,16,16,14,16,16,15,16,16,16,16,15,16,15,14,15,15,16,15,16,15,15,15,14,15,16,14,15,16,14,15,16,15,15,15,15,16,16,16,15,16,16,15,16,16,16,16,16,16,16,16,16,15,16,16,16,16,16,15,16,16,16,15,15,14,16,14,15,16,15,14,15,14,16,13,13,14,14,14,15,16,16,16,16,16,16,15,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,15,16,16,15,16,15,14,14,13,13,13,10,13,15,15,14,16,16,16},
37 "cells[pair-code-review]" -> {15,12,12,13,13,12,12,12,13,12,13,14,11,11,12,10,14,12,15,14,13,14,14,15,15,14,14,14,15,16,16,16,16,15,16,15,16,16,16,16,15,15,15,16,14,13,15,15,15,14,15,15,13,15,14,15,15,14,15,14,13,15,16,16,14,15,15,16,15,16,16,16,16,15,16,15,15,16,15,16,16,16,15,16,14,14,13,16,16,15,15,14,16,16,14,16,16,16,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,15,16,16,14,16,15,16,16,16,16,16,16,15,16,16,16,15,15,16,15,16,15,16,16,16,16,15,15,16,15,16,15,16,15,16,15,16,16,16,16,15,16,15,14,16,15,16,16,16,16,16,16,15,16,16,13,16,15,16,16,16,15,16,16,15,15,15,14,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,14,16,16,16,16,16,15,15,16,16,15,16,15,15,16,15,15,15,15,16,16,16,15,15,16,14,16,16,16,16,16,16,16,16,15,16,16,16,16,16,13,16,16,16,16,16,15,15,16,16,16,16,15,15,15,15,15,15,15,16,16,16,16,15,14,15,16,16,12,16,16,16,16,16,15,14,16,15,16,16,14,15,16,16,16,16,14,16,16,16,16,16,15,15,16,15,16,15,14,14,16,16,16,15,16,16,16,16,13,15,16,16,15,15,14,15,15,15,15,15,12,14,16,16,15,16,15,16,16,16,16,16,16,16,16,16,16,16,14,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,16,15,15,16,16,16,16,15,16,16,15,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,14,16,16,16,16,16,16,16,16,15,16,16,16,16,14,16,15,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,16,16,16,16,16,16,15,16,16,16,16,14,16,14,16,13,15,16,16,16,14,15,16,16,15,14,15,13,15,16,16,15,15,13,16,15,15,15,14,15,15,16,14,15,15,15,16,16,16,16,16,15,15,16,15,16,16,16,16,16,16,16,16,16,16,16,15,15,16,16,16,15,16,15,16,16,16,15,15,16,16,16,15,16,16,15,16,16,16,16,16,16,16,16,16,15,14,16,14,15,14,12,14,15,16,15,15,14,16,16,15,16,15,13,16,16,16,15,15,15,15,16,15,14,15,16,16,16,16,15,16,16,15,15,13,15,16,13,14,15,15,14,15,16,15,14,16,13,16,16,16,13,16,15,14,16,15,15,15,15,15,16,15,15,15,15,16,16,16,16,16,16,16,16,16,14,14,16,15,15,14,13,15,16,16,15,15,15,15,16,16,16,15,13,16,16,15,16,15,16,15,16,14,13,14,15,16,16,16,16,16,16,15,16,16,14,14,16,16,14,14,14,16,16,15,15,15,15,16,16,16,15,15,14,16,16,15,15,14,15,15,15,12,12,14,15,16,14,16,15,15,15,16,16,15,14,15,15,15,15,16,15,16,15,15,14,14,14,15,16,15,16,16,15,16,16,16,15,16,15,15,16,13,13,15,14,16,15,16,16,16,16,14,16,15,14,15,16,16,16,15,14,15,16,15,15,15,15,15,16,15,15,14,14,16,16,15,13,15,14,14,14,13,12,14,13,12,16,16,15,13,14,13,12,15,12,15,15,15,13,14,14,13,14,13,14,14,14,15,15,15,14,16,14,15,15,15,15,15,15,14,16,14,14,15,15,14,16,16,16,15,15,14,13,15,14,13,16,15,14,15,13,15,14,13,14,15,14,15,16,16,15,14,14,16,16,16,16,16,16,14,15,16,15,15,15,16,14,16,16,16,16,15,15,16,15,15,16,16,15,15,14,16,15,15,15,15,14,16,16,16,15,16,15,16,16,16,16,15,16,15,16,15,16,16,15,14,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,15,16,15,16,16,15,16,16,16,16,16,16,16,16,16,15,16,16,16,16,16,16,15,16,16,14,15,14,16,16,16,16,15,15,16,16,15,15,14,16,15,16,12,14,14,15,16,15,16,15,15,15,16,16,16,15,15,15,15,16,16,16,15,16,15,15,16,14,16,16,16,16,15,14,16,16,15,15,14,15,15,16,12,14,15,15,16,16,16,15,15,15,15,16,15,14,16,16,16,15,14,13,16,14,14,15,16,14,15,15,15,15,14,15,15,16,15,15,13,16,15,14,14,14,15,14,15,16,16,15,16,16,16,15,15,14,14,15,15,15,14,14,15,13,14,16,15,13,15,15,14,16,15,15,14,15,15,16,15,16,15,16,14,14,15,14,15,13,16,15,16,14,16,15,16,15,14,16,16,15,15,15,16,15,15,15,16,14,15,16,16,16,16,16,15,16,16,16,15,16,15,16,14,15,14,15,16,16,16,16,16,15,16,16,16,15,16,16,16,15,15,14,14,15,15,15,15,15,15,16,16,15,15,16,16,16,15,16,15,16,15,16,15,16,16,14,16,16,16,16,16,16,16,16,16,15,15,16,16,15,15,15,15,16,15,15,15,15,15,16,16,16,16,14,15,16,16,14,15,16,16,16,15,16,16,16,16},
38 "bytes[expert]" -> 3146112,
39 "bytes[gate_up]" -> 2097408,
40 "bytes[down]" -> 1048704,
41 "bytes[shared]" -> 3146112,
42 "bytes[mix]" -> 943833600,
43 "bytes[o_proj]" -> 335585280,
44 "bytes[ab]" -> 7864320,
45 "bytes[router]" -> 41943040,
46 "bytes[lm_head]" -> 1017118720,
47 "bytes[layers]" -> 40,
48 "bytes[routed_expert_tensor_sets_layer0]" -> 256,
49 "end" -> True
50|>;
51
52(* negative control B: every n = 4 ladder stroke time scaled by 1.05 (a perturbed ladder median) *)
53q36in["ladderNs4"] = Round[105/100 q36in["ladderNs4"]];
54
55(* q36-step-model.wl: the fitted step-time model of the Qwen3.6-35B-A3B decode stroke on one GB10 (DRA-64).
56 Version q36-step-model/1, 2026-10-31. Changes only through a model-revision issue.
57 Needs q36in (inputs.wl, generated from the sha256-pinned files by scripts/extract-inputs.sh) evaluated first.
58
59 t(n) = a + b n + c U(n) + h Ceiling[n/4] [ms per stroke of n heads]
60 U(n) = experts read per layer per stroke = routed-expert union of the n heads + 1 shared expert.
61 The a, b, c, h published on Linear DRA-64 are frozen in q36Published; predict[] always uses them.
62
63 Fit procedure (the one that reproduces the published numbers, see report key "fitPublishedProcedure"):
64 c = (gate_up + down chip time of the stamped lever-2 eight-head stroke) / U(8)
65 h = (lm_head chip time of that stroke) / (its lm_head launches)
66 a, b = least squares of median(n) - c U(n) - h Ceiling[n/4] over the lever-2 ladder n = 1, 2, 4, 8.
67 [INFERENCE] c and h come from ONE stamped shared-chip stroke (timeline_last_stroke, total_ns 77738400), not from a
68 median, so they carry that stroke's noise and the stamping overhead. c assumes gate_up + down time is fully
69 proportional to U, with no fixed per-launch term; a fixed term, if any, is absorbed into a and b.
70 In-sample residuals of the published model are up to about 8.5 % of the prediction (report key
71 "publishedModelResidualFraction"), so a no-op lever can approach the 10 % rule at n = 4 from shared-chip drift alone.
72
73 Use by later lever issues: recordLever["lever-3", n, U, measuredMs] returns predicted, measured, residual and the
74 verdict; |residual| > 10 % of the prediction means OPEN_MODEL_REVISION_ISSUE (a new versioned .wl, never an edit). *)
75
76q36ModelVersion = "q36-step-model/1 (DRA-64, 2026-10-31)";
77
78(* ---- frozen model (Linear DRA-64 text) ---- *)
79q36Published = <|"a" -> 913/100, "b" -> 329/100, "c" -> 696/1000, "h" -> 481/100, "rms" -> 24/10,
80 "U" -> {9, 163/10, 307/10, 556/10}, "Uindep8" -> 584/10, "tokS8measured" -> 955/10, "tokS8indep" -> 933/10|>;
81q36Halfunit = <|"a" -> 5/1000, "b" -> 5/1000, "c" -> 5/10000, "h" -> 5/1000, "rms" -> 5/100|>;
82q36Ns = {1, 2, 4, 8};
83q36CeilingGBs = 273; (* GB10 LPDDR5X ceiling quoted in motor-chip README L154 *)
84q36MaxHeadsQualified = 8; (* OMEGA_GPU_Q36_MAX_HEADS 8u, omega-mv 474197e4 src/omega_gpu_q36_graph.h L66 *)
85
86q36t[n_, u_, p_Association] := p["a"] + p["b"] n + p["c"] u + p["h"] Ceiling[n/4];
87predict[n_, u_] := q36t[n, u, q36Published];
88predictTokS[n_, u_] := 1000 n/predict[n, u];
89q36Uindep[n_] := 1 + 256 (1 - (1 - 8/256)^n); (* independent top-8 draws from 256 routed experts, + shared *)
90q36RevisionThreshold = 1/10;
91recordLever[lever_String, n_, u_, measuredMs_] := Module[{p = predict[n, u], r},
92 r = (measuredMs - p)/p;
93 <|"lever" -> lever, "n" -> n, "U" -> q36Num[u], "predictedMs" -> q36Num[p], "measuredMs" -> q36Num[measuredMs],
94 "residual" -> q36Num[r],
95 "verdict" -> If[Abs[r] > q36RevisionThreshold, "OPEN_MODEL_REVISION_ISSUE", "WITHIN_MODEL"],
96 "scope" -> If[n > q36MaxHeadsQualified, "architecture projection until OMEGA_GPU_Q36_MAX_HEADS > 8 is qualified", "fitted range"]|>];
97
98(* ---- derived inputs ---- *)
99(* The stroke gate's median (and the README ladder) is the upper median: element Floor[len/2]+1 of the sorted list.
100 Wolfram's Median averages the middle pair for an even count; both are reported, the fit uses the gate's. *)
101q36GateMedian[x_List] := Sort[x][[Floor[Length[x]/2] + 1]];
102q36MedMs[in_] := Table[q36GateMedian[in["ladderNs" <> ToString[k]]]/10^6, {k, q36Ns}];
103q36MedMsMean[in_] := Table[Median[in["ladderNs" <> ToString[k]]]/10^6, {k, q36Ns}];
104q36UfromCells[cells_] := 1 + Mean[cells];
105q36ExpertsNs[in_] := in["stampsKindNs"]["gate_up"] + in["stampsKindNs"]["down"];
106q36Fit[ms_, u_, in_] := Module[{c, h, r, ab, fitted},
107 c = (q36ExpertsNs[in]/10^6)/u[[4]];
108 h = (in["stampsKindNs"]["lm_head"]/10^6)/in["stampsKindLaunches"]["lm_head"];
109 r = ms - c u - h Ceiling[q36Ns/4];
110 ab = LeastSquares[Transpose[{ConstantArray[1, 4], q36Ns}], r];
111 fitted = ab[[1]] + ab[[2]] q36Ns + c u + h Ceiling[q36Ns/4];
112 <|"a" -> ab[[1]], "b" -> ab[[2]], "c" -> c, "h" -> h, "rms" -> Sqrt[Mean[(ms - fitted)^2]],
113 "residualsMs" -> ms - fitted|>];
114q36FreeFit[ms_, u_] := Module[{x = LinearSolve[Transpose[{ConstantArray[1, 4], q36Ns, u, Ceiling[q36Ns/4]}], ms]},
115 <|"a" -> x[[1]], "b" -> x[[2]], "c" -> x[[3]], "h" -> x[[4]],
116 "note" -> "four parameters through four points: an interpolation, RMS 0 by construction"|>];
117q36Rms[ms_, u_] := Sqrt[Mean[(ms - Table[predict[q36Ns[[i]], u[[i]]], {i, 4}])^2]];
118q36Reproduced[fit_] := AllTrue[{"a", "b", "c", "h", "rms"}, Abs[fit[#] - q36Published[#]] <= q36Halfunit[#] &];
119q36Num[x_] := N[Round[x, 1/10^6]]; (* display only: exact arithmetic throughout, rounded to 1e-6 at output *)
120q36NumAssoc[a_Association] := Map[If[NumericQ[#] || VectorQ[#, NumericQ], q36Num[#], #] &, a];
121
122q36Report[in_] := Module[{ms, uLinear, uMatched, uQuoted, uIndep, fitLinear, fitMatched, fitIndep, stampMed,
123 u8stamp, bw, bwRow, checks, proj, variants, pinnedMeans},
124 ms = q36MedMs[in];
125 stampMed = q36GateMedian[in["stampsNs"]]/10^6;
126 uLinear = q36Published["U"];
127 uMatched = q36UfromCells /@ {in["cells[ladder1-p1]"], in["cells[ladder2-p1p2]"], in["cells[ladder4-p1234]"],
128 in["cells[ladder8-setb]"]};
129 uIndep = q36Uindep /@ q36Ns;
130 (* the README quotes behind the Linear U: 4 chat prompts (29.7), mean of 8-prompt sets a and b (54.7, 54.5) *)
131 uQuoted = <|"U4 from 4chat" -> q36UfromCells[in["cells[4chat]"]],
132 "U8 from mean(set a, set b)" -> 1 + Mean[{Mean[in["cells[8a]"]], Mean[in["cells[ladder8-setb]"]]}],
133 "U2 candidate code+p2" -> q36UfromCells[in["cells[pair-code-p2]"]],
134 "U2 candidate code+review" -> q36UfromCells[in["cells[pair-code-review]"]],
135 "U2 of the ladder pair p1+p2" -> uMatched[[2]]|>;
136 pinnedMeans = <|"4p" -> {Mean[in["cells[ladder4-p1234]"]], in["pinnedUnionMean[4p]"]},
137 "4chat" -> {Mean[in["cells[4chat]"]], in["pinnedUnionMean[4chat]"]},
138 "8prompts" -> {Mean[in["cells[8a]"]], in["pinnedUnionMean[8prompts]"]},
139 "8prompts-b" -> {Mean[in["cells[ladder8-setb]"]], in["pinnedUnionMean[8prompts-b]"]}|>;
140 fitLinear = q36Fit[ms, uLinear, in];
141 fitMatched = q36Fit[ms, uMatched, in];
142 fitIndep = q36Fit[ms, uIndep, in];
143 (* per-class achieved bandwidth on the stamped lever-2 stroke (set b heads; U from the ladder-8 set-b union).
144 Stamps cost chip time: these are stamped-timeline rates, not speed receipts. bytes/ns = GB/s. *)
145 u8stamp = uMatched[[4]];
146 bwRow[name_, bytes_, kinds_List] := Module[{ns = Total[in["stampsKindNs"] /@ kinds]},
147 {name, q36Num[bytes], Total[in["stampsKindLaunches"] /@ kinds], q36Num[ns/10^6], q36Num[bytes/ns],
148 q36Num[100 (bytes/ns)/q36CeilingGBs]}];
149 bw = {{"class", "bytes per stroke", "launches", "ms", "GB/s", "% of 273 GB/s"},
150 bwRow["experts gate_up+down (U8 set b)", in["bytes[layers]"] u8stamp in["bytes[expert]"], {"gate_up", "down"}],
151 bwRow["experts gate_up", in["bytes[layers]"] u8stamp in["bytes[gate_up]"], {"gate_up"}],
152 bwRow["experts down", in["bytes[layers]"] u8stamp in["bytes[down]"], {"down"}],
153 bwRow["lm_head bf16 (2 four-head reads)", in["stampsKindLaunches"]["lm_head"] in["bytes[lm_head]"], {"lm_head"}],
154 bwRow["mix (FP8 + scales)", in["bytes[mix]"], {"mix"}],
155 bwRow["o_proj (FP8 + scales)", in["bytes[o_proj]"], {"o_proj"}],
156 bwRow["router (bf16 256x2048)", in["bytes[router]"], {"router"}],
157 bwRow["ab (bf16 in_proj_a,b)", in["bytes[ab]"], {"ab"}],
158 bwRow["superseded: experts at 768-wide 3x2048x768 B", in["bytes[layers]"] u8stamp 3*2048*768, {"gate_up", "down"}]};
159 variants = <|
160 "measured union (Linear U8 = 55.6)" -> <|"U8" -> 556/10, "tMs" -> q36Num[predict[8, 556/10]],
161 "tokS" -> q36Num[predictTokS[8, 556/10]]|>,
162 "independent-draw union (U8 = 1 + 256(1-(31/32)^8))" -> <|"U8" -> q36Num[q36Uindep[8]],
163 "tMs" -> q36Num[predict[8, q36Uindep[8]]], "tokS" -> q36Num[predictTokS[8, q36Uindep[8]]]|>,
164 "independent-draw union, Linear rounding (U8 = 58.4)" -> <|"U8" -> 584/10, "tMs" -> q36Num[predict[8, 584/10]],
165 "tokS" -> q36Num[predictTokS[8, 584/10]]|>,
166 "ladder-matched union (U8 set b)" -> <|"U8" -> q36Num[u8stamp], "tMs" -> q36Num[predict[8, u8stamp]],
167 "tokS" -> q36Num[predictTokS[8, u8stamp]]|>|>;
168 proj = Prepend[Table[{n, q36Num[q36Uindep[n]], q36Num[predict[n, q36Uindep[n]]], q36Num[predictTokS[n, q36Uindep[n]]],
169 If[n > q36MaxHeadsQualified, "architecture projection until OMEGA_GPU_Q36_MAX_HEADS > 8 is qualified",
170 "independent-draw variant (fitted range n <= 8)"]}, {n, {1, 2, 4, 8, 16, 32, 64}}],
171 {"n", "U independent draws", "t ms", "tok/s", "status"}];
172 checks = <|
173 "ladderMediansMatchReadme" -> AllTrue[Abs[ms - in["readmeLadderMs"]], # <= 5/10000 &],
174 "ladderMediansMatchFileField" -> (ms == Table[in["ladderFileMedianNs" <> ToString[k]], {k, q36Ns}]/10^6),
175 "stampsMedianMatchesLog" -> (Abs[stampMed - in["stampsLogMedianMs"]] <= 5/10000),
176 "stampsKindsSumToTotal" -> (Total[Values[in["stampsKindNs"]]] == in["stampsTotalNs"]),
177 "ladderHeadsAre1248" -> ({in["ladderHeads1"], in["ladderHeads2"], in["ladderHeads4"], in["ladderHeads8"]} == q36Ns),
178 "pinnedUnionMeansRederived" -> AllTrue[Values[pinnedMeans], Abs[#[[1]] - #[[2]]] <= 10^-9 &],
179 "expertBytesContract" -> (in["bytes[expert]"] == 3*2048*512 + 3*16*4*2 == 3146112 &&
180 in["bytes[shared]"] == in["bytes[expert]"] && in["bytes[gate_up]"] + in["bytes[down]"] == in["bytes[expert]"] &&
181 in["bytes[routed_expert_tensor_sets_layer0]"] == 256 && in["bytes[layers]"] == 40),
182 "lmHeadBytes" -> (in["bytes[lm_head]"] == 248320*2048*2),
183 "mixBytesMatchReadme0944GB" -> (Round[in["bytes[mix]"]/10^9, 1/1000] == 944/1000),
184 "fitPublishedReproducedLinearU" -> q36Reproduced[fitLinear],
185 "linearU4U8MatchPinnedUnions" -> (Round[uQuoted["U4 from 4chat"], 1/10] == uLinear[[3]] &&
186 Round[uQuoted["U8 from mean(set a, set b)"], 1/10] == uLinear[[4]]),
187 "indepFormulaMatchesPinnedFiles" -> (Abs[q36Uindep[8] - 1 - in["pinnedUnionIndep[8prompts]"]] <= 10^-9 &&
188 Abs[q36Uindep[4] - 1 - in["pinnedUnionIndep[4p]"]] <= 10^-9),
189 (* publishedPin*: pins of the published Linear text against q36Published; they do not read the inputs *)
190 "publishedPinT8" -> (predict[8, 556/10] == 837676/10000 && Round[predictTokS[8, 556/10], 1/100] == 9550/100),
191 "publishedPinIndep8" -> (Round[q36Uindep[8], 1/10] == 584/10 && Round[predictTokS[8, q36Uindep[8]], 1/10] == 933/10),
192 "weightClassesBelowCeiling" -> AllTrue[Most[Rest[bw]][[All, 5]], # <= q36CeilingGBs &]|>;
193 <|"version" -> q36ModelVersion,
194 "checks" -> checks,
195 "allChecksPass" -> AllTrue[Values[checks], TrueQ],
196 "ladderMediansMs (gate upper median)" -> q36Num[ms], "readmeLadderMs" -> in["readmeLadderMs"],
197 "ladderMediansMs (Wolfram Median, mean of middle pair)" -> q36Num[q36MedMsMean[in]],
198 "stampsMedianMs" -> q36Num[stampMed],
199 "U" -> <|"linear (frozen)" -> q36Num[uLinear], "ladder-matched" -> q36Num[uMatched],
200 "independent draws" -> q36Num[uIndep], "quoted-sources" -> q36NumAssoc[uQuoted],
201 "ladder-matched minus linear" -> q36Num[uMatched - uLinear]|>,
202 "pinnedUnionMeans {wolfram, file}" -> Map[q36Num, pinnedMeans],
203 "fitPublishedProcedure (linear U)" -> q36NumAssoc[fitLinear],
204 "fitPublishedProcedure (ladder-matched U)" -> q36NumAssoc[fitMatched],
205 "fitPublishedProcedure (independent-draw U)" -> q36NumAssoc[fitIndep],
206 "freeFit (linear U)" -> q36NumAssoc[q36FreeFit[ms, uLinear]],
207 "publishedModelRmsMs (linear U)" -> q36Num[q36Rms[ms, uLinear]],
208 "publishedModelResidualsMs (linear U)" -> q36Num[ms - Table[predict[q36Ns[[i]], uLinear[[i]]], {i, 4}]],
209 "publishedModelResidualFraction (linear U, (measured - predicted)/predicted)" ->
210 q36Num[Table[(ms[[i]] - predict[q36Ns[[i]], uLinear[[i]]])/predict[q36Ns[[i]], uLinear[[i]]], {i, 4}]],
211 "variantsN8" -> variants,
212 "bandwidth (stamped lever-2 stroke)" -> bw,
213 "projection" -> proj,
214 "revisionRuleExamples" -> {recordLever["example within", 8, 556/10, 105/100 predict[8, 556/10]],
215 recordLever["example breach", 8, 556/10, 115/100 predict[8, 556/10]]}|>];
216
217q36Report[q36in]