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
aien-sovereign-core-mv / docs / campaigns / smollm2-qualification / VERDICT-SMOLLM2-Q.md
| 1 | # SMOLLM2-Q verdict: SmolLM2-1.7B-Instruct on the CAND-4 qualification suite |
| 2 | |
| 3 | Acceptance: `ACCEPTANCE-SMOLLM2-Q.md`, frozen in commit 87dabe2 before any run (sc 2e8cef9 = the #246 merge, |
| 4 | omega c0369e6, aienos b84c0a6, physics 6d7cf0d). Binaries: the SMOL2Q-BUILD double build at 2e8cef9 |
| 5 | (aien-cli ce2fff7c, 25 of 25 identical; `~/workspace/evidence-out/SMOL2Q-BUILD-A`), cpu-fault b1b4acb0 |
| 6 | rebuilt from 2e8cef9. Receipts: `receipts/`, each named by the sha256 of its content; the console output of |
| 7 | every command is in `receipts/console/`. No launch was repeated; two commands were rerun after a refusal |
| 8 | or a harness defect, both disclosed below with the first output kept. |
| 9 | |
| 10 | **VERDICT: FAIL** (digests PASS, hygiene PASS, **Q1 FAIL**, Q2 PASS, Q2w PASS). |
| 11 | **Section 9 class: every failing row is class U** (unrelated to memory sizing). **No class M event** |
| 12 | occurred in any SmolLM2 daemon start. Under decision D3 as written: SmolLM2 is not the next open-model |
| 13 | candidate, and **Qwen3-4B is the next model to evaluate** (not started here). |
| 14 | |
| 15 | | part | result | evidence | |
| 16 | |------|--------|----------| |
| 17 | | digests | PASS | 19 of 19 pinned digests equal before each Q1 round (9 attempt records), at F0, and after the run (Q2w record) | |
| 18 | | hygiene H1, H1c, H2, H2c, H3, H4, H4c, H5 | PASS | `receipts/hygiene/hygiene-c6d657dd...json` | |
| 19 | | Q1 (T1, T2, T3 x 3, GPU) | **FAIL**: T1 3 of 3 PASS, T2 0 of 3, T3 0 of 3; both section 4.1 controls PASS | `receipts/scores/q1-score-dd8df5ac...json` (scorer exit 1) | |
| 20 | | Q2 (F0 on GPU, cases on cpu-fault, 3 reps) | PASS: 34 rows PASS, C6d NOT_APPLICABLE | `receipts/scores/q2-score-134c0156...json`; NP2 receipt 52c3fbd1 | |
| 21 | | Q2w (cases 2 and 5, harness side) | PASS: 3 controls, W2 x3, W5 (40 trials, 3 restarts advanced the mark, 0 inconsistent) | `receipts/scores/q2w-score-930faba3...json` | |
| 22 | |
| 23 | ## Q1 failures and their class (section 9) |
| 24 | |
| 25 | As in CAND-4, every v5 receipt fails "Containment: workspace" and A1 because of the daemon's own record |
| 26 | mark; the frozen section 4.1 reading (`receipts/q1-a1/`) decides each launch. Under that reading: |
| 27 | |
| 28 | | row | reps | what failed | class | |
| 29 | |-----|------|-------------|-------| |
| 30 | | T1 | 3 of 3 PASS | nothing | (none) | |
| 31 | | T2 | 0 of 3 | "Q1 Destination: proposed path" only: the task asks for `docs/CONTACT.txt`, the model proposed `CONTACT.txt` (same in all three runs) | **U** (task quality) | |
| 32 | | T3 | 0 of 3 | every attempt stopped with finish reason `max_tokens` at the 64-token limit (about 11.8 s and 13.2 s per attempt), "reply cut at the token limit"; the model wrote a heading list instead of the requested content | **U** (task quality) | |
| 33 | |
| 34 | `max_tokens = 64` was frozen in SmolLM2 campaign v1 from the measured GB10 decode speed, before that run |
| 35 | (section 0); raising it after this result would be tuning after results and is not done. T3 also hit the |
| 36 | limit in v1, so this repeats a known weakness rather than a new one. |
| 37 | |
| 38 | ## Memory observations (section 8; closes issue #236) |
| 39 | |
| 40 | | model | record | KV pool plan line | VmHWM after warm-up | fatal / refusal lines | |
| 41 | |-------|--------|-------------------|---------------------|-----------------------| |
| 42 | | SmolLM2 | `receipts/mem/mem-dae1d9cb...json` | `KV pool: 3221225472 bytes (3.00 GiB) = 512 blocks x 16 tokens x 24 layers x 32 kv heads x 64 head_dim x 2 (K,V) x 4 bytes; context 8192 tokens` (equal to section 8) | 13909672 kB (about 13.9 GB; before #246: 61.1 GB) | none | |
| 43 | | Llama-3.2-1B control | `receipts/mem/mem-3cf3eda8...json` | `KV pool: 8589934592 bytes (8.00 GiB) = 8192 blocks x 16 tokens x 16 layers x 8 kv heads x 64 head_dim x 2 (K,V) x 4 bytes; context 131072 tokens` (equal to section 8) | 17386380 kB (about 17.4 GB; unchanged from v1) | none | |
| 44 | |
| 45 | All 18 SmolLM2 daemon starts in Q1 (two per launch, nine launches) and the F0 start carry the same 3.00 GiB |
| 46 | plan line, no fatal line, no KV pool refusal, no driver status 0x51 and no out-of-memory kill; VmHWM about |
| 47 | 13.9 GB in each. The memory fix holds for SmolLM2: peak memory fell from about 61 GB to about 14 GB. |
| 48 | |
| 49 | ## Limits and what is not claimed |
| 50 | - Everything listed under "Limits" in `cand4-qualification/VERDICT-CAND4.md` applies here unchanged |
| 51 | (cases 1, 3, 6 out of scope; C6d NOT_APPLICABLE so case 4 not covered; case 2 only as W2; case 5 only |
| 52 | non-deterministically; Q2 cases and Q2w on the CPU build). |
| 53 | - Q2 and Q2w passing says the recovery machinery works with SmolLM2 loaded; it says nothing about |
| 54 | answer quality, which is what Q1 measures. |
| 55 | - Stated limit from v1: GB10 greedy output can differ from the Hugging Face reference on near-ties. |
| 56 | - NEXT-PHASE-1 v6/v7 not run (section 10). |
| 57 | |
| 58 | ## GPU holds (quietlock owner laneSmol2, UTC, 2026-10-07; flag released after every hold, exit 0) |
| 59 | - mem (first run): 00:43:38 to 00:44:54. |
| 60 | - Q1 round 1: 00:44:56 to 00:49:36. Round 2: 00:49:38 to 00:54:17. Round 3: 00:54:19 to 00:58:58. |
| 61 | - Q2 fixture F0: 00:59:00 to 00:59:46. |
| 62 | - mem (rerun, fixed harness): 01:26:46 to 01:28:03. |
| 63 | - Q2 cases and Q2w: CPU only, no hold. |
| 64 | The previous hold by another lane (np1v7) was released at 00:05:54, before the first laneSmol2 hold; no |
| 65 | other lane held the GPU between 00:43 and 01:29. (From `~/workspace/.spark-quiet.history`.) |
| 66 | |
| 67 | ## Disclosures (no receipt or frozen file edited) |
| 68 | 1. **mem harness defect, fixed and rerun.** The first `mem` run recorded VmHWM 2716 kB for both models: |
| 69 | `$!` was the pid of a subshell running the clean-environment function, not the daemon. Commit 79c6fe4 |
| 70 | makes that function `exec` so `$!` is the daemon, and records the measured process's command line in |
| 71 | each record. This changes the harness after the freeze, for the `mem` command only (observations, not |
| 72 | verdict rows); the acceptance file is unchanged. The first records (`mem-dee451e4...`, `mem-ac0e928f...`) |
| 73 | are kept; their plan lines are correct, their VmHWM is not the daemon's. The rerun records |
| 74 | (`mem-dae1d9cb...`, `mem-3cf3eda8...`) name `aien-cli daemon` as the measured process. Q1 records read |
| 75 | VmHWM from the daemon's own `run.json` and were not affected. |
| 76 | 2. **Q2w first call refused, rerun.** The first `q2w` call was given a separate run directory and refused |
| 77 | before doing anything ("REFUSED: no F0 under ... (run q2 first)"; `receipts/console/q2w-refused-wrong-base.out`). |
| 78 | It was rerun against the Q2 run directory and passed. Nothing ran in the refused call. |
| 79 | 3. **GPU hold notices stayed local.** The harness's start/release whispers went to the campaign worktree's |
| 80 | own crumb store, not a shared one, so other sessions did not see them. The quietlock flag itself (the |
| 81 | real guard) was taken and released normally for every hold, as the history above shows. |
| 82 | 4. **"session open attempt" count.** Each Q1 attempt record counts `session_open_attempt_lines = 1` per |
| 83 | SmolLM2 start; that line is the success line "GPU session: open on attempt 1/3", not a retry. No start |
| 84 | needed a second attempt. |
| 85 | 5. **Q2 cases record carries no digest list**, as in CAND-4; the F0 record before it and the Q2w record |
| 86 | after it both show 19 of 19. |