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 / hum-exact-head / serve / README.md

56 lines · 3240 bytes Raw Blame History Rendered
1# L314 exact two-pass head in the served 35B (2026-10-21)
2
3Drake 02:25Z: "turn on the quick levers anyway even if it is not faster. Just turn it on." The speed gate is dropped and
4the exact-words gate stays.
5
6## Plain English
7
8The served 35B now picks each word in two passes when the request is greedy (temperature 0). First a rough half-size
9copy of the scoring table scores every word, with a proven worst-case error. Then the exact table rescores only the
10words that could still win. The chosen word is the same as before, by construction. Sampled requests (temperature
11above 0) still use the full table, because they need every score.
12
13Result: the served words are identical to the golden and to the same binary with the lever off. A deliberately broken
14build fails the test.
15
16## Binary
17
18`~/.local/state/aien-q36/bin-e1f02b29` (`BUILD-bin-e1f02b29.txt`, `SHA256SUMS-bin-e1f02b29`):
19- sc `hum/exact-head-serve` e1f02b29, on motor/serve 06d1ce85, the base of the serving binary bin-5b726818.
20- omega `hum/exact-head` 844509b5, on q36/serve 739c80e8. The lib is built against physics at physics.lock 6d7cf0d4,
21 and only the 4 changed objects differ from bin-5b726818's lib.
22- `AIEN_Q36_EXACT_HEAD=0` turns the lever off. `AIEN_Q36_TEST_MUTANT=5` is the red control: it inverts the MASK, so
23 candidates get -inf and the other rows keep their logits.
24
25## Gate (`serve-gate.sh`, port 18093, 18091 never touched)
26
27| run | gate2-http.sh (24 ids vs host golden gen-chat-max-24) | extra requests |
28|---|---|---|
29| ON (default) | PASS (`gate2-l314-exact-on.json`) | 4 chat prompts x 128 greedy + 1 sampled (t 1.0, seed 7) |
30| MUTANT 5 | FAIL, as required (`gate2-l314-exact-mutant5.json`) | |
31| OFF (`AIEN_Q36_EXACT_HEAD=0`, same binary) | PASS (`gate2-l314-exact-off.json`) | the same 5 requests |
32
33ON ids == OFF ids on 5 of 5 requests (`ask-on-*.json` vs `ask-off-*.json`). VERDICT PASS (`serve-gate.txt`).
34Mutant 5 failing also shows that greedy requests really run the MASK path.
35
36`attempt1-stale-physics/`: the first pin could not load (`gdn alloc: marker wait timed out`). Its omega lib had been
37built with `PHYSICS_LOCK_CHECK=0` against a stale physics checkout that lacks #28 (GB10 GPFIFO/pushbuffer GPU-uncached).
38Rebuilt at the pin, it loads. `server-*-fail*.log`: start attempts that hit memory or channel limits while other
39agents' 35B jobs were loading (status 0x51). The script waits for memory and retries.
40
41## Timing (first look, not a controlled measurement)
42
43These numbers come from the server's own per-request line, "graph chip ms/token". They are single requests on a shared
44chip, taken at different times, so other agents' jobs were running (the ON requests waited 40 to 88 s for the chip lock).
45
46| greedy request | ON chip ms/token | OFF chip ms/token |
47|---|---|---|
48| gate2 (24 tok) | 20.6 | 23.8 |
49| prompt 0 (128) | 20.5 | 23.7 |
50| prompt 1 (128) | 21.6 | 23.9 |
51| prompt 2 (128) | 21.6 | 24.1 |
52| prompt 3 (128) | 22.0 | 23.9 |
53
54Median: ON 21.6 ms = 46.3 tok/s (calc:f106255f), OFF 23.9 ms = 41.84 tok/s (calc:7da2444f), ratio 1.106
55(calc:85294dbc). The memory-speed ceiling with this head is 68.1 to 78.0 tok/s (README above: calc:c66bca93, c52efc2d,
569016f1ef). A controlled run under quiet-measure is still to do.