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

branch main Branches Tags History

CUDApp / evidence / model-graphs / 2026-11-06 / README.md

54 lines · 7316 bytes Raw Blame History Source

ModelGraphsOm receipt, 2026-11-06

Status and source

Host implementation exercised, not hardware-qualified. Branch feat/model-graphs-om, private worktree ~/work/cudastack/lanes/ModelGraphsOm. Registration commit 9dc1990; initial implementation 48d895ec5daa0e6e0106000acee4ef9b3c184137. Source base b774723f537cec16a359fe082b8100317a5b5490. CmdList dependency feat/cmdlist-program-om at 581c048799f13b5b29a5172031c15889d6067672 (draft CUDApp #304) is stacked by merge commit dcd78797044203a51e2a414875bfb1aeca879076. Focused gates were rerun after stacking. No merge to main or deployment.

Pinned compiler: omega-mv e5b32567, omc SHA-256 2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f. Portable bindings generated by om/units.sh; byte-identical --check PASS. No language/compiler/public API or gate contract changed; no harness skill amendment is implied by these internal plans.

Commands and outcomes

Every test, mutant and build below ran in this device-free wrapper:

bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10 <command>

Within it:

The earlier failed focused attempt is retained in focused-before-mutant-fix.log (rc 2, missing mutant generation destination). The runner now creates the destination. A second attempt distinguished a trapped high-shift mutation from unrelated failures by making the independent oracle print an explicit adapter failure diagnostic. Compile failures are never counted as mutant kills.

Evidence tiers

TierVerdictObserved result
Independent wire differentialPASSMODEL-GRAPHS wire PASS cases=70224 record-flip=CAUGHT
Real command-list banks/QMD, deterministic nested ABI adaptersPASScases=150480 record-flip=CAUGHT exact-head=covered standalone-glue=covered nested-ABI=deterministic-host-adapters
Five recompiled Omega wire mutantsPASSLow address, high shift, epsilon binding, SwiGLU scale, gate length killed; high shift rejected by adapter rc 5
One-word fake-platform submission probesPASSQ36, Q38 and decode, GDN/attention variants: old=1, new=1 per generated word
Actual nested-kernel production-model command-list parityPASS64 host cases, actual GDN/attention/FP8/BF16/GEMM/router recorders; real banks, QMDs and submitted words identical; plan-word flip killed
Layout and complete prefill launch/copy/transfer descriptorsPASS40,128 layout cases; 30,096 prefill planning cases; generated debug-copy descriptor checks
Q38 exact-head and standalone glue fixturesPASSIncluded in the 150,480 list differential cases
Focused GATHER warp simulationPASSBoth warp orders, four rows, source-index mutant rejected in both
Generated bindings byte checkPASSPASS portable Omega units regenerate byte for byte
Integrated full make testNOT_RUNIntegrator-owned; not started here
Chip, live RM, VFIO, deploymentNOT_RUNNo authorization

The broad differential generates 10,000 random positions/configurations plus boundaries, reused across scalar, batch, prefill, grouping and native-window modes. It compares entire 1024-byte argument banks and QMD slots, code VAs, waits, independence and state. Its nested ABI adapters isolate graph decisions. The separate nested gate invokes actual production recorders for Q36, Q38 27B/9B and scalar decode at positions 0, 1, 255, 256, 131064 and 131071, GDN/attention, batch/prefill, native MoE windows, combine, optional FP8 final head, BF16 split-down and exact masked final head. Opaque resource layouts come from the production translation units; only memory/weights/state observations and platform/RM are synthetic. This is host recording evidence, not model-output or numerical equivalence.

The differential found and fixed two implementation defects: native-window SwiGLU/permutation argument counts were unset, and decode mutant 4 accidentally selected the combine mutant (only Q36 mutant 4 and decode mutant 2 should do so).

Remaining scope

Allocation offsets/sizes, debug readback GATHER bindings/dimensions, and standalone residual/SwiGLU selection/packing now live in layout.om and aux.om, with retained C oracle branches. C retains model shape metadata, object lifetime, admission, actual recorder dispatch, execution and statistics as ABI shell responsibilities.

The nested native MoE window constructs first-party staged rowmap kernels with the actual seeded composer/encoder, exports temporary cubins, snapshots/adopts their real manifests, and prepares real native leases. This host-only artifact path is exercised, not NOT_RUN; no recorder adapter or fabricated admission bypass is used. Cubins are removed after immutable snapshots and are not committed. Synthetic buffers are never kernel-executed. Actual recorded lists and fake-queue submitted words compare byte-for-byte; old and new each submit once per complete generated word. Chip/model-output qualification and the integrated full suite remain NOT_RUN. No compiler/bridge limitation or extension proposal is outstanding for these plans. Hardware procedure: om/graph/CHIP.md.

Wolfram queries used for constants: 2^64-256 -> 18446744073709551360; {Ceiling[248320/2048],17408/256} -> {122,68}. These are constant derivations, not measured performance figures.