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 / om / ribbon / QUALIFICATION.md

139 lines · 8201 bytes Raw Blame History Rendered
1# Ribbon pipeline experiment, 2026-11-01
2
3The compiled Omega controller and model attachment passed the ownership,
4failure and exact-output checks below. Two active buffers improved median
5paired decode throughput by **1.6864x** over the
6synchronous one-buffer control. The existing grouped path remains the default.
7Its single reference run was faster, but had kernel allocation messages during
8its interval and is not a clean performance qualification. This is a development experiment,
9not a pinned native release qualification or a deployment.
10
11## Full model
12
13Qwen3-30B-A3B-Instruct-2507 FP8, one fixed prompt, 16 generated tokens, greedy,
14768 expert slots, eight read workers and eight reserved staging buffers. The
15controller admits one or two active buffers from that pool. Each trial starts
16a new process and empty expert cache. Checkpoint reads use `O_DIRECT`.
17One grouped reference and the first run of each control mode are warmups,
18excluded from the five alternating measured pairs.
19
20| Measurement | One active buffer | Two active buffers |
21|---|---:|---:|
22| Median decode tokens/s | 1.0194 | 1.7038 |
23| Median first token, ms | 2616.82 | 1381.89 |
24| First token p95, ms | 2742.27 | 1454.00 |
25| Median complete generation, ms | 18339.62 | 10769.22 |
26| Complete generation p95, ms | 18409.61 | 11738.43 |
27
28Peak process RSS across the measured pair runs was 6.821634 GB.
29This is process resident memory, not a complete accounting of device or unified
30memory. Both modes reserve the same staging pool. The p95 values are empirical
31quantiles of five trials, not a well-sampled tail estimate. First-token timing
32starts at the engine call and ends at its first token callback; it excludes
33model loading and HTTP queueing. Complete generation includes prefill.
34
35All 13 runs matched the same 16 reference token IDs. Every run had 3,683 cache
36hits, 2,461 misses, 2,461 submitted reads, 11,613,872,448 payload bytes loaded,
37and 11,634,057,216 device-read bytes. The grouped reference generated at
382.6247 tokens/s. It is one reference observation, not a five-trial
39grouped-path qualification.
40
41The final run is `model-20261101T145524Z`, under chip and quiet-machine window
42`20261101T145524Z-f68c98`. Task-owned background builds were paused and existing
43tests allowed to finish before the window. All ten measured trials are accepted.
44Execution order, native identity, source digests, per-token arrival times,
45raw I/O counters and before/after GPU telemetry are preserved in
46[`qualification-samples.json`](qualification-samples.json).
47
48The host kernel logged three allocation messages at 14:56:14 UTC, during the
49excluded grouped warmup. Their cause is not established. No matching messages
50occurred during the accepted pair interval, 14:56:59.050 to 14:59:51.052 UTC.
51See [`driver-observations.json`](driver-observations.json). The grouped result
52is therefore an unqualified observation even though its output was correct.
53
54This replaces the earlier full-model experiment. Review found that its
55one-buffer control allowed cached expert computation to overlap a miss read.
56The final control consumes cached experts before submitting misses and waits
57for the current consumer before refilling. A deterministic regression checks
58both mixed hit/miss orders. Earlier runs remain in the local handoff archive
59but are excluded from this result.
60
61Read, verification and slot-load counters measure host intervals and may
62overlap each other. `slot_load_ns` includes the load call and publication
63bookkeeping, including lookahead submission in two-buffer mode.
64`miss_wall_ns` is elapsed call time less consumer time, not the sum of read
65latencies. Do not add these counters to infer wall time. The projection trace
66below supplies measured interval unions for overlap.
67
68The grouped path batches more work per launch. The new attachment consumes
69each ready expert separately. Grouping ready experts is a future experiment;
70this result does not establish an improvement over the current default.
71
72## Controller and failure checks
73
74Review follow-up: a copy completing after its deadline was acknowledged by the
75controller but incorrectly published by the adapter before its pin was refused.
76The adapter now obtains the ready-state pin before publication. A delayed-copy
77regression failed on the measured revision and passes with the fix, including
78retry and zero leaked pins. The benchmark above remains evidence for its
79original binary, not a new speed measurement of this follow-up. Its original
80adapter is preserved in `measured-pipeline.rs.txt`, verified against the original
81source digest; the follow-up digest is recorded separately in the sample pack.
82`measured-Cargo.lock.txt` and `measured-qwen3_moe_omega.rs.txt` preserve the
83measured revisions of those files the same way; the sample pack records each
84later digest and what changed.
85
86- The seeded `.om` executable matches an independent object-based oracle on
87 14,745 commands. Six compiled mutants are rejected.
88- The generated native binding matches the same commands and rejects wrong
89 extents and aliased state/output arrays.
90- A discrete-event check using the native controller shows overlap when
91 independent read/compute resources permit it, and no speedup when reads cost
92 zero or the resources serialize. These ticks are synthetic.
93- All 17 pager host tests pass, including corrupt reads, failed copies,
94 cancellation, stalled reads, pending-owner deadlines, consumer errors/panics,
95 mixed cache hits/misses, and synchronous versus lookahead ordering.
96- All three paged-model host tests pass, including exact resident/paged logits
97 for one and two buffers, routing and slot pressure.
98
99The standalone real-I/O/GPU projection test completed all 32 healthy experts
100with bit-identical resident-reference results and rejected the injected corrupt
101expert before publication. Across five pairs, median elapsed time was 57.048806
102ms versus 30.316160 ms, and median paired speedup was 1.8812x. This tests expert
103projections, not a complete model. The raw monotonic-clock intervals are in
104[`chip-trace.jsonl`](chip-trace.jsonl). [`chip-unions.jsonl`](chip-unions.jsonl)
105uses interval unions so simultaneous reads do not double-count wall overlap.
106
107## Identity and replay
108
109- Core base: `4b17ca34380d41d6155c0eab92313d362b716f00`.
110- Measurement binary SHA256: `bd5640590c3ef4d860d48c0899289f3625b2fc0f2431e7023cac563a80e67a6f`.
111- Omega: `ba5559d9b1030d5d966cc7db2464e466edea59a1`.
112- Physics: `048e5f5e881b092733baaf65d0ace46abda7f908`.
113- GPU archive SHA256: `89bf1c996fb2c96631e12c0691f6b99be8c89dd6d4006052f8021d274297a977`.
114- NVIDIA GB10, driver 580.173.02; Rust 1.98.1, GCC 13.3.0.
115- Omega Bridge: `ba8a75a6f9538b130383e1eb8ff459f82c589f92`.
116- Seed compiler: `734f0a39319fbfa930bcc62cb30dbf06d47d78e126372b74f5baf478e6126b61`.
117 Rebuilt from Core's pinned Omega source; see
118 [`compiler-bootstrap.json`](compiler-bootstrap.json).
119
120Use [`run.sh`](run.sh) for the seeded policy check and
121[`build-native.sh`](build-native.sh) for the native binding checks. Build
122`own30b_check` with `--features ribbon-omega` and the environment printed by
123that script. Run [`model_check.py`](model_check.py) under an exclusive chip and
124quiet-machine window, supplying the binary, checkpoint, golden fixture, output
125directory, GPU archive, Omega revision and bridge library. The frozen golden
126is `docs/inference/evidence/own30b-f-20261013T1745Z/golden.json`.
127
128Core's default Omega pin predates the slot API. The measured binary uses the
129explicit prebuilt archive identified above. Its runtime identity marks it
130unqualified for a pinned native release. Default pins and production routing
131were not changed. This experiment does not establish DeepSeek serving or broad
132task quality. The separate [27B receipt](../../docs/qwen38/qualification-20261101/README.md)
133identifies a different model and an existing server binary.
134
135Run `bash tests/gates/run.sh ribbon-control` to rebuild the policy compiler
136from its pinned seed, exercise the oracle/mutants and verify receipt integrity.
137It does not rerun the GPU experiment. Calculation queries and outputs are in
138[`calculations.json`](calculations.json). Measurement data is CC0-1.0;
139source and documentation are Apache-2.0.