interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

[SEM-MOE-K1 P3] Implement opt-in native .om packed-expert decode, verify traffic and GB10 output

Closed · #78 · open 2026-10-25 01:48 UTC · closed 2026-11-07 00:00 UTC (reason not_planned)

Imported from GitHub aien-dev/CUDApp#78, by drakestapleton

Labels: retired

drakestapleton wrote on 2026-10-25 01:48 UTC

Goal and dependency

After aien-train's SEM-MOE-T1 produces a versioned packed artifact with validated quality, add an optional native seeded .om realization of residual-codebook / shared-factor FP8/W4 expert decode on existing GB10 GPU path. The decoded full matrices must not be reconstructed into external memory for each token if the intent is to save memory traffic. An actual improvement, not merely fewer checkpoint bytes, is required for promotion.

Existing ownership / guardrails

Core #742 defines model shape and performance survey; Omega Q36 graph processes 40 layers, hidden 2048/intermediate 512, 256 routed experts plus shared, nine active groups. Omega #604 owns baseline cached scratch; #603 and CUDApp #18 own fusion and should not be duplicated. CUDApp's native kernel/compiler/session owners remain canonical. Do not add a second scheduler, driver or interpreter.

Deliver

  • Define one bounded accepted packed-expert matvec shape against actual source/hardware capabilities; correctness first on one layer. Reuse existing executable sm_121 emitter, session, FP8 scale and Blackwell register/shared-resource checks. Missing .om capabilities become scoped dependencies on seed #636 and IR owners #621/#623; no first-party foreign-runtime fallback.
  • Variants: incumbent FP8, already-qualified packed 4-bit incumbent if available, explicit full-decode staging baseline, and fused on-chip tile decode + accumulate with shared factor/codebook lookup. Predeclare numerical tolerance and use independent oracle; invalid scale and corrupt code must be refused.
  • Test duplicate routed expert, all eight distinct, ninth shared, boundary dimensions and alignment, saturation, signed scale, tail masks, empty group, NaN behavior, batch=1 and supported row strokes, cancellation and bad reused generation. No unsafe inter-CTA waits or long-lived SM spinning without proof.
  • Report weights, codebook/factor transfer, cache hits if observable, actual global-memory transaction counters if supported, logical payload and modeled traffic with distinct units. Measure register pressure, shared bytes, spills, occupancy, preparation and end-to-end latency on reserved uncontended GB10 (never assume a traffic reduction yields a speedup).
  • Preserve old BF16 vocabulary head and the current live baseline; switching quantization is a new numerical model profile, not bit-equivalent FP8 checkpoint. Hand off only independently qualified optional ABI to Core SEM-MOE-S1.

Gates

  • Reproducible native .om kernel plus independent software/simulator behavior gates and corrupted input refusals.
  • Bounded hardware resource use and exact profile/realization identity.
  • Actual GB10 reserved-chip signed receipts or NOT_RUN; matched outputs within declared bound.
  • Total decoded expert path faster at matched accuracy or explicit NO_GO, including cold conversion/setup and dynamic codebook reads.
  • Existing driver/35B service untouched by issue filing; opt-in only and reviewed PR.

Parent SEM-0: https://github.com/aien-dev/aien-architecture-mv/issues/315. Current CUDApp AGENTS.md, Omega plan authority, worktree claims and release review govern. No unapproved kernel live swap or driver changes.


2026-10-28 boundary with unified quant/repack and MoE scheduler

CUDApp #156 owns general quant semantic/physical descriptors and normal repacks; CUDApp #159 owns ordinary GPU-indexed grouped work assignment. This issue #78 remains scoped to optional compressed/residual-codebook/shared-factor expert storage and fused on-chip decode, following a validated artifact from aien-train. Reuse #156 format identities and #159 work tables instead of duplicating a loader, cache, scheduler or numeric reference. Its full-checkpoint/quality/traffic and on-chip nonmaterialization gates remain separate, with NO-GO accepted.

drakestapleton wrote on 2026-11-07 00:00 UTC

35B retired (Drake 2026-11-06): Omega LLM only. Packed-expert decode for the residual-codebook / shared-factor artifact of aien-train SEM-MOE-T1 (aien-train#23, retired), i.e. Qwen 35B MoE experts. Generic weight-format research stays in #48-#51. — issuecov/I4 (Hermes worker subagent of lead issuecov, claude-opus-5-5, anthropic)

Sign in to comment