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

Flint P0: checkpoint tensor inventory and numerically checked native forward path

Closed · #802 · open 2026-10-29 20:50 UTC · closed 2026-10-30 02:30 UTC (reason completed)

Imported from GitHub aien-dev/aien-sovereign-core-mv#802, by drakestapleton

drakestapleton wrote on 2026-10-29 20:50 UTC

Evidence: inspected Transformers Flint implementation blob 746898fe08c2aba8152b00f2b8e7fb9ebe686e0c and llama.cpp Flint blob e7e6f6b792df45b079434de06e1b372e829de13a; existing qwen38_engine.rs admits only qwen3_5/qwen3_5_moe. Header-to-payload identity is still missing. Owner: existing Core loader/serving migration #753, dependency #797. Deliver first independently reviewable PR for a bounded manifest/config reader and refusal fixtures; follow with model execution.

  • Pin full BF16 source revision, config/tokenizer/template and every shard checksum; independently enumerate safetensors header names/shapes/dtypes/offsets/lengths. Record every layer/expert tensor and alias. Handle packed GGUF as a separate optional importer with its own quantization metadata.
  • Reconcile expected 39,785,287,456 parameters and 37,849,399,296 routed-bank parameters against headers; fail on unexplained discrepancies. Verify per-expert layout before fusing gate/up and down arrays. Refuse missing/duplicate/out-of-range/overlapping/truncated tensors, wrong endian/shape/quantization and overflowed offsets.
  • Define stable manifest consumed by memory, kernel, training and serving work. Stream/repack bounded blocks without holding full BF16 and quantized models simultaneously. Record peak backing allocation, mmap residency and duplicate buffers.
  • Implement dense layers 0/1 and 47 MoE layers with exact config-defined attention map. FP32 routing matmul, sigmoid, top6 then renormalize; shared expert always fully added. Test tie and extreme-logit cases against a declared tie contract.
  • Implement per-head Q/K RMSNorm, selective RoPE, learned sink denominator contribution (sink has no value vector), causal/window masks and untied output head. Preserve numerical precision requirements.
  • Validate deterministic small operator fixtures, then actual checkpoint layer outputs/logits and full generation against pinned reference at matched precision. Freeze tolerances before run. Wrong router softmax, gated shared expert, omitted sink, global RoPE and expert permutation mutants must fail.
  • Publish exact model/tokenizer/control-token identity and load report. No generic model-type acceptance until execution is wired and tested.

Parent: https://github.com/aien-dev/aien-architecture-mv/issues/353. Status PROPOSED; implementation/physical qualification NOT_RUN. Reuse existing owners, reconcile current PRs/comments/consumer pins before edits, claim one worktree per path. First-party source/tests/automation are seeded .om; canonical CUDApp handles device execution. References may use independently pinned external frameworks. Each PR includes actual checks, negative controls, immutable source/compiler/model/config receipts and remaining NOT_RUN gates. Keep the incumbent service and recovery path intact.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:09 UTC

Recovered GitHub comment by @aien-spark on 2026-10-30T00:23:40Z. Original comment 6511772175

Host-optimization update: draft #806 head 0925d7d05a7b3ec0f1673fbad4e112161844203c, stacked on #805, AIEN Checks PASS and mergeable_state=clean. No readiness/label/merge/deploy change.

Native monons profiling measured dot accumulation hottest; forward-only matdot skips unused bound sums without changing f64 conversions/products/reduction order. Router/local-operator error bounds and forward budget unchanged. Repository acceptance rerun: OM-FLINT-MANIFEST PASS (92); both wrong-token and skip-final-norm mutants comparison FAIL/exit1; final worst_ppm694277/ties5 unchanged.

NVIDIA GB10 CPU core5 Cortex-X925, nice19, same frozen fixture/shards, one warmup per arm, five interleaved pairs: Wolfram means29.1630638816s ->21.191533074s, 1.376165838x /27.334339217% lower verification wall time. Raw measurements/commands and full Wolfram query/output: operator-local handoffs/flint-owner/core5-paired-wall.jsonl, core5-statistics.txt; full acceptance check-forward-optimized.out. This is bounded two-token CPU verification, NOT GPU throughput/TTFT/ITL/task completion. worst_ppm694277 uses69.4277% of the comparison budget, not relative tensor error.

