aien-sovereign-core-mv
AienOS host runtime: inference scheduling, paged KV state, the aien CLI and Spark verification tooling. Its inference engine is in alpha testing (DGX Spark GB10); Omega is the implementation destination.
Brought by drakestapleton
aien-sovereign-core-mv / evidence / merge-train / suite.json
| 1 | { |
| 2 | "merge_train": 1, |
| 3 | "about": "The merge train's one shared suite (L384, Drake 2026-10-21: 'batch the tests ... call it the merge train'). Data, not code: a case is requests to the door plus what the replies must equal. See docs/MERGE_TRAIN.md.", |
| 4 | "model_dir": "qwen3.6-35b-a3b-fp8-95a723d0", |
| 5 | "defaults": { |
| 6 | "temperature": 0, |
| 7 | "chat_template_kwargs": { |
| 8 | "enable_thinking": false |
| 9 | }, |
| 10 | "aien_return_token_ids": true |
| 11 | }, |
| 12 | "prompts": "evidence/q36-batch-20261021/prompts.txt", |
| 13 | "ntok": "i == 0 ? 24 : 8 + (i * 7) % 41", |
| 14 | "arms": { |
| 15 | "plain": { |
| 16 | "about": "the served path, every lever as the candidate ships it" |
| 17 | }, |
| 18 | "stroke-off": { |
| 19 | "aien_test": { |
| 20 | "stroke": false |
| 21 | }, |
| 22 | "about": "rows in turn on their own graphs (L312's fallback path)" |
| 23 | }, |
| 24 | "exact-head-off": { |
| 25 | "aien_test": { |
| 26 | "exact_head": false |
| 27 | }, |
| 28 | "about": "the plain one-pass head (L314's fallback path)" |
| 29 | }, |
| 30 | "state-bf16": { |
| 31 | "server_env": { |
| 32 | "AIEN_OMEGA_GDN_STATE_BF16": "1" |
| 33 | }, |
| 34 | "log_proof": "bf16", |
| 35 | "enabled": false, |
| 36 | "about": "L313's bf16 DeltaNet state: load-only, so a second server. NOT bit-exact by design: enable only with L313's drift-rule cases (cases listing arms [state-bf16]); the shared identity cases would be red by construction" |
| 37 | }, |
| 38 | "board": { |
| 39 | "server_env": { |
| 40 | "AIEN_BOARD_DIR": "$OUT/board" |
| 41 | }, |
| 42 | "enabled": false, |
| 43 | "about": "L376's team board: on only with a board dir at start; enabled when L354 merges serve/q36-board" |
| 44 | }, |
| 45 | "interior-uncached": { |
| 46 | "server_env": { |
| 47 | "AIEN_OMEGA_Q36_BUF_CACHED": "0" |
| 48 | }, |
| 49 | "log_proof": "interior buffers GPU-uncached", |
| 50 | "enabled": false, |
| 51 | "about": "L310 whole-step A/B of the cached interior (omega_gpu_q36_graph.c: chip-only intermediates GPU-L2-cached by default, GPU-uncached with this switch): load-only, so a second server. Bit-exact by design (same math, only the L2 policy of chip-only buffers changes; 2026-10-19 probe gpu_q38_graph_test 38/38 PASS both ways), so the shared identity cases apply unchanged. The figure is chip ms/step in server-interior-uncached.log against server-plain.log, same cases back to back (docs/speed/Q36_CEILING.md section 8). Enable once the candidate carries the proof line (sc l310/train-arm-interior-uncached, moe.rs: qwen36 omega: interior buffers ...)." |
| 52 | }, |
| 53 | "grouped-wave": { |
| 54 | "server_env": { |
| 55 | "AIEN_OMEGA_FP8_GROUPED_WAVE": "1" |
| 56 | }, |
| 57 | "log_proof": "CTAs per group (wave rule)", |
| 58 | "enabled": false, |
| 59 | "about": "L310 expert launch in one wave: omega_gpu_fp8_api.c grouped CTA budget = min(6, 48 SMs / groups) -> 5 CTAs per group for the 35B 9 groups (54 CTAs = two waves on 48 SMs at one 1024-thread CTA per SM, CUDA guide Table 30) instead of the compiled 6 measured on 8 groups; load-only (read once at the first grouped launch). Measured 2026-10-24 chip alone: gate_up+down 6.962 -> 5.874 ms per 1-row step, step x0.9614 (calc:bdad83e6; ~/workspace/investigations/2026-10-24-l310-grouped-ctas). Enable when the candidate lib defines omega_gpu_fp8_grouped_ctas_auto (omega l310/grouped-wave on ship/motor-l387)." |
| 60 | } |
| 61 | }, |
| 62 | "levers": [ |
| 63 | { |
| 64 | "id": "L354", |
| 65 | "name": "batch door: many conversations per beat", |
| 66 | "present": { |
| 67 | "always": true |
| 68 | }, |
| 69 | "arms": [ |
| 70 | "plain" |
| 71 | ] |
| 72 | }, |
| 73 | { |
| 74 | "id": "L312", |
| 75 | "name": "strokes v2: rows ride one graph", |
| 76 | "present": { |
| 77 | "switch": "stroke" |
| 78 | }, |
| 79 | "arms": [ |
| 80 | "plain", |
| 81 | "stroke-off" |
| 82 | ] |
| 83 | }, |
| 84 | { |
| 85 | "id": "L314", |
| 86 | "name": "exact two-pass head", |
| 87 | "present": { |
| 88 | "switch": "exact_head" |
| 89 | }, |
| 90 | "arms": [ |
| 91 | "plain", |
| 92 | "exact-head-off" |
| 93 | ] |
| 94 | }, |
| 95 | { |
| 96 | "id": "L374", |
| 97 | "name": "tool calling", |
| 98 | "present": { |
| 99 | "build": "tools" |
| 100 | }, |
| 101 | "arms": [ |
| 102 | "plain" |
| 103 | ] |
| 104 | }, |
| 105 | { |
| 106 | "id": "L369", |
| 107 | "name": "chunked prefill", |
| 108 | "present": { |
| 109 | "build": "prefill" |
| 110 | }, |
| 111 | "arms": [ |
| 112 | "plain" |
| 113 | ] |
| 114 | }, |
| 115 | { |
| 116 | "id": "L375", |
| 117 | "name": "shared prompt prefix", |
| 118 | "present": { |
| 119 | "build": "prefix" |
| 120 | }, |
| 121 | "arms": [ |
| 122 | "plain" |
| 123 | ] |
| 124 | }, |
| 125 | { |
| 126 | "id": "L371", |
| 127 | "name": "eight readers", |
| 128 | "present": { |
| 129 | "model": "readers" |
| 130 | }, |
| 131 | "arms": [ |
| 132 | "plain" |
| 133 | ] |
| 134 | }, |
| 135 | { |
| 136 | "id": "L355", |
| 137 | "name": "W4 experts store", |
| 138 | "present": { |
| 139 | "build": "W4" |
| 140 | }, |
| 141 | "arms": [ |
| 142 | "plain" |
| 143 | ] |
| 144 | }, |
| 145 | { |
| 146 | "id": "L313", |
| 147 | "name": "bf16 DeltaNet state", |
| 148 | "present": { |
| 149 | "build": "bf16|state-precision" |
| 150 | }, |
| 151 | "arms": [ |
| 152 | "plain", |
| 153 | "state-bf16" |
| 154 | ] |
| 155 | }, |
| 156 | { |
| 157 | "id": "L376", |
| 158 | "name": "team board", |
| 159 | "present": { |
| 160 | "health": ".board.tools" |
| 161 | }, |
| 162 | "arms": [ |
| 163 | "plain", |
| 164 | "board" |
| 165 | ] |
| 166 | }, |
| 167 | { |
| 168 | "id": "L310", |
| 169 | "name": "cached interior: whole-step A/B against the ceiling", |
| 170 | "present": { |
| 171 | "build": "L310|interior" |
| 172 | }, |
| 173 | "arms": [ |
| 174 | "plain", |
| 175 | "interior-uncached" |
| 176 | ] |
| 177 | }, |
| 178 | { |
| 179 | "id": "L310-wave", |
| 180 | "name": "expert launch one wave: CTAs per group from the SM count", |
| 181 | "present": { |
| 182 | "build": "grouped-wave" |
| 183 | }, |
| 184 | "arms": [ |
| 185 | "plain", |
| 186 | "grouped-wave" |
| 187 | ] |
| 188 | } |
| 189 | ], |
| 190 | "cases": [ |
| 191 | { |
| 192 | "id": "golden-chat-max-24", |
| 193 | "kind": "golden", |
| 194 | "golden": "evidence/q36-host-20261020/gen-chat-max-24.json", |
| 195 | "max_tokens": 24, |
| 196 | "user": "Write a C function that returns the larger of two ints.", |
| 197 | "about": "gate2-http: the motor's chat golden through the door (host reference, no load needed)" |
| 198 | }, |
| 199 | { |
| 200 | "id": "golden-chat-code", |
| 201 | "kind": "golden", |
| 202 | "golden": "evidence/q36-host-20261020/gen-chat-code.json", |
| 203 | "max_tokens": 32, |
| 204 | "user": "Write a Rust function that reverses the words in a sentence, keeping the words themselves intact." |
| 205 | }, |
| 206 | { |
| 207 | "id": "golden-chat-prose2", |
| 208 | "kind": "golden", |
| 209 | "golden": "evidence/q36-host-20261020/gen-chat-prose2.json", |
| 210 | "max_tokens": 32, |
| 211 | "user": "Write one short paragraph, in plain prose, about a baker opening the shop before dawn on the first cold morning of autumn." |
| 212 | }, |
| 213 | { |
| 214 | "id": "golden-chat-chat", |
| 215 | "kind": "golden", |
| 216 | "golden": "evidence/q36-host-20261020/gen-chat-chat.json", |
| 217 | "max_tokens": 32, |
| 218 | "user": "I have a free Saturday and want to go on a day hike with a friend who has never hiked. How should we plan it?" |
| 219 | }, |
| 220 | { |
| 221 | "id": "golden-chat-review", |
| 222 | "kind": "golden", |
| 223 | "golden": "evidence/q36-host-20261020/gen-chat-review.json", |
| 224 | "max_tokens": 32, |
| 225 | "user": "Review this C function and point out any bugs:\n\nint sum(int *a, int n) {\n int s;\n for (int i = 0; i <= n; i++) s += a[i];\n return s;\n}" |
| 226 | }, |
| 227 | { |
| 228 | "id": "concurrent-32", |
| 229 | "kind": "together", |
| 230 | "ref": "alone", |
| 231 | "n": 32, |
| 232 | "stagger_ms": 250, |
| 233 | "about": "all 32 prompts at once, rows joining and leaving mid-spell; every reply == the same request alone (reference store)" |
| 234 | }, |
| 235 | { |
| 236 | "id": "turn2", |
| 237 | "kind": "turn2", |
| 238 | "ref": "alone", |
| 239 | "prompt": 5, |
| 240 | "max_tokens": 16, |
| 241 | "follow_up": "Now say it again in one short sentence.", |
| 242 | "about": "a second turn on prompt 5's conversation after the concurrent run == the same turn alone" |
| 243 | }, |
| 244 | { |
| 245 | "id": "tool-call", |
| 246 | "kind": "tool", |
| 247 | "max_tokens": 200, |
| 248 | "expect_tool": "get_weather", |
| 249 | "user": "What is the weather in Paris right now? Use the tool.", |
| 250 | "tools": [ |
| 251 | { |
| 252 | "type": "function", |
| 253 | "function": { |
| 254 | "name": "get_weather", |
| 255 | "description": "Current weather for a city", |
| 256 | "parameters": { |
| 257 | "type": "object", |
| 258 | "properties": { |
| 259 | "city": { |
| 260 | "type": "string" |
| 261 | } |
| 262 | }, |
| 263 | "required": [ |
| 264 | "city" |
| 265 | ] |
| 266 | } |
| 267 | } |
| 268 | } |
| 269 | ], |
| 270 | "about": "the reply is a parsed tool call to get_weather (L374 tools build; Hermes depends on it)" |
| 271 | }, |
| 272 | { |
| 273 | "id": "mutant-4-red", |
| 274 | "kind": "golden", |
| 275 | "golden": "evidence/q36-host-20261020/gen-chat-max-24.json", |
| 276 | "max_tokens": 24, |
| 277 | "user": "Write a C function that returns the larger of two ints.", |
| 278 | "aien_test": { |
| 279 | "mutant": 4 |
| 280 | }, |
| 281 | "expect": "red", |
| 282 | "arms": [ |
| 283 | "plain" |
| 284 | ], |
| 285 | "about": "negative control: mutant 4 (shared expert dropped) on this request only must NOT equal the golden" |
| 286 | }, |
| 287 | { |
| 288 | "id": "mutant-row-isolated", |
| 289 | "kind": "together", |
| 290 | "ref": "alone", |
| 291 | "n": 8, |
| 292 | "stagger_ms": 0, |
| 293 | "arms": [ |
| 294 | "plain" |
| 295 | ], |
| 296 | "aien_test_on": { |
| 297 | "5": { |
| 298 | "mutant": 4 |
| 299 | } |
| 300 | }, |
| 301 | "expect_red": [ |
| 302 | 5 |
| 303 | ], |
| 304 | "others_red_max": 0, |
| 305 | "about": "8 rows at once, mutant on row 5 only: row 5 red, the 7 others identical (the switch is per request)" |
| 306 | }, |
| 307 | { |
| 308 | "id": "row-swap-red", |
| 309 | "kind": "together", |
| 310 | "ref": "alone", |
| 311 | "n": 8, |
| 312 | "stagger_ms": 0, |
| 313 | "arms": [ |
| 314 | "plain" |
| 315 | ], |
| 316 | "aien_test_on": { |
| 317 | "3": { |
| 318 | "row_swap": 2 |
| 319 | } |
| 320 | }, |
| 321 | "expect_red": [ |
| 322 | 3 |
| 323 | ], |
| 324 | "expect_red_min": 2, |
| 325 | "others_red_max": 1, |
| 326 | "about": "8 rows at once, row 3 trades rows with another conversation at its 2nd step: both go red, the rest identical" |
| 327 | }, |
| 328 | { |
| 329 | "id": "board-gate", |
| 330 | "kind": "script", |
| 331 | "script": "evidence/q36-board-20261021/gate.sh", |
| 332 | "arms": [ |
| 333 | "board" |
| 334 | ], |
| 335 | "levers": [ |
| 336 | "L376" |
| 337 | ], |
| 338 | "args": [ |
| 339 | "$PORT", |
| 340 | "$OUT/board-gate", |
| 341 | "$SERVER_LOG", |
| 342 | "$OUT/board" |
| 343 | ], |
| 344 | "about": "L376's 10 board cases (ledger note on L384, 14:12Z) as the owner's gate against the train's server" |
| 345 | }, |
| 346 | { |
| 347 | "id": "l369-long-prompts", |
| 348 | "kind": "script", |
| 349 | "script": "evidence/merge-train/l369/long-prompts.sh", |
| 350 | "arms": [ |
| 351 | "plain" |
| 352 | ], |
| 353 | "levers": [ |
| 354 | "L369" |
| 355 | ], |
| 356 | "args": [ |
| 357 | "run", |
| 358 | "$PORT", |
| 359 | "$OUT" |
| 360 | ], |
| 361 | "about": "L369 chip prefill on the door: ~256/~2k/~8k-token prompts + one sampled request + the 32 short prompts at once, then turn 2; ids == the reference build alone (refs <CURRENT>/l369-long) and == the store (short). Needs MERGE_TRAIN_CTX >= 9216 (L387)" |
| 362 | }, |
| 363 | { |
| 364 | "id": "readers-gate", |
| 365 | "kind": "script", |
| 366 | "script": "evidence/q36-readers-train/gate.sh", |
| 367 | "arms": [ |
| 368 | "plain" |
| 369 | ], |
| 370 | "levers": [ |
| 371 | "L371" |
| 372 | ], |
| 373 | "args": [ |
| 374 | "$PORT", |
| 375 | "$OUT/readers-gate" |
| 376 | ], |
| 377 | "about": "L371 eight readers: id listed; short input == plain ids; a ~5.6k-token excerpt is read by 8 readers (contiguous parts, notes each) and the final answer joins two far-apart facts; plain id has no aien_readers (red control). Needs 8 free rows (L371_READERS overrides). Not an exactness gate: readers are opt-in by id." |
| 378 | } |
| 379 | ] |
| 380 | } |