interplane.Get Omega
Read in your language

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

branch main Branches Tags History

aien-sovereign-core-mv / evidence / l387-motor-ship / README.md

98 lines · 7769 bytes Raw Blame History Rendered
1# L387 motor ship build (2026-10-21)
2
3Drake: "hurry, motor -> Allen -> alpha". Every READY speed lever with a green gate in ONE merge-train build, one train
4load, timing receipts, and the swap of the live door 18091.
5
6## What is in the ship build
7
8| lever | branch @ sha | state in the ship build | gate evidence |
9|---|---|---|---|
10| L354 batch door + L312 strokes v2 (lever 2) + tools L374 | sc serve/q36-batch-v2 9c62690a (bin-16b0e6f8 source) | ON (`AIEN_Q36_STROKE=1`, as live) | live gate2 32/32 on bin-16b0e6f8 |
11| L384 per-request test switches | sc serve/merge-train 59b896b1 | test build only (cargo feature `aien-test-switches`); the live build answers 400 to `aien_test` | the train itself |
12| L369 chip prefill (prompt chunks of 128: GEMMs, multi-token GDN, attention, gate rows) | omega serve/q36-prefill-v2 60ba3051, sc serve/q36-prefill-v2 6127db50 | ON (`AIEN_Q36_PREFILL_CHUNK=0` = token by token) | full 35B bit-identical 256/2k/8k (targets/l369/ev/full-time-v3.log); train case `l369-long-prompts` |
13| L314 exact head per stroke slot | sc hum/exact-head-batch 8dd86a36 (omega 41269bd8 via prefill-v2) | ON (`AIEN_Q36_EXACT_HEAD=0` off) | batch gate PASS real8 + mutant5 red (sc-hum-exact-batch evidence/hum-exact-head/batch/gate-4d377169.result) |
14| L356 COMBINE+NORM rows | omega 4b079116 via prefill-v2 | ON (`AIEN_OMEGA_Q36_CN_ROWS=0` off) | the train (strokes at N >= 2) |
15| L313 bf16 DeltaNet state | omega hum/state-precision 19c3b5d2 | OFF (`AIEN_OMEGA_GDN_STATE_BF16` unset): not bit-exact by design (door drift 30/33 identical vs f32), not validated with the prefill's multi-token GDN | sc-l313-door evidence/hum-state-door |
16| L312 levers 3-7 | omega motor/serve 881f4397 | OUT: stroke gate3 unfinished (l6 real PASS 21:57Z; ladder, swap controls, lever 7 pending) | next train |
17| L375 shared prompt cache | sc serve/q36-prefix a7dab040 | OUT: gate never finished | next train |
18| L376 team board | sc serve/q36-board be32649f | OUT: chip run never served | next train |
19
20Merges: omega ship/motor-l387 6de999da; sc ship/motor-l387 fe5a0d6e (code). Two conflicts resolved by keeping both sides:
21the scheduler runs the L384 row swaps then the L369 prefill chunks, and a row carrying `aien_test` switches skips the
22chunked prefill (its prompt goes token by token through `step_rows_test`, so every switch applies to every step); the
23lone row keeps its own graph (16b0e6f8) and strokes set the exact head per head slot (L314).
24
25Library: lib sha256 110295ef; q36 dec sim 27/27 PASS; q36 kernel hashes identical to L369's lib-v3 (the merge of
26L313 changes no 35B program while the switch is off).
27
28## Train
29Run `20261022T0244Z-bfc41659` on bin-bfc41659 (the same commit as the live build bin-19173f9e, built with
30`--features aien-test-switches`): **1 load**, load 91 s + suite 437 s = 528 s wall, against reference build 5b726818.
31Verdict: [`../merge-train/runs/20261022T0244Z-bfc41659/verdict.md`](../merge-train/runs/20261022T0244Z-bfc41659/verdict.md).
32
33- goldens 5/5, concurrent-32 32/32 identical to alone, turn 2 identical, tool call parses (`get_weather`, `{"city":"Paris"}`),
34 on each of the arms plain, stroke-off and exact-head-off.
35- red controls 3 RED-OK of 3: mutant-4-red, mutant-row-isolated (row 5 differs, 7 others identical),
36 row-swap-red (rows 0 and 3 differ, 6 others identical).
37- l369-long-prompts (365 / 2486 / 8210 prompt tokens, one sampled request and the 32 short prompts at once, then turn 2):
38 37 identical to the references.
39- Lever verdicts: L354 PASS, L312 PASS, L314 PASS, L374 PASS, L369 PASS, L313 PASS (OFF; plain arm only, its own arm disabled);
40 L375, L371, L355, L376 NOT-ON-TRAIN.
41
42Run 1 (`20261022T0119Z-faac363f`, stopped after the fault) found two harness faults, both fixed red then green before run 2:
4359b05a71 (a row that carried a mutant or a row trade left its turn-header snapshot for the next request: row-swap-red
44RED-FAIL, 3 rows red; host test `a_negative_control_leaves_no_state_for_a_later_request` fails without the fix) and
45f0230a59 (`enabled // true` in jq loaded the disabled state-bf16 arm).
46
47## Timing receipts (18091, same flags, shared machine)
48Both builds were timed on the live door 18091 with `AIEN_Q36_STROKE=1`. The chip was reserved for the lever owners, so
49spark-window refused L387 a window: **every figure below is a shared-machine receipt.** Renda and the courier were also using
50the door (each line in `before-16b0e6f8/time.jsonl` and `after-19173f9e/time.jsonl` logs `in_flight_before` and
51`"window":"shared machine"`).
52
53Prompt reading (one request, prompt tokens / wall):
54
55| prompt | bin-16b0e6f8 (before) | bin-19173f9e (after) | after / before |
56|---|---|---|---|
57| ~2.5k | 2486 tok in 109.536 s = **22.696 tok/s** (calc:d6eb7524) [1] | 2532 tok in 11.987 s = **211.23 tok/s** (calc:b4d69bb4) | 9.31x (calc:3bbd50da) |
58| ~8k | 8210 tok in 429.259 s = **19.126 tok/s** (calc:67b6d9e6) [1] | 8256 tok in 52.894 s = **156.09 tok/s** (calc:6edf5912) | 8.16x (calc:bd8f42ad) |
59| ~21k | 21421 tok in 789.738 s = **27.124 tok/s** (calc:16e80123) | 21421 tok in 196.787 s = **108.85 tok/s** (calc:6d32757e) | 4.01x less wall (calc:c16a81e4) |
60
61[1] The time-motor before-run lost its 2k and 8k prompt files (they were not yet copied here; its two 58-token lines are
62void). These two before figures are the L387 reference capture on the same build and port from 2026-10-21T22:02:15Z to 22:11:14Z, one request
63at a time: wall = the gap between consecutive reply files (`refs/.../l369-long/long-{256,2048,8192}.json.raw` mtimes), so it
64includes 24 generated tokens per request.
65
66The 21k "before" figure is faster per token than the 8k one: the 8k reference capture ran beside other load, and both were
67taken on the shared machine. Treat the before column as a rough floor, not a fine figure.
68
69Short replies (N requests at once from short.txt, greedy, max 128 tokens, completion tokens / wall of the slowest;
70the wall includes reading the short prompt; median of 3):
71
72| N | before | after |
73|---|---|---|
74| 1 | 1.711 tok/s (calc:83ad1ec4) | 14.66 tok/s (calc:985c5509) |
75| 8 | 20.77 tok/s (calc:61850490) | 46.29 tok/s (calc:1bf7f597) |
76
77On the old build, N=8 got 6 replies of 8 each time. The door's other two slots were busy, so two requests were refused with
78`server_busy`. After the swap, N=8 got 7, 8 and 7. These short-reply figures are end-to-end and noisy: they are not
79decode-only numbers, and they do not set a ceiling fraction. The decode ceiling for one conversation is 63.25 tok/s
80(motor-chip-20261021/README.md). Prompt-reading ceiling: not measured.
81
82## Swap
83`swap.sh bin-19173f9e` (copy here). Timeline from `~/workspace/targets/l387/swap.log`:
84
85- 03:11Z: a first attempt posted SWAP NOW and then stopped itself before any restart. The window had been refused, so the
86 2k/8k/decode before-timing would have been lost. The BOARD has a SWAP POSTPONED line.
87- 03:16Z: BOARD SWAP NOW. The script waits until in_flight is 0 and never cuts a live request: if the door stays busy
88 for 30 min, there is no swap.
89- 03:16:38Z: old server (bin-16b0e6f8) stopped by SIGTERM in 3 s. The flag `/tmp/aien-q36-live-restart` was set,
90 so q36-extra admitted no load meanwhile.
91- 03:17:50Z: 18091 serves bin-19173f9e with `AIEN_Q36_STROKE=1`. **Downtime 74 s** (limit 3 min).
92- 03:18:11Z: live gate2 `gate-batch.sh 18091 18091 live-19173f9e-1022T0317Z`: **PASS**, 32/32 replies identical to alone,
93 and turn 2 identical (`../q36-batch-20261021/live-19173f9e-1022T0317Z/`).
94- 03:18:17Z: live tool call **parsed**: `get_weather`, `{"city":"Paris"}` (`live-tool-call.json`).
95- 03:25:19Z: after-timing done, SWAP DONE.
96
97Back-out line (in ledger L387 too):
98`Q36_BATCH_BIN=bin-16b0e6f8 AIEN_Q36_STROKE=1 ~/.local/state/aien-q36/start-35b-batch.sh`, after a SIGTERM of serve.pid.