interplane.Get Omega
Read in your language

sovereign-intelligence

Front door to Drake Stapleton's sovereign stack.

Brought by drakestapleton

branch main Branches Tags History

sovereign-intelligence / tools / adapter / README.md

30 lines · 4035 bytes Raw Blame History Source

Open-model row qualification

On Linux AArch64, run the following from the Sovereign Intelligence source checkout with its pinned out/omc available. Set OMC to use an existing copy with the identical SHA-256. The host launcher uses Bash and GNU coreutils. The model and compiler stay on the user's machine.

tools/adapter/qualify /path/to/model.gguf
tools/adapter/check /path/to/qwen.gguf /path/to/stories.gguf

The launcher identifies each file by size and complete SHA-256 before compiling a kernel or allocating tensor storage. Only the two exact little-endian GGUF v3 files in models.tsv are admitted. Their reference directory entries identify the architecture, tokenizer family, Q8_0 attention tensor, row width and byte offset. The whitelist lets an unknown file fail without trusting its size fields or parsing its metadata. The tokenizer family is reported by identity. Tokenization itself is untested.

FileArchitectureTokenizerInput revision
qwen2.5-0.5b-instruct-q8_0.ggufqwen2gpt2Qwen
stories15M-q8_0.ggufllamallamaggml-org

What runs

The adapter takes the first row of blk.0.attn_q.weight, verifies the row digest, instantiates the ggml-omega template at the exact block count and compiles a native Linux AArch64 ELF. It multiplies the row by the repeating activation vector i % 7 - 3 and checks the four result bytes against an independently decoded reference. A cache hit must match the pinned binary digest and pass the row check again. Entries are atomically published after parity passes. Set SI_ADAPTER_CACHE to choose a scratch cache.

The read-only probe records OS release, CPU ISA and MIDRs, total RAM, display PCI IDs and the bound driver. Its output is part of the cache key alongside the model, source, compiler and expected executable digests. The implemented fallback is host execution, including on a GB10 host. The program opens no GPU nodes. Only the row width specializes the arithmetic. CPU ISA determines the executable target. Individual CPU core types do not select different instruction sequences.

Source trail and limits

For independent reproduction install gguf==0.17.1 in a test environment and run python reference.py QWEN.gguf STORIES.gguf from this directory. Compare the metadata, tensor location, row digest and float bits with models.tsv. receipt.txt records the two real inputs and the controls. No whole-model inference, logit parity, throughput, arbitrary GGUF parsing, Safetensors, GPU code generation or public installer integration was exercised.