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

GitHub aien-dev/aien-sovereign-core-mv#439 (code only)

closed derived 2d1c821430eebfe8 #439

Imported from GitHub aien-dev/aien-sovereign-core-mv#439 (code only)

GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed).

Base 5ef7720f3b790f53a5b980a52e96d398a182feac · Head 82f801c46a443ef50746913cd1f1adbf6df50a79

Apply it

git checkout -b patch-2d1c821430eebfe8 5ef7720f3b790f53a5b980a52e96d398a182feac
curl -fsSL https://interplane.io/drakestapleton/aien-sovereign-core-mv/patches/2d1c821430eebfe8.patch | git am

Raw patch (mbox) · Diff

Provenance

This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record:

github-import 1
aien-dev/aien-sovereign-core-mv
439
82f801c46a443ef50746913cd1f1adbf6df50a79
{"kind":"github-import","owner":"aien-dev","repo":"aien-sovereign-core-mv","number":439,"url":"https://github.com/aien-dev/aien-sovereign-core-mv/pull/439","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:37:11Z","metadata":"unavailable","state_derived":true}

Changes

diff --git a/.crumb b/.crumb
index 3286ac0a..d4005b21 100644
--- a/.crumb
+++ b/.crumb
@@ -64,8 +64,8 @@
     "generated": {
       "children": [
         {
-          "digest": "14ad22b926c21034daa6cfc2108a3bcd9f5dd6256231dd5d16576951eec2d805",
-          "last_commit": "7cfc7a8",
+          "digest": "6c97a5cb9d0f05465df81a036e54d7113433b64dcbf9f67bc6453032a1d4cb3f",
+          "last_commit": "98be51a",
           "name": "scripts",
           "purpose": ""
         },
@@ -76,15 +76,15 @@
           "purpose": ""
         }
       ],
-      "children_root": "sha256:80534ea6daebd609b6ed1ee21d502fa008beba453f59e85a148097a322b63b4a",
-      "compiled_at": "2026-10-11T15:34:30Z",
+      "children_root": "sha256:7be7bbe1a55f02ed9b7ff21e7e087746a7e97f565bfc012e58bc2cbfd2d20889",
+      "compiled_at": "2026-10-11T15:49:00Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:39cf171d7b52e7fdbbccd91eda74190b072beffe041f2d8bc523bacaa6b0607c",
+      "digest": "sha256:5646ff079188d3bce958778077b99a649d2930b5e09e4d008308394bbd613f1d",
       "evidence_files": 187,
       "evidence_root": "sha256:27ee0353cb4d4aae2b7dbce2bfe0d9f4ef2a94cd7a4555b84684d59372503280",
       "files": 3780,
-      "generated_at_commit": "d433a2ac3420344fd12b6e153af6f0512fb33eca",
-      "source_tree": "sha256:cfa4f3618902a23b5f88b2b950430b6095693a8789bfb1e862d3a58c4914f40d"
+      "generated_at_commit": "1991ca843ae50856094b85514a4ca9808cc979b1",
+      "source_tree": "sha256:f3bbc363185c9b9de93260aa30dbbd49f1ffa032a034151935e189e6241d05c3"
     }
   },
   "history": [],
diff --git a/docs/campaigns/open-model-qwen3/SMOKE-8B-v1.md b/docs/campaigns/open-model-qwen3/SMOKE-8B-v1.md
index 50a35b07..445cc7e7 100644
--- a/docs/campaigns/open-model-qwen3/SMOKE-8B-v1.md
+++ b/docs/campaigns/open-model-qwen3/SMOKE-8B-v1.md
@@ -42,3 +42,9 @@ The 8B differs from the qualified 4B in ways the engine had not been shown to ha
 ## Recorded after the CPU leg ran (2026-10-11, the only leg run so far)
 
 CPU leg on `~/models/qwen3-8b` (sha256 check passed), `ReferenceCpuBackend`, fallback_count 0, wall time 203 s for the whole script (load, warm-up, both turns). Prompt 1: 30 prompt tokens, reply `OK`, output ids `[3925]`, then eos. Prompt 2: 37 prompt tokens, 23 output tokens, reply the twelve month names one per line, then eos. Golden prompt ids, output ids and replies for both: `SMOKE-8B-v1.golden.json`. Prompt 1 ids are identical to the first recording. This does not change any verdict rule above. The GB10 leg has not been run.
+
+## Attempt record
+
+| attempt | started (UTC) | main | outcome |
+|---|---|---|---|
+| 1 | 2026-10-11T15:20:26Z | 7cfc7a8 | **harness defect, no verdict**: the gb10 leg ran (sha256 ok, GPU session opened, backend `OmegaGb10Backend`, both prompts generated, `fallback_count` 0) but the engine printed one informational line (`GPU session: open on attempt 1/3 ...`) to stdout ahead of the JSON result, so `jq` could not parse `gb10.json` and the script reported `gb10 result not well formed`. Diagnostic read of the JSON line by the coordinator (OBSERVED, informational, not the verdict): prompt and output ids equal the CPU golden on both prompts. Fix: the script now keeps raw stdout as `<leg>.raw` and extracts the JSON line into `<leg>.json`. The verdict comes only from a run under the fixed script. |
diff --git a/scripts/.crumb b/scripts/.crumb
index 6ce281c5..066a2d6b 100644
--- a/scripts/.crumb
+++ b/scripts/.crumb
@@ -4,14 +4,14 @@
     "generated": {
       "children": [],
       "children_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
-      "compiled_at": "2026-10-11T15:06:17Z",
+      "compiled_at": "2026-10-11T15:24:08Z",
       "compiler": "crumb-compile/1",
-      "digest": "sha256:14ad22b926c21034daa6cfc2108a3bcd9f5dd6256231dd5d16576951eec2d805",
+      "digest": "sha256:6c97a5cb9d0f05465df81a036e54d7113433b64dcbf9f67bc6453032a1d4cb3f",
       "evidence_files": 0,
       "evidence_root": "sha256:e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
       "files": 37,
-      "generated_at_commit": "f487c4a95e7a012598d8befc931c45f9466f9c4a",
-      "source_tree": "sha256:0bf2b45e9033fde5784a0052776da3b3b1f8c842a55ed40024b0335ddabc5efd"
+      "generated_at_commit": "2a8b07d0d0139114b4c5be733c069eb8006ba56c",
+      "source_tree": "sha256:d4ad311f2443c3a556cef59d6d698de2b983131a46b69b57f766e51e68023bbf"
     }
   },
   "parent": {
diff --git a/scripts/smoke_qwen3_8b.sh b/scripts/smoke_qwen3_8b.sh
index e39090c1..38d5a25c 100755
--- a/scripts/smoke_qwen3_8b.sh
+++ b/scripts/smoke_qwen3_8b.sh
@@ -49,7 +49,8 @@ case "${1:-}" in
     verify; build cpu
     [ -e "$GOLDEN" ] && fail "golden file exists ($GOLDEN); delete it deliberately to re-record"
     T0=$(date +%s)
-    "$BIN" "$MODEL_DIR" cpu >"$OUT/cpu.json" 2>"$OUT/cpu.err" || fail "cpu leg exit $?, see $OUT/cpu.err"
+    "$BIN" "$MODEL_DIR" cpu >"$OUT/cpu.raw" 2>"$OUT/cpu.err" || fail "cpu leg exit $?, see $OUT/cpu.err"
+    grep "^{" "$OUT/cpu.raw" >"$OUT/cpu.json" || fail "no JSON result line in $OUT/cpu.raw"
     echo "cpu leg wall seconds: $(( $(date +%s) - T0 ))"
     jq -e '(.leg=="cpu") and (.prompts|length==2) and (all(.prompts[]; .output_ids|length>0)) and (.prompts[1].output_ids|length>=16) and (.fallback_count==0)' "$OUT/cpu.json" >/dev/null || fail "cpu result not well formed"
     jq '{golden_for:"SMOKE-8B-v1", source:"CPU reference leg", prompts:[.prompts[]|{name,prompt_sha256,prompt_ids,output_ids,reply}]}' "$OUT/cpu.json" >"$GOLDEN"
@@ -63,7 +64,8 @@ case "${1:-}" in
     pgrep -f whole_system_e2e.sh >/dev/null && fail "a whole-system run is live; the chip is not free"
     build gb10
     env -u AIEN_DEV_FALLBACK -u AIEN_OMEGA_CTA_BUDGET -u AIEN_OMEGA_SPIN_US AIEN_GPU_BACKEND=omega AIEN_REQUIRE_BLACKWELL=1 \
-      "$BIN" "$MODEL_DIR" gb10 >"$OUT/gb10.json" 2>"$OUT/gb10.err" || fail "gb10 leg exit $?, see $OUT/gb10.err"
+      "$BIN" "$MODEL_DIR" gb10 >"$OUT/gb10.raw" 2>"$OUT/gb10.err" || fail "gb10 leg exit $?, see $OUT/gb10.err"
+    grep "^{" "$OUT/gb10.raw" >"$OUT/gb10.json" || fail "no JSON result line in $OUT/gb10.raw (engine notes on stdout are kept there)"
     jq -e '.leg=="gb10"' "$OUT/gb10.json" >/dev/null || fail "gb10 result not well formed"
     [ "$(jq -c '[.prompts[]|[.name,.prompt_ids,.output_ids]]' "$OUT/gb10.json")" = "$(jq -c '[.prompts[]|[.name,.prompt_ids,.output_ids]]' "$GOLDEN")" ] || fail "prompt or output ids differ from the CPU golden (both prompts must be equal)"
     [ "$(jq .fallback_count "$OUT/gb10.json")" = 0 ] || fail "fallback_count is $(jq .fallback_count "$OUT/gb10.json"), not 0"