Goal
Turn the CUDApp research review into measured improvements to native model execution. Reuse existing code, qualification work and ownership. This roadmap adds research work; it does not replace the existing integration priorities.
Review baseline: 232332422bfdc31c8918085b50f13c1e18ab702e (2026-10-22). Literature: Undermind ranked research and papers.
Existing work to finish and reuse
Canonical motor integration #5 remains the priority. Reuse concurrency/recovery #6/#11/#12, general math #9, disassembler #10, repeatability #13, allocation guard #8 and overhead measurement #14. Preserve Omega PRs aien-dev/omega-mv#614 through #618 and carry their changes into the canonical backend without losing work during extraction. Recheck their live state before editing; do not recreate implementations that already exist.
Independent driver qualification #7 remains its own coordinated workstream. Native-runtime optimization experiments do not require a driver replacement and must not switch the live driver.
Delivery sequence
- Inspect current branches, instructions, source pins and active ownership. Establish the canonical integrated candidate under #5; complete the existing qualification sequence with the current owners.
- Establish reproducible tests, numerical contracts and baseline measurement: #15, #16, #17.
- Make targeted experiments: #18 MoE fusion, #20 shared-prefix attention, #22 SASS scheduling. Use #19 dependency analysis and #21 ragged planning where the measured bottleneck justifies them.
- Evaluate #23 prefill traversal and #24/#25 memory ownership/import work under their explicit prerequisites.
- Requalify successful integrations on the final source pins; update consumer pins and report end-to-end results. A reproducible negative experiment is useful evidence; never force an unsupported optimization into the default path.
Work and dependencies
| Issue | Deliverable | Prerequisites for integration/performance claims |
|---|---|---|
| #15 | Reproducible host tests and pinned Omega slice harness | Reuse existing gates; host work may start immediately |
| #16 | Numerical contracts and end-to-end correctness | #5, existing #9/#13 references |
| #17 | Native model/launch/traffic benchmark report | #5, #16; reuse #14 accounting |
| #18 | FP8 gate/up + SwiGLU fusion experiment | #16, #17 |
| #19 | Buffer dependencies and narrower synchronization | #6, #16, #17 |
| #20 | Shared-prefix attention and stable state merge | #16, #17; existing paging/GQA |
| #21 | Ragged attention plan/run and bounded workspace | #16, #17; existing reservations |
| #22 | Bounded SASS schedule search and byte validation | #10, #16, #17 |
| #23 | Alternating prefill KV traversal experiment | #16, #17 |
| #24 | Coordinated memory reservations and ownership | #6, #8; reuse #14 |
| #25 | File-backed native weight mapping experiment | #6, #24, #16, #17 |
Checklist
- #15 — Make host tests and Omega slice qualification reproducible from a fresh checkout
- #16 — Define numerical contracts for native kernels and whole-token decode
- #17 — Add a native benchmark report for token latency, launch costs and memory traffic
- #18 — Experiment: fuse FP8 gate/up and SwiGLU in the routed MoE decode path
- #19 — Add explicit buffer dependencies and validate narrower command-list synchronization
- #20 — Add shared-prefix attention execution with stable prefix/suffix state merging
- #21 — Separate ragged-attention planning from execution with bounded reusable workspaces
- #22 — Build bounded SASS schedule search with independent encoded-code validation
- #23 — Experiment: alternate KV traversal in GB10 prefill attention to improve cache reuse
- #24 — Extend memory admission with coordinated reservations and explicit buffer ownership
- #25 — Experiment: qualify file-backed shared weights through native GPU mappings
Completion
Each child has its own acceptance and evidence gate. Track implementation, host/simulator qualification, GB10 qualification and consumer integration separately. Store source/binary/model/config identities and raw paired measurements; no performance promises copied from other GPUs. Preserve the baseline path until the candidate is qualified. No production restart, module unload, default-driver change or unsafe memory exhaustion through this roadmap.
Close the roadmap only when every child has an explicit evidenced outcome and the accepted changes pass the final integrated consumer workload, including golden/numerical checks, concurrent requests, a second turn and a real tool-call parse. Mark unavailable hardware work BLOCKED/NOT_RUN with its exact remaining gate instead of presenting it as complete.
CUDA-LEARN integration addendum
CUDA-LEARN extension, 2026-10-23
The finite research workstream #52 adds eight detailed tasks for LLM-assisted native kernel development:
- #53: fixed independent kernel tasks and evaluator.
- #54: explicit transformation proposals over qualified native microkernels.
- #55: bounded native schedule-perturbation testing.
- #56: reduced witnesses with explicit tested/proved boundaries.
- #57: shape-aware candidate selection with complete-model acceptance.
- #58: retained optimization evidence and measured transfer.
- #59: CUDA++ task/feedback adapter for the existing native .om trainer.
- #60: optional rollout/update consistency and log-probability reuse experiment.
These extend the existing roadmap. #5 remains canonical integration priority; #6/#9/#10/#7 and their qualification/support work retain their owners. #15/#16/#17/#24 already have active implementation/evidence branches recorded in #52; reconcile those before duplicating work. Recovery inventory is not product qualification.
The delivery direction is final first-party seeded .om throughout the delivered implementation, tests, build and automation, following aien-dev/omega-mv#599. Existing C/.osc and other legacy work supplies migration inputs and independent historical evidence. Qualify replacements, cut consumers over, delete replaced active code/dependencies, and retain immutable receipts. Preserve the baseline algorithm in .om where useful.
Native task validation and full-cost baseline come before optimization; verified candidate selection comes before learned reuse; parameter training waits for the existing native trainer prerequisites. The reduced-proof, curriculum and training-consistency experiments are bounded research, not mandatory release dependencies. Keep the architecture's existing finite RSI allocation and independent judge. Close only on explicit child outcomes and actual final-artifact consumer qualification; publishing these issues completes planning, not their engineering gates.
2026-10-28: Unified quantization, component realization, caching, dual pipelines and MoE index — coordinated handoff
Grounding: CUDApp main b759afc3f5e46f152ffb06b39882ffa28cacaf96; Omega main 6999fa9e6dae4847c155ef4eacaece74f491d3ca. Reinspect latest commits/branches before a patch. PR #143 merged the seeded .om encoder/cubin; PR #155 merged a 63-form single-source instruction spec/encoder/decoder with host tests; PR #137 merged 9-group 5-CTA wave rule with 15.74% kernel-only gain, no measured TPS; PR #154 found a shape-dependent Tilelab win and regression. Existing FP8 GEMV/GEMM caches already operate; do not reimplement from scratch.
Owners / new work (links are task boundaries, not permission to fork implementations):
- #156 QSCHEMA-1: versioned quant semantic descriptor plus target-specific repacks, independent numeric and byte contracts. Omega #663 owns tensor/dtype semantics; existing #48/#49/#50/#78 own their specialized representations.
- #157 KSTITCH-1: compose typed within-kernel load/dequant/MMA/epilogue components in existing IR before register allocation and scheduling. #35 remains realization owner, #54 transformation owner and #22 SASS scheduling/byte-validation owner.
- #158 KCACHE-1: unifies existing content/shape-keyed encoded-kernel caches, prewarm, sealed recordings and safe GPU session lifetimes.
- #57: existing candidate selector owns dual small-M/large-M pipeline dispatch. Native GB10 capability gate is mandatory; SM121 warp MMA is distinct from SM100
tcgen05/TMEM. No unsupported TMA path or fixed heuristic presented as measured. - #159 MOE-INDEX-1: indexed GPU-resident grouped MoE execution, building on existing Q36 batch
GROUPand prefillpf_group/segment maps; #18 owns separate gate/up+SwiGLU fusion.
Execution order / no duplicate PRs: (A) reconcile canonical GPU owners and consumer pin #5/#106 and freeze live 35B cached-scratch baseline Omega #604; (B) in parallel across disjoint native .om components implement #156 schema, #157 IR contracts, #158 cache keys and #159 planning-only baseline; (C) validate composed candidates and MoE variants with independent controls under #16/#19/#22/#53; (D) #57 selects only admitted candidates with measured full workload cost under #17; (E) coordinate canonical Omega consumption and release without silently changing the live server.
Gate: every task must record exact source/compiler/device/model/binary hashes, input/negative oracles, resource budgets, timings and measured-versus-projected claims; cold/warm setup, TTFT/TPOT, p50/p95, memory/traffic, batch B=1 through supported multi-head/prefill, and rejection/NO-GO results. NO unreviewed C/.osc product fallback; GB10 tests only in authorized windows; no driver swap or live deployment from these experimental issues. Do not close a parent from host-only evidence. Full end-to-end application requires canonical CUDApp-to-Omega pin/receipts.