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 / om / ribbon / ATTENTION-MIRROR.md
| 1 | # Cached attention history for the resident 27B reader |
| 2 | |
| 3 | The native scoped implementation passes 63 physical attention checks, including |
| 4 | independent reference comparisons, appended history and the next decode step, |
| 5 | repeated outputs, and damaged-kernel controls. Its Omega admission and operation |
| 6 | order pass 1,679 request cases, 1,008 transition cases and nine source mutants; |
| 7 | the real host adapter catches four transport mutants. The integrated candidate |
| 8 | preserves every score bit in six full-model cases, seven threshold and tail |
| 9 | cases, and a 32,768-token read followed by a short request. The complete native |
| 10 | host suite now passes all 83 manifest targets, including both attention checks. |
| 11 | The registration repair preserves targets contributed by earlier build fragments. Full Core preflight passes at the implementation |
| 12 | revision recorded in [the integration receipt](q38-attention-integration-validation.json). |
| 13 | |
| 14 | This carries the 30B cached-history mechanism into the resident 27B reader. |
| 15 | Omega admits a supported request and directs allocation, preparation, completed |
| 16 | history copy and attention, using one reusable buffer. The original history |
| 17 | remains authoritative for subsequent decoding. The arithmetic and reduction |
| 18 | order are unchanged. The provisional native policy bypasses copying below 1,024 |
| 19 | rows; larger requests copy the complete allocated history, including its required |
| 20 | tail. The copy cost is included in reported attention device time and total call |
| 21 | time. Selection is passed explicitly for each call and serialized by the native |
| 22 | session lock. |
| 23 | |
| 24 | Set `AIEN_Q38_ATTENTION_MIRROR=1` to select the experiment. Absent or `0` preserves |
| 25 | the existing path; other values and an unavailable native entry are refused. |
| 26 | The saved-context identity includes the selection. It can be used alongside |
| 27 | `AIEN_Q38_READING_FAST=1`, whose matrix policy is independent. The required native |
| 28 | source is CUDApp PR #260 at `ede9c14ca71fca1fe8503d09a0a11edb02a3fef6`, |
| 29 | runtime API 0.13.0, built archive SHA256 |
| 30 | `965bfedc062aa9b5594468198a8b1d4c5cfd23b65d39777e7fb2a06ba7cb5a2d`. |
| 31 | The development archive override does not qualify a release or change the |
| 32 | repository's default native pin. |
| 33 | |
| 34 | The integrated production candidate reduced the measured 32,768-token read |
| 35 | from 109.500 to 103.451 seconds, including allocation and copying. Its same-binary |
| 36 | server comparison delivered the first visible response in 104.728 seconds, |
| 37 | against 108.372 seconds before. Fresh follow-up took 103.074 versus 108.918 |
| 38 | seconds. Answers and token IDs match across both settings; saved follow-up |
| 39 | matches a fresh calculation. Short correctness, streaming, seven coding cases, |
| 40 | prose and seeded sampling also pass. A deliberately nonfinite output is rejected. |
| 41 | The repeated 5,017-token total is essentially unchanged. |
| 42 | |
| 43 | The 65,536-token serving check also passes retrieval and saved/fresh continuation |
| 44 | parity. First visible response was 237.355 seconds, saved follow-up 0.531 seconds, |
| 45 | and fresh follow-up 237.970 seconds. This candidate-only run establishes correctness; |
| 46 | it is not a paired speed comparison. [Follow-up evidence](q38-attention-followup-validation.json) |
| 47 | records this check and the complete 83-target native suite. |
| 48 | |
| 49 | The 128,000-token serving check also passes retrieval and saved/fresh continuation |
| 50 | parity: first visible response was 570.312 seconds, saved follow-up 0.778 seconds, |
| 51 | and fresh follow-up 570.967 seconds. [128K evidence](q38-attention-serving128-validation.json) |
| 52 | pins the completed run. These candidate-only long runs establish correctness, |
| 53 | not paired speed gains. All planned short/32K/64K/128K serving correctness gates |
| 54 | now pass. Five alternating quiet timing pairs and independent review remain open. |
| 55 | No default promotion or deployment. |
| 56 | The receipt identifies the production source, immutable server, original log |
| 57 | hashes and two repaired full-suite failures. Tracking issue: Core #710. |
| 58 | Ribbon's storage-fed 30B attachment and the shared model service remain unchanged. |