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 / inference / evidence / bitnet-t1-20261015 / NOTES.md

43 lines · 2964 bytes Raw Blame History Source

BitNet T1: ternary loader, host only, 2026-10-15

Design: ~/handoffs/2026-10-15-ternary-engine-design.md section 5 row T1. Code: crates/aien-inference-abi/src/bitnet_omega.rs. No chip run, nothing of Microsoft's run. Master: BitNet-b1.58-2B-4T-bf16/model.safetensors, sha256 529637ff...5ae1 (pinned in code). Layout id: omega-trit2-rm16-hfrows-v1 (16 trits per little-endian u32, omega's code 0b00 = 0, 0b01 = +1, 0b10 = -1, 0b11 refused; [n][k/16]; checkpoint row order).

Gates

gateresultreceipt
config refusals by name (family, relu2, tied, bf16, quantisation, unknown keys)passunit tests refuses_*
trit grid validated, 0b11 refused with row and columnpasstrit_grid_is_validated_no_0b11
q,k,v and gate,up stacked: trits and one scale per segmentpassbyte test, byte_test_passes_and_stacks_*
RSS bound, measured in a child process (three full-width layers, 16k vocab): embedding + larger loader phase + 24 MBgrowth 203,575,296 B, bound 224,067,584 B (calc:05935794)rss-gate.txt
real checkpoint: resident bytes849,387,060 B, about 0.85 GB (calc:f379a7e8)real-load.txt
real checkpoint: tensors, uploads, peak RSSexactly the 332 expected tensors; 121 uploads; peak 986,660,864 B over start, bound 1,052,155,024 B (calc:33d3fb7b)real-load.txt
real checkpoint: our scales equal the reference int2 scales (spec 6, layers 0, 15, 29)all 21 equalreal-load.txt
gguf trit agreement (informational, parsed here)2,026,762,053 of 2,084,044,800 agree, 97.2514 % (calc:736bea70)gguf-agreement.txt

Negative controls

What the gguf count says

The test asserts all three of these. Block size 128 decodes (agreement 6,473,881 of 6,553,600 on layer 0 q; block 64 gives 3,789,499). q and k agree in checkpoint row order, not in the interleaved-RoPE order, so the gguf keeps the HF rows. The 2.7 % that differ follow from the scale: the gguf quantised with its own f32 mean (layer 0 q 1.2188548), we with PyTorch's bf16 steps (1.21875, the reference int2 checkpoint's value), so weights near the half-scale boundary fall either side.

CALC-EXEMPT: the figures without a calc id are measured values copied from the receipt files named beside them.