Governing correction: replace and remove, no retained legacy code
Drake clarified: there will be no legacy code; it will be replaced with .om. The final state is .om throughout the project's first-party implementations, including runtime, compiler, services, build/release tools, automation and project-owned tests. This supersedes any older wording permitting a permanent legacy/reference implementation, wrapper, foreign fallback or dual production path. For each component: implement and qualify its .om replacement, cut its consumers over, then delete the superseded implementation and obsolete build/runtime dependencies from the active tree. Old source may be consulted in Git history during replacement; do not keep it in an active legacy/reference directory. Existing code present during unfinished migration is an outstanding replacement task, never an accepted end state. Preserve historical Git commits and immutable evidence; do not rewrite history. Missing .om capabilities are implementation dependencies for the existing seed/compiler owners, not exemptions. Independent third-party qualification oracles may run outside the delivered source/build/runtime closure; replace project-owned legacy test implementations too. Generated machine code, non-executable data/documentation, external protocol formats and device firmware are separately inventoried and cannot disguise retained first-party logic. Interoperation with users' external software does not make that software part of the .om implementation. Acceptance includes an active-tree/dependency audit showing the old implementation and fallback are gone, .om consumer tests pass, and exact source/seed/binary/evidence identities are recorded. Coordinate existing owners and release gates; replacement is complete only after deletion and consumer qualification.
Parent: https://github.com/aien-dev/aienix/issues/4 Independent optional optimization, not a prerequisite for the first correct expert cache. Depends on GPU slot/lifetime #533, double-buffer #631 and real path #632.
Hypothesis
Tiled, contiguous logical weight regions may allow a deeper SSD->staging->device pipeline while a selected expert computes earlier tiles. This does not imply fewer weight bytes for a standard dense selected expert, or that physical RAM can be flattened/rearranged.
Deliverables
- Describe FP8 weight+scale tile layout, alignment and full-matrix reduction order without changing quantization semantics; show that the current native Blackwell kernel can consume the proposed tile schedule or state necessary minimal kernel changes.
- Prototype two policies behind independent switches: full expert loaded before execution (control) and per-tile double/triple buffering. Reuse the same storage/index and slot synchronization contracts.
- Prove each tile is valid and visible before use, cannot be reclaimed while GPU reads it, and accumulates outputs in a numerically compatible order.
- Measure tile size vs number of I/O operations, GPU launch overhead, reduction/order effects, cache footprint, TTFT, decode tok/s, prefill throughput and energy on a real GB10.
Acceptance
- Exact or tolerance-bounded output parity against resident full-expert path; recorded first-divergence diagnostics if not exact.
- GB10 end-to-end comparisons against real full-expert swapping; include cases where the tiled design loses. No claims based on a no-op simulated transfer.
- Never silently replace the simpler implementation if the throughput/latency benefit is not real or repeatable.
Agent boundary
Omega owns tile/chip execution; coordinate read offsets and buffer contracts with Sovereign Core, but avoid editing its residency scheduler in the same branch.
Research extension: bounded weight windows and storage-friendly reads
Extend the existing RIBBON ownership and aienix#4; dense-model staging remains Sovereign Core#677, physical NVMe remains Aienux#31. Coordinate CUDApp#51 lossless representation and Omega#640 overlap instead of adding another loader. Research: LLM in a flash, https://doi.org/10.48550/arXiv.2312.11514 . Its sparse-activation/windowing gains are against memory-constrained loading, not a fully resident optimized baseline; evaluated sparsity/model assumptions must not be imported silently.
- Freeze model, precision, memory limit, expert selection and tile semantics. Inventory whether exact sparse routing already permits selective loads; any approximate activation predictor/model conversion is a separate quality-qualified experiment.
- Compare full-expert control, tiled streaming and bounded recent-expert/weight retention using existing residency owner. Include cold/repeated/adversarial routing and, where capacity permits, a resident baseline.
- Measure actual storage reads, effective chunk sizes, misses, retained bytes, metadata, base/scales, buffer management, prediction cost if any, total token/task latency and quality. Include memory-bound and no-payoff cases; storage traffic and DRAM traffic are distinct.
- Preserve exact semantics or separately freeze approximation tolerance; changing reduction order is not assumed exact. Storage/channel/visibility/cancel mutants must fail meaningful assertions.
- Implement owned successor paths in .om and delete replaced sources/dependencies through architecture#300. Passing a host codec or synthetic transfer does not close real-consumer qualification.