Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/CUDApp/tree/main/evidence/FLASH-NEXT-MOE-SHAPES-20261118 # 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 Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `CUDApp / evidence / FLASH-NEXT-MOE-SHAPES-20261118` `a4ffab1` Preserve the completed exhaustive comparison and original host-suite results Drake Stapleton committed 2026-11-18 ``` .. hosttests/ ragged/ receipts/ superseded/ wide-units/ README.md 4339 identity_probe.c 2471 run-receipts.sh 8994 shape_probe.c 4625 ``` README.md # FLASH-NEXT-MOE-SHAPES-`20261118` Receipts for the CUDA++ mixture-of-experts path on the Qwen3.8-Flash-Next shapes (hidden 2560, 512 routed experts, 10 picks plus the shared expert, expert intermediate 640, E4M3 weights with BF16 `weight_scale_inv` in 128 x 128 blocks). Branch `flash/moe-flash-next-shapes`, base `997e105086353120d6e41805ae4973cefec7fb74`. Host only. Chip: NOT_RUN. Nothing here opens `/dev/nvidia*`; every command ran through `bwrap --dev-bind / / --dev /dev --proc /proc`, niced, on a few cores. The code head these receipts ran on is in `receipts/00-head.out`. A receipt is the command (`.cmd`), its exit code (`.rc`, the first failing stage of a pipeline) and its complete output (`.out`); `receipts/SHA256SUMS` covers them. `run-receipts.sh` reruns them all (`ROOT= RECEIPTS_OUT= sh run-receipts.sh`; `STEPS='02-... 13-...'` reruns named steps). Receipt What it shows `01-toolchain` the compiler and bridge pins `om/units.sh` checks and uses; the `PIN` file (scope: AMD launch only); the repository's bridge frontend refuses the `PIN` compiler (exit 65) `02-base-legacy-run` at the base, `tests/moe/run.sh` does not link (`omega_mg_group`): exit non-zero, as expected `03-before-after-probe` which Flash-Next shapes each unit accepts at the base and at the head (`shape_probe.c`) `04-generated-code-identity` 129,792 FP8 GEMV specs (variants 1 and 2): return code, instruction count, encoded-SASS hash, steps and shared bytes identical between the base library and the head library (`identity_probe.c`); 21,844 of them are accepted `05-legacy-untouched` `git diff` over the legacy MoE units, their generated C and every existing test file is empty; the one changed existing test-side file is listed `06-moe-legacy`, `07-moe-wide`, `08-moe-wide-mutants` the unchanged legacy MoE test (with the unit-list fix), the wide units, and 18 source mutants of them `09-ragged-builder-sim` ragged-K FP8 GEMV on the host warp simulator against the double-precision oracle, negative controls, stall distances, decoder `10-ragged-api-op25` API selection of the Flash-Next shapes; host-policy op 25 against its frozen C oracle `11-group-sim` the GROUP kernel at S = 9 and S = 11 with 512 experts on the simulator, bit exact, with its mutants `12-existing-moe-sim` the existing MoE warp-simulator test, unchanged, still passes `13-real-expert` one routed expert of layer 0 read from disk (SHA-256 of every byte read) through the kernels on the simulator against a Python float64 computation `14-units-check` `om/units.sh --check`: all generated units, including the new ones, regenerate byte for byte `15-gates` runtime API check, drift, pin sync `16-gpu-fp8-host-and-sim` the existing FP8 host battery and simulator battery (`make test-gpu-fp8`) `17-pin-compiler-programs` the Omega programs that need no bridge, under both compilers; a driver with a negative control Other logs next to this file (long runs, each with its own command and exit line): - `ragged/codegen_moe_diff_after.log`: the exhaustive differential of the Omega MoE builders against the frozen C oracles (existing test, unchanged). - `ragged/moe_ragged_mutants.log`: source mutants of the ragged builder and its policy (14: 10 builder, 4 policy), full run at `1a5cb857`. - `hosttests/make_hosttests_nodiff.log`: every `HOST_TESTS` target of the head except the differential above, run with `make -k`. - `superseded/`: receipts that failed or were cut short, kept with the cause in `NOTE.md` (the first real-expert run: a test bug; the first mutant run: an exit-code expectation). The next run of each replaces them. - `wide-units/`: the receipts of the subagent that wrote the wide units, run on the working tree before the commit (superseded by receipts 06 to 08 for pass or fail). Not covered, and refused as before (receipt 03): RES COMBINE (10 or 11 weights, width 2560), the router (512 experts, top-10, k 2560), and the native-artifact FP8 path (`omega_gpu_fp8_record_native`: prebuilt artifacts have no ragged manifest). Simulator limits: at most 8 warps per CTA (the launch uses 32; the 32-warp register fit is checked by `omega_gpu_fp8_kernel_fits` in receipt 10), functional execution only, no scoreboard timing.