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
CUDApp / evidence / graph-head-scale-20261106 / README.md
| 1 | # Graph head scaling migration |
| 2 | |
| 3 | IMPLEMENTED on #322 plus graph-table repair 0c12e015 (#343). No graph construction changes. |
| 4 | Compiler: omega-mv e5b32567, sha256 2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f. |
| 5 | Converter: the unchanged om/units.sh pin, matching /tmp/bridge-73-apiviews. |
| 6 | |
| 7 | Both read APIs strongly call omega_ghscale over the complete hidden vector. |
| 8 | The C multiplication is retained only behind default-OFF |
| 9 | CUDAPP_MIGRATION_PENDING_C_GRAPH_HEAD_SCALE. Public ABI is unchanged. |
| 10 | |
| 11 | ## Host evidence |
| 12 | |
| 13 | All executions below used |
| 14 | `bwrap --dev-bind / / --dev /dev --proc /proc -- taskset -c 10-14 nice -n 10`. |
| 15 | |
| 16 | - `make -j3 test-graph-headscale OMEGA_OMC=~/work/cudastack/omega-mv/seed/out/omc OMEGA_BRIDGE=/tmp/bridge-73-apiviews`: rc 0. Final line `PASS graph head scaling red control and six mutants`. |
| 17 | - Float differential: 4096 exponent/sign/mantissa-class cases, a complete 4096-element vector, empty vector. Non-NaNs compare bit-exact; NaNs compare class. Includes signed zero, both infinities, subnormals, signaling/quiet NaNs and rounding-boundary mantissas. `-ffp-contract=off`. |
| 18 | - Strong binding removal: linker refused missing omega_ghscale. |
| 19 | - Killed compiled Omega mutants: identity, zero, negative, half, skip, add. Identity is the explicit red control. |
| 20 | - Initial #322 family run failed four gather-table checks. The defect also reproduced in a fresh clean b459d248 build (artifact://9265); parent authorized an isolated upstream fix, now draft #343 at 0c12e015. This branch is rebased on that fix. |
| 21 | - After restacking: `make -j3 test-graph-headscale test-gpu-q38-graph-host test-model-graphs-warp test-model-graphs-om test-model-graphs-nested OMEGA_OMC=~/work/cudastack/omega-mv/seed/out/omc OMEGA_BRIDGE=/tmp/bridge-73-apiviews OMEGA_SEED=~/work/cudastack/omega-bridge/build/bootstrap/omc`: rc 0. q38 host 9/9 PASS, graph scaling six mutants PASS, existing graph warp/wire/plans/command-list/nested gates PASS, existing five model graph mutants killed. Artifact artifact://9313. |
| 22 | - An earlier command omitted compiler paths: rc 2, existing mutant setup NOT_RUN. This is not counted as behavior evidence. |
| 23 | |
| 24 | WolframLanguageEvaluator: `{127-64,(127-64)*2^23,2^-64}` -> `{63,528482304,1/18446744073709551616}`. The source multiplier is the original C power-of-two literal. |
| 25 | |
| 26 | ## Chip runbook — NOT_RUN |
| 27 | |
| 28 | No GPU window exists. After explicit exclusive-window authorization, build the graph chip tests at the integrated revision, run their normal q36/q38 model fixtures with FP8 head enabled, compare returned hidden vectors with the default-OFF C oracle, and exercise hidden=NULL and non-FP8 head paths. Record exact source/compiler/model pins and commands in a new receipt directory. Do not infer hardware qualification from host floats or the warp simulator. |
| 29 | |
| 30 | MERGED: no. DEPLOYED: no. Integration/full suite and harness guide refresh belong to the parent. |