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 / SMOKE-8B-v1.md

55 lines · 7961 bytes Raw Blame History Source

SMOKE-8B-v1: Qwen3-8B correctness smoke (preregistered)

Status: PREREGISTERED before any 8B token was produced by this engine (2026-10-11). Lane: sc#384, authorized by Drake (sc#384 comment 6110013055). A smoke test, not a qualification and not a promotion of the 8B to a product model. Qualification of the 8B stays a separate, later decision.

Why this exists

The 8B differs from the qualified 4B in ways the engine had not been shown to handle: a pinned chat template with a thinking switch (now pinned, thinking off, ChatTemplate::ChatMlQwen3NoThink) and an untied output head (tie_word_embeddings=false, separate lm_head.weight; CPU loader path covered by crates/aien-inference-abi/tests/qwen3_untied_head.rs). This smoke shows, once, that the whole path produces the same tokens on the CPU reference and on the GB10.

Fixed inputs

Steps and verdicts (all decided now)

  1. Template (already unit-tested, no model needed): the engine's rendering equals the hand oracle, the jinja2 3.1.6 rendering (render_oracle.json) and the publisher's file byte for byte. Test: tests/qwen3_8b_chat_template.rs.
  2. Untied head, CPU: tests/qwen3_untied_head.rs (synthetic checkpoint with a row-swapped lm_head.weight against the transformers oracle logits of the tiny Qwen3; an untied config without lm_head.weight is refused).
  3. CPU leg (smoke_qwen3_8b.sh cpu): ReferenceCpuBackend, host f32 weights. Its prompt_ids and output_ids are recorded as the golden values in SMOKE-8B-v1.golden.json. The CPU leg is the reference by construction; it is judged only for being well formed (non-empty output, fallback_count 0) and for the reply being sensible text, which is reported, not gated (a 16-token greedy reply of an 8B on one prompt is weak evidence of quality and is not claimed as such).
  4. GB10 leg (smoke_qwen3_8b.sh gb10): the daemon's GB10 construction (session open, resident bf16 load, OmegaGb10Backend, production-strict build, AIEN_REQUIRE_BLACKWELL=1). PASS if and only if all of:
    • for BOTH prompts, prompt_ids equal the golden prompt_ids;
    • for BOTH prompts, output_ids equal the golden output_ids token for token (parity);
    • fallback_count is 0 (the backend counter covers both prompts of the run; a fallback on either fails the run). Any other outcome is FAIL. A near-tie that flips a token is a FAIL and is reported with the logit margin; no tolerance is raised to accept it. A refusal by name (engine not linked, model refused, resident load or session failure) is a FAIL with the reason, never a silent CPU result.
  5. Recorded, not gated: wall time per leg, VmHWM, decode ms per token.

What the chip run needs (not run by this lane)

Limits

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

attemptstarted (UTC)mainoutcome
12026-10-11T15:20:26Z7cfc7a8harness 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.
22026-10-11T16:01:36Zc26f4d7PASS: gb10 leg under the fixed script; sha256 ok (config + 5 shards), GPU session opened, backend OmegaGb10Backend, prompt 1 output ids [3925] and prompt 2 (23 ids, months) equal the committed CPU golden id for id, fallback_count 0, script exit 0 at 16:02:55Z. Independently re-checked by hashing the output-id arrays of gb10.json against SMOKE-8B-v1.golden.json (equal). Evidence: evidence-smoke-8b/attempt-2/ (gb10.json, gb10.raw, gb10.err, build-gb10.log, pins.txt, SHA256SUMS).

Verdict

SMOKE-8B-v1 PASS (attempt 2, 2026-10-11T16:02:55Z, main c26f4d7): actual model load, CPU reference output (golden from sc#436), GB10 parity on both prompts, zero fallback. Scope limit unchanged: two prompts, greedy, 16 and 32 new tokens; this is the loader qualification, not the model-quality campaign (v7 stays DRAFT / NOT_RUN until the ALLEN driver and the full dry-run gate are verified).