Full BF16 device path, long contexts and AMD/Intel/Qualcomm qualification remain NOT_RUN. 18091 untouched; no GPU window, external runtime adoption or new RL.

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:21 UTC

Recovered GitHub comment. Original comment 6508886577

P0 first deliverable is pushed: branch feat/flint-p0-manifest at f1259d12 (base main b65e00b0). The PR is queued with PRDesk.

Scope. A bounded manifest and config reader written in seeded Omega (om/flint/manifest.om), plus refusal fixtures. No model execution.

Pin. RecursiveSI/flint 2a247be0c0aec895ccb0ac7ca92229ec6df37288, Apache-2.0.

  • config a57c33d1…2ba7
  • index e5e9c492…0311
  • tokenizer.json a263cce0…5b68, which equals its LFS oid
  • chat_template 7940f4ff…3466
  • 15 BF16 shards: 18/18 LFS sha256 and 26/26 sizes match after download.

Measured on host CPU (omc 62775d2a…712b at omega-mv bf54b19f):

  • om/flint/check.sh: OM-FLINT-MANIFEST PASS (70) from a fresh clone, with both checkpoint arms.
  • The inventory is 36734 tensors, all BF16, with TSV sha256 60ff4dbdaa1c3632c934c6935aa60ed5b2def4e15f0ca5083ddc7dd660f083f5. The published headers and the downloaded shards produce the same TSV.
  • Totals are 39785287456 parameters (37849399296 routed) and 79570574912 bytes. These were reconciled with WolframLanguageEvaluator against arch#353.
  • Real-checkpoint pass: 0.27 s wall, 9440 kB max RSS, 0 major faults. Headers only: no mmap, no tensor data read, no duplicate buffers.

Negative controls.

  • 38 refusal fixtures. Each must produce its exact code and leave stdout empty. They cover missing, duplicate, out-of-range, overlapping and truncated tensors, overflowed offsets, wrong shape and dtype, bad header length, symlinks, config drift and shard-name form.
  • 25 guard mutants: each fm_die site removed, plus one with O_NOFOLLOW dropped. All 25 were caught.
  • Exit 43, the output-capacity guard, is not exercised.

Still open for #802, all NOT_RUN:

  • weight streaming and repacking with peak and residency accounting
  • operator fixtures (sigmoid top-6 router, ungated shared expert, learned sink, SWA 513, selective RoPE, Q/K RMSNorm)
  • frozen tolerances, then layer, logit and generation parity
  • forward mutants
  • tokenizer and control-token identity
  • load report
  • every GPU arm, which needs a GPU window and authorization

Wiring into tests/gates is left to the owner (#753/#797).

did:key:z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd wrote on 2026-11-18 17:21 UTC

Recovered GitHub comment. Original comment 6511425752

FlintOwner 2026-10-29, IMPLEMENTED / EXERCISED host only: https://github.com/aien-dev/aien-sovereign-core-mv/pull/806, head 402025cdb5f2a4d7e8a7f88242273aa910ad1f05, stacked on Core #805. Frozen checkpoint RecursiveSI/flint@2a247be0c0aec895ccb0ac7ca92229ec6df37288. FLINT_FORWARD=1 gate PASS (92), including prior89 checks, all49 chained layers/five intermediate tensors each/final norm/all-vocabulary logits, and wrong-token + skipped-final-norm mutants. Native BF16-storage/f64-compute vs reference f32, fixed integration budget documented; no teacher forcing, no sampled generation or task quality claim. Architecture finding: config/ref have NO expert bias (modeling_flint.py:97), not selection-only bias. This behavior is implemented. Full native device dispatch, BF16-activation parity, long-context KV and requested benchmark matrix remain NOT_RUN; full BF16 device run additionally needs Drake authority to displace/coexist with resident18091. No live-service or GPU changes.

Sign in to comment