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 / dra52-golden-20261107 / README.md

62 lines · 5546 bytes Raw Blame History Rendered
1# DRA-52 golden-token gate: first GB10 run (2026-11-07)
2
3EXERCISED on one GB10 (spark-b87b), window `20261107T002035Z-6856f7` (`--gb10 exclusive --quiet none`,
4values only, no timing claim). Source: Core branch `hive/dra52-golden-gate` (gate code as committed in
5`aa0de1a6`), aien-train main `0518c915dea370b3bffbb90d579b1daa5ba8b8f5`, checkpoint rung-10 BF16 v2
6`ck60000` sha256 `a53ced72…2d0f`, merges sha256 `73a29baf…3882`, record
7`om/golden/ollm/ref/r10-ck60000.ref` (8 prompts x 48 tokens decoded by `gtcpu` on the host CPU in
8545.77 s, 343 kept steps: prompt 3 stops at step 7, margin 0.0029 < 2^-7). Script: `gpurun.sh`
9(`$RUN` = the run's scratch directory). Full transcript: `gpurun.log`.
10
11| Arm | Tree | gate.om cmp | gate.sh |
12|---|---|---|---|
13| clean candidate | aien-train main | 8/8 MATCH, 343/343 kept tokens, max drift 24,888e-9 logit (bound 1,953,125e-9: 78.5x headroom) | |
14| built-in negative control | main + `negctl/softmax-log2e.sed` (softmax log2e x 5/4, one GB10 kernel immediate) | 8/8 DRIFT at step 0 (exit 1); 7/8 prompts also diverge in tokens (first: prompt 0 step 25) | `GOLDEN-GATE PASS` (exit 0) |
15| "PR": one kernel constant | `kconst-pr.patch`: `gpu/gr.om` RMS-norm epsilon 1e-5 -> 1e-4 (local commit `3ed39b4`, never pushed) | 5 MATCH, 3 DRIFT (exit 1): prompt 5 step 46 by 0.003964 logit, prompt 6 step 46, prompt 7 step 21; no token divergence | `GOLDEN-GATE FAIL` (exit 1): blocked |
16| its negative control | the PR tree + the softmax sed | 8/8 DRIFT (exit 1) | (the control was blocked as required) |
17
18GB10 decode wall per arm (GTE line, upload and kernel emission included): 10.9-11.7 s.
19
20Finding: the epsilon change moves no greedy token in these 343 steps; only the top-1 logit drift
21check (2^-9) blocks it. A token-only comparison would have passed that PR.
22
23Host arms in the same tree: `check-host.log` (`om/golden/ollm/check.sh`, 35/35, five gate.om mutants
24killed). Numbers: Wolfram `{N[24888/10^9], N[1953125/24888], N[(25188880920-25184916609)/10^9]}` ->
25`{0.000024888, 78.4766, 0.003964311}`.
26
27Core gate step script `om/golden/ollm/core-gate.sh` end-to-end, window `20261107T002345Z-f24d34`: `core-gate.log`, AIEN-OBS `golden_pass true`, `negctl_blocked true`, exit 0; the same candidate cmp line as above (max drift 24,888e-9 again). Without the checkpoint it printed `AIEN-OBS not_run_reason "model_missing"` and exited 77. `tests/gates/run.sh gb10-golden-tokens` (sibling pins under the local-CI runner) is NOT_RUN.
28
29Historical receipt: `gpurun.sh`, `check.sh`, `core-gate.sh` and `negctl/softmax-log2e.sed` named above were
30the shell drivers at the time of this run. They have since been replaced by the seeded Omega driver
31`om/golden/ollm/drive.om` (and `negctl/softmax-log2e.neg`); `omega-driver/` holds the replacement
32evidence: the Omega driver builds byte-identical decoders (`build-old.txt`, `build-new.txt`: binary
33sha256 `fdc3f50b…` main, `a0489d29…` negative control), the four GB10 runs above replay to identical
34`gate.om cmp` transcripts and exits (`replay-gpu-outputs.txt`), the Core step NOT_RUN paths match
35(`core-not-run.txt`), the record-bound fix refuses what the old gate accepted (`finding2-old-vs-new.txt`),
36the host arms (`check-new.txt`, old `check-old-54229490.txt`) and the CPU reference rerun
37(`record-rerun.txt`). This file's GB10 numbers were not rerun.
38
39Replace-ref fix (b9649d29, local read of e19cafd0): every git child of `drive.om` runs with
40`--no-replace-objects`; `drive check` gained `build-ignores-replace-ref` (chk7: a scratch clone with
41`git replace HEAD~1 HEAD` planted must build the clean `source_sha256`). Fresh-clone check at b9649d29:
4255 PASS, `all arms as expected`, exit 0 (`omega-driver/check-b9649d29.txt`; `drive.sha256` then named
43drive.om `fd269b67…` and binary `f9da6d4d…`). Negative control, the e19cafd0 driver logic plus the new
44arm: `FAIL build-ignores-replace-ref`, exit 1 (`omega-driver/check-negctl-replace-ref.txt`). `gate rec`
45now refuses a run longer than max_tokens (`omega-driver/rec-over-mx.txt`). Host only; GB10 NOT_RUN.
46
47Isolation and REV-freeze fix (7324386f, local read of 27da864e): `build` resolves REV and runs
48`git archive` in a template-less private bare repository `OUT/src.git`, fetched from TRAIN through an
49upload-pack that ignores grafts and replace refs; every git child also drops the system and global
50config, attributes and graft files. `gate` resolves REV once, pins `OUT/src.git` HEAD to the commit,
51builds both candidate and negative control from it and returns BROKEN unless both report that commit.
52M1-M7 pin the exit each killed mutant gives; another exit is an infrastructure failure, not a kill.
53New arms: `build-ignores-info-grafts`, `build-ignores-info-attributes` (chk7) and
54`gate-freezes-rev` with `gate-freeze-branch-moved` (chk8: the fixture's build.sh moves the branch
55during every build; the gate stops at NOT_RUN before the GPU). Fresh-clone check at 7324386f:
5666 PASS, `all arms as expected`, exit 0 (`omega-driver/check-7324386f.txt`; `drive.sha256` names
57drive.om `05434e92…` and binary `a22dd63c…`). Negative controls, mutants of the 7324386f driver:
58the old isolation (REV resolved and archived in TRAIN, git env not cleared) fails the graft and
59attributes arms, exit 1 (`omega-driver/check-negctl-isolation.txt`); the old gate (no freeze, no
60commit check) fails `gate-freezes-rev`, exit 1 (`omega-driver/check-negctl-freeze.txt`); wrong
61pinned mutant exits fail M1-M7 as infrastructure failures, exit 1
62(`omega-driver/check-negctl-mres.txt`). Host only; GB10 NOT_RUN.