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 / docs / campaigns / open-model-qwen3 / QUALIFICATION-v6.md

161 lines · 13725 bytes Raw Blame History Rendered
1# OPEN-MODEL-QWEN3 v6: frozen qualification specification (Qwen3-4B-Instruct-2507)
2
3**Status: FROZEN 2026-10-11 (content: rows, thresholds, tasks, limits, scoring, model, product commit). NOT RUN.**
4
5Owning issue: aien-spark/aien-sovereign-core#384 (lane L10, Drake ruling 2 of 2026-10-10 on aien-architecture#190: Qwen3-4B-Instruct-2507
6is the public-release candidate, conditional on a frozen qualification PASS; a FAIL blocks the public bundle; no silent substitution).
7Written by Lane B of the overnight program (coordinator session 61b069). This file is merged before any v6 launch.
8
9## 0. What is and is not established
10
11- **v1 to v5 stand as recorded.** v5 is FAIL, 262 of 334 declared rows (VERDICT-v5.md, sc#365, f83de08). No v1 to v5 file is
12 changed by v6; `test-v6.sh` proves every v5 campaign file still equals its v5 freeze sha256 (`evidence-v5/campaign-files.sha256`).
13- **Why v5 failed** is analysed row by row in `V5-FAILURE-ANALYSIS.md`: 70 rows model-output weakness (D1 wrote 8 lines where 22
14 were asked; D2 wrote "Wrap Up" as a label, not a heading; D6 wrote "Bringing Her Home" as plain text), 2 rows time budget (D6's
15 second attempt), 0 runtime, 0 chat-template, 0 scorer. No product bug was found, so no fix PR precedes v6.
16- **v6 is the same qualification on the current product.** Same eleven tasks and goals, same seeds, same 334 declared rows, same
17 thresholds, same limits, same scorer, same model files. What differs is the product commit (28 commits after the v5 build,
18 including the requirement-reader, destination, input-reading and append-placement changes merged 2026-10-09 to 2026-10-10)
19 and the run identity (run base, output tag, hold names). **No harness setting changed** (Section 3).
20- **A FAIL is recorded as FAIL** and keeps the public bundle blocked. No row, threshold, goal, limit or model is changed after
21 this file merges, and no launch is repeated.
22
23## 1. Rows, tasks, limits and scoring: identical to v5, by file
24
25v6 runs the v5 files themselves, not copies. Each is bound by its sha256 in `evidence-v5/campaign-files.sha256` (checked by
26`test-v6.sh` section 1):
27
28| What | File (unchanged, byte-identical to the v5 freeze) |
29|---|---|
30| tasks, goals, destinations, seeds, caps, budgets | `tasks-oq3-v5.json`, `seed-v5/` (ACCEPTANCE-v5 Section 2 and 2.1, including Drake's D6 adjustment 1536 tokens / 170 s) |
31| rows and how each is counted | `rows-oq3-v3.jq`, `rows-oq3-v4.jq`, `rows-oq3-v5.jq`, `v5-rows.sh`, `../next-phase-1/rows-v5.jq`, `../next-phase-1/rows-v9.jq` (ACCEPTANCE-v5 Section 3) |
32| declaration | `../scoring/declarations/oq3-v5.decl.json`, QUALIFICATION_ROWS=334 (D1 34, D2 36, D3 36, D4 35, D5 36, D6 33, E1 33, E2 34, R1 32, N1 11, N2 14) |
33| driver and receipt builder | `../next-phase-1/run-campaign.sh`, `../next-phase-1/make-receipt.sh`, `../next-phase-1/v8-results.sh` |
34| scorer and verdict rule | `../scoring/score-rows.sh` (scoring-v5): **PASS only if every declared row is present once and PASS** (ACCEPTANCE-v5 Section 5) |
35| row definitions (text) | ACCEPTANCE-v5.md Sections 3.1 to 3.5 (the receipt builder reads its task table, `TASK_ACCEPTANCE`) |
36
37The verdict rules of ACCEPTANCE-v5 Section 5 apply unchanged: one run, no rerun of a failure, no repeated launch, no retry after
38seeing a result, no task edit, a spec defect found after the run is a finding for a later campaign. The verdict names, for each
39failing launch, whether its first failing row is a product row (`PRE`, `OPR`, `PIN`, `GR`, `N1-NR`) or a model row.
40
41## 2. New v6 files (names only)
42
43| File | What it is |
44|---|---|
45| `run-qwen3-v6.sh` | `run-qwen3-v5.sh` with names changed only: frozen values `frozen-v6.json`, pinned run base `/home/drakestapleton/workspace/oq3-v6-runs`, output tag `oq3-v6`, message and receipt labels. `test-v6.sh` section 2 proves that every line after the header equals the v5 wrapper under exactly these substitutions. The launch record keeps the v5 name and format, `<id>.launch-v5.json`, because the row text of ACCEPTANCE-v5 names it. |
46| `frozen-v6.json` | `frozen-v5.json` with the eight build pins of Section 5 and a new status line; the `model` block is byte-identical (checked). |
47| `test-v6.sh` | the v6 self-test (Section 7). |
48| `evidence-v6/` | build script and summary, model re-hash, requirement and destination probes, CPU decode probe, self-test outputs, and the prepared launchers `run.sh` and `run-part.sh` (G6 dry part 1, then real parts 1 to 4, each in its own hold). |
49
50## 3. Harness settings: none changed
51
52Environment, exactly as ACCEPTANCE-v5 Section 7 and enforced by the wrapper (unchanged lines):
53
54```text
55AIEN_KV_CONTEXT_TOKENS = 4096
56AIEN_REQUIRE_BLACKWELL = 1 (GB10 native Omega engine, no CUDA; a missing GPU engine is fatal)
57AIEN_REQUIRE_CHECKPOINT = 1
58AIEN_GB10_QWEN3_DECLARED_ATTEMPT = 1 (opt-in while omega#327 is open)
59AIEN_COMPOSE_EDIT_BUDGET_MS / AIEN_COMPOSE_DOC_BUDGET_MS / AIEN_COMPOSE_MAX_TOKENS / AIEN_COMPOSE_DOC_MAX_TOKENS
60 = set per launch by the wrapper from tasks-oq3-v5.json (documents 1024 tokens and 120 s,
61 D6 1536 and 170 s, edits 96 and 29 s, N2 16, R1 96)
62unset: AIEN_FORCE_CPU_STUB, AIEN_DEV_FALLBACK, AIEN_COMPOSE_AUTHORIZE_REQUIRES_DESK, AIEN_COMPOSE_BUDGET_MS, AIEN_OMEGA_SPIN_US, AIEN_OMEGA_CTA_BUDGET
63```
64
65No token cap and no time budget is raised. v5 had no token cut on any failing launch (every reply ended at `eos`), so a cap
66change would not address any v5 failure.
67
68## 4. Path: GB10 with the R1 CPU reference leg; why not a CPU-only run
69
70The v5 rows are a GB10 qualification by construction: row `<id>-BE` (`rows-oq3-v4.jq`) requires that every daemon start names
71the `OmegaGb10` backend and none names cpu, stub, reference or fallback, and the wrapper refuses `AIEN_REQUIRE_BLACKWELL` other
72than 1. The CPU path is exercised where v5 put it: R1 replays its prompt on `ReferenceCpuBackend` and rows R1-X, R1-P and R1-T
73require the same prompt and output token ids on both paths.
74
75A CPU-only run of these rows cannot pass and would measure nothing about the model (MEASURED, `evidence-v6/cpu-decode-probe-2026-10-11.txt`):
76the CPU reference decodes about 1 389 ms per output token (GB10 about 103 ms in v5), so a 540-token D1 reply needs about 12.5
77minutes against its 120 s budget, D6 about 24 minutes against 170 s, and the product refuses any budget above 599 s
78(`spine.rs`, `COMPOSE_BUDGET_MS_RANGE`); every `<id>-BE` row would also fail. A CPU-only qualification needs its own rows and
79limits: a new campaign and a Drake decision, not part of v6.
80
81## 5. Model, product commit and build (frozen values in `frozen-v6.json`)
82
83Model: Qwen/Qwen3-4B-Instruct-2507, Hugging Face revision cdbee75f, Apache-2.0, directory
84`/home/drakestapleton/models/qwen3-4b-instruct-2507-cdbee75/`, the same files as v5. Re-hashed 2026-10-11 with no GPU hold
85(`evidence-v6/model-rehash-2026-10-11.txt`), every value equal to ACCEPTANCE-v5 Section 7:
86
87```text
88model.safetensors.index.json d6c42883a895dfef5b0080ed2116a1bcd764f558406b98923d675978a1abf29c
89model-00001-of-00003.safetensors 75311d91bb08cf0b882913da464a1e722a31fb44db35208663487efb7a3d8ed6
90model-00002-of-00003.safetensors 0b48adbb1f60e901153d91907ba11ce63bd4b8b584482e730f48808d055dfba1
91model-00003-of-00003.safetensors 7dd39ccca5e4de123c74c14af44c9bf2eb75df33b4614382af0134528e060d5d
92tokenizer.json aeb13307a71acd8fe81861d94ad54ab689df773318809eed3cbe794b4492dae4
93tokenizer_config.json a62ff0a2472a0fa1b8eaabcb57c59b58afa42a22831dc141400b6e0cf2b65ce3
94config.json 5beea1a4a34c62782bfb2f911c606741a3bab8f92d80a118fa053c28af12e8ba
95generation_config.json 835fffe355c9438e7a25be099b3fccaa98350b83451f9fd2d99512e74f1ade48
96model_sha256 (index+shards) 17a78fbba447a4e66a3d886c0998fbcf2f9201d46e5e0c5bfec2d57c975976b7 (manifest, as frozen-v5.json)
97```
98
99Product build: clean clone of sovereign-core at **de9c626ad9fd50652c1f767d273b4d63f118e342** (main on 2026-10-11 00:55Z), pinned
100omega, physics and aienos materialized by `scripts/pins.sh --gpu`, release build of `aien-cli` and the examples `np1_reference`
101and `np1_edit_merge` (`evidence-v6/build.sh`; output `evidence-v6/build-summary.txt`, all three exits 0, build log shows
102`has_omega_compose`, `has_omega_gpu`, `has_omega_wait_ms`; every checkout clean). Build directory
103`/home/drakestapleton/workspace/oq3-v6-build-de9c626`.
104
105```text
106sovereign-core commit de9c626ad9fd50652c1f767d273b4d63f118e342
107omega.lock commit 6c6180cf378075b61291f4565d226eba38b4decd (unchanged since v4 and v5)
108physics commit 6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf (unchanged since v5)
109aienos.lock commit b84c0a67590a934f3f3e001b12ec85ebc086a9eb (unchanged since v5)
110Cargo.lock sha256 792a99d82e2f92a40b67a576789767c0677b91871a3aa7ffa0b429455dc050bf
111aien-cli sha256 2a6b09d00c8dbe9237ae1410a9469b6747d232c72468a2c853fe491cf92c2c7a
112np1_reference sha256 41dfe956ce48f73168c4be6a1988a66455ea4d4d93b4a093f331bd8b3a6b28ef
113np1_edit_merge sha256 00ba3fb68f46fee46a25aae000de80822a319648250f0c4e15d4cd6dc2ce4aef
114```
115
116The pins name the product build. The campaign files (wrapper, this file, `frozen-v6.json`) come from the main commit that merges
117this file and are bound by the wrapper's per-part identity file; a later campaign-file commit does not change a pin, and the
118wrapper refuses a run whose binaries or checkouts differ from `frozen-v6.json`.
119
120## 6. Run plan: one chip slot, four parts
121
122Run base pinned in the wrapper: `/home/drakestapleton/workspace/oq3-v6-runs` (fresh; the prompt embeds the workspace path).
123Four parts, each in its own quietlock hold of 20 minutes or less, back to back, owners `laneB-oq3-v6-p1` to `laneB-oq3-v6-p4`:
124part 1 = D1 D2 D3, part 2 = D4 D5 D6, part 3 = E1 E2 N1, part 4 = N2 R1 and the score. A part is never extended; part k needs part
125k-1 complete in the same run base with the same binaries and files. v5's measured hold times were 7 min 14 s, 8 min, 3 min 17 s
126and 4 min 1 s (VERDICT-v5 Section 3): about 23 minutes of chip time in all (UNVERIFIED for v6, same limits, so the worst case
127of ACCEPTANCE-v5 Section 8 still fits each 20-minute hold).
128
129Kept for the verdict (as v5): hold start, end and exit per part, `/proc/meminfo` and NVRM kernel-log line counts before and
130after each part, the S3 report of each launch, the sha256 of every file in the run base, the receipts, results, score file and
131committed replies.
132
133## 7. Gates (all on de9c626 unless stated)
134
135| Gate | What | Result |
136|---|---|---|
137| G1 asked the model | requirement reader over the eleven goals: no uncertain span for any goal | **MET**: identical line for line to the v5 probe on b2cae6d (`evidence-v6/requirements-probe-de9c626.txt`) |
138| G3 destinations | every positive goal resolves its destination (E1, E2 as edits of their seeds); N1 refused for its destination with the `N1-NR` reason text | **MET** (`evidence-v6/destination-probe-de9c626.tsv`) |
139| G5 self-test | `test-v6.sh` passes; `test-v5.sh` passes except its one post-run check (its pinned v5 run path exists since the v5 run) | **MET**: 20 of 20 (`evidence-v6/test-v6-de9c626.txt`); 191 of 192 with that one expected check (`evidence-v6/test-v5-de9c626.txt`) |
140| G6 GPU dry run | **one** dry run of part 1 (D1 D2 D3) with `OQ3_DRY_TASKS=tasks-oq3-v5.json` in its own hold, run base outside the pinned path, outputs kept and never scored, immediately before the real run in the same chip window. Purpose: prove the 28-commit newer product still runs the v5 driver end to end on GB10 (daemon start lines, `decoding` in S3 attempts, OP_REPORT, CHECKPOINT_SHARDS). If any dry launch fails for a product reason (no `run.json`, a step error not caused by the model reply), the real run does not start and the cause is reported. The dry run sees the same goals v5 already answered, so it reveals nothing new about them | to run |
141| G7 build | clean build at the pins, all exits 0, checkouts clean | **MET** (`evidence-v6/build-summary.txt`) |
142| freeze | this file merged on main before any launch; `frozen-v6.json` status FROZEN with every pin filled | this PR |
143
144## 8. Prediction (stated before any run; UNVERIFIED)
145
146Decoding is greedy and no merged change targets how the model lays out lines or headings, so the v5 replies are likely to recur
147(the new run base changes a few prompt tokens, so they may differ slightly). Per launch, probability of passing every row:
148D1 0.15, D2 0.2, D6 0.15 (the v5 failures); D3, D4, D5 0.7 each (each passed in v5 only on its second attempt; D4's prompt may now
149include its source file, sc#392); E1 0.85, E2 0.8 (append placement changed by sc#394); N1 0.9, N2 0.9, R1 0.85.
150**Whole qualification PASS: about 5 percent. Expected verdict: FAIL, with D1, D2 and D6 failing on model rows.** A FAIL is an
151honest and acceptable outcome; it keeps the public bundle blocked.
152
153## 9. What v6 does not prove
154
155- One run, one launch per task: one observation each, not a rate. Greedy decoding, one model, one machine, GB10 at the pins.
156- A PASS would qualify Qwen3-4B-Instruct-2507 on these eleven tasks under these rows only; it would not close omega#327,
157 omega#277 or sc#277, would not make Qwen3 on GB10 the default, and would not claim release readiness. The CAND-5 manifest in
158 aien-architecture `qualification/candidates/` is drafted only on PASS and left for the coordinator.
159- A FAIL says the model, as prompted by this product, did not meet these stated document rules; it does not say whether a
160 different prompt, sampling or retry policy would. That is a new campaign with its own frozen spec.
161- The CPU-only path is not qualified (Section 4).