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.
qwen38: Qwen3.8-27B host reference (golden for the Omega engine, #641)
closed070c6f3262c52a75 #643 · opened 2026-10-18 11:54 UTC · closed 2026-10-27 01:48 UTC
Imported from GitHub aien-dev/aien-sovereign-core-mv#643, by drakestapleton
Base f30eb963918d71dd2998b1cb936c251429417de1 · Head 18221f481a77776ee55b280137ffbb6696e89dd2
drakestapleton wrote on 2026-10-18 11:54 UTC
Part of #641 (step 2). Stacked on #638 (base branch feat/own30b-128k-context).
What: a host-only reference for Qwen3.8-27B (qwen3_5, 48 Gated DeltaNet + 16 gated full-attention layers, FP8 block-128), crates/aien-inference-abi/src/qwen38.rs, plus qwen38_check (score / generate). Weights are streamed one layer per pass, so the host holds only the bf16 embedding and lm_head plus one layer.
Verified
cargo test --release -p aien-inference-abi --lib qwen38: 6 passed (config reader incl. refusals, FP8 matmul vs scalar formula, partial RoPE, one call vs token by token, FP8 weight without scales refused, nll/argmax).
Real checkpoint (sha256 of all 67 LFS files match): 256 tokens of the checkpoint's LICENSE, perplexity 1.091, next-token accuracy 0.988 (82.3 s, one pass). Greedy chat continuation: "```c\nint max(int a, int b) {\n return (a > b) ? a : b" (golden ids + top-5 logits per step). Evidence: docs/inference/evidence/qwen38-ref-20261018/.