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
aien-sovereign-core-mv / docs / qwen38 / qualification-20261101 / FORMAT.md
| 1 | # Evidence format and replay |
| 2 | |
| 3 | This pack records an existing native 27B server build. It does not describe a |
| 4 | new server built from the accompanying Ribbon changes. |
| 5 | |
| 6 | `index.json` lists completed runs and separates correctness from timing |
| 7 | qualification. Each compressed request or response preserves its original |
| 8 | bytes. The index records its uncompressed SHA256. Event files replace local |
| 9 | home and repository paths with `$HOME` and `$REPO`; their original source |
| 10 | digests are retained. Other event fields are preserved. |
| 11 | |
| 12 | The `short` directory contains the reference-generation requests and responses. |
| 13 | The `long32`, `long64`, and `long128` directories, when present, contain: |
| 14 | |
| 15 | 1. `long-cold`: a fresh conversation asking for a passphrase from the middle of |
| 16 | the archive. |
| 17 | 2. `long-resumed`: the same conversation with its answer and a follow-up. |
| 18 | 3. `reset-cold`: an unrelated short conversation, forcing the live-prefix |
| 19 | comparison to be cold for the next request. |
| 20 | 4. `long-follow-cold`: the full follow-up conversation recomputed from scratch. |
| 21 | |
| 22 | The continuation and cold recomputation must emit identical token IDs. The |
| 23 | first prompt must report exactly 32,768, 65,536, or 128,000 prompt tokens. The |
| 24 | 128,000-token fixture leaves room for the follow-up inside the server's 131,072 |
| 25 | token capacity. This is a retrieval and continuation test, not a broad test of |
| 26 | long-context reasoning. |
| 27 | |
| 28 | Files ending `.u32le.gz` contain reconstructed input token IDs: unsigned 32-bit |
| 29 | integers, little-endian, with no header or padding. The renderer and tokenizer |
| 30 | come from the exact serving Core revision, `46134247`, with `tokenizers 0.21.4` |
| 31 | and the checked model's tokenizer/template files. Their lengths are compared |
| 32 | with the server's reported prompt-token counts. They are reconstructed inputs, |
| 33 | not a dump from GPU memory. |
| 34 | |
| 35 | The legacy `identity.fixture_sha256` field in the original long-run events |
| 36 | names the short reference fixture. It is not the long-prompt identity. Use the |
| 37 | preserved long request, its digest, `actual_long_prompt_utf8_sha256`, and the |
| 38 | input-token file. This correction is recorded in the index rather than editing |
| 39 | the historical event. |
| 40 | |
| 41 | To replay a request, start the pinned native binary on an unused loopback port |
| 42 | with the checked model, `--max-context 131072 --max-tokens-cap 16384 --thinking |
| 43 | off`. Decompress the request and POST its bytes to `/v1/chat/completions` with |
| 44 | content type `application/json`. Submit the four long requests in the order |
| 45 | above. Preserve the model identity, binary hash, configuration, output IDs and |
| 46 | server log. A CPU stub cannot supply inference evidence. |
| 47 | |
| 48 | Short timing requires an exclusive chip and quiet-machine measurement window. |
| 49 | The long runs allow host compilation and are correctness evidence only. An |
| 50 | event's duration does not by itself establish an uncontended baseline. |
| 51 | |
| 52 | Measurement data is CC0-1.0. Documentation and any captured test-source files |
| 53 | are Apache-2.0. |