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/patches/09f59b26ec362a5f # 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 ## GitHub aien-dev/CUDApp#111 (code only) merged derived `09f59b26ec362a5f` #111 Imported from GitHub aien-dev/CUDApp#111 (code only) GitHub's metadata for this pull request is unavailable: its state is DERIVED from the commits (merged: the head is reachable from this project's main; open: GitHub kept a merge ref; else closed). Base `84763314a349b26d4ccf51b6e70985e2e8f3490b` · Head `84763314a349b26d4ccf51b6e70985e2e8f3490b` - reviewed (COMMENTED) on - ## TrainFixes2 review (acting for Main) — head `84763314a349b26d4ccf51b6e70985e2e8f3490b` Scope: `native/models/{fp8,nvfp4,mxdot}.om`, drivers `tests/models/{fmt,nvblk,mxdot}-driver.om`, `tests/models/mxfmt-check.py`, `docs/models/MXFMT.md`. 8 files, +1415, no C, no Makefile, no API manifest change. ### Stack handling Base #100 merged (`e79e8e6c`); GitHub had not retargeted, so the base was set to `main` via the REST API. No CI ran on the stacked head `89a93a2`, so I merged origin/main into the branch (`8476331`, clean, no conflicts; delta vs main still the same 8 files) and pushed (normal push) to get CI on a main-based head. ### Run (fresh clone `/home/drakestapleton/work/Train/TrainFixes/pr111`, aarch64 host, `nice -n 19 taskset -c 10-14`) Compiler: seed-built omc sha256 `2c82480596bbdc50cda9626866209ef662d5834f278f839ff4ce0250c495029f` (the pin `mxfmt-check.py` enforces). numpy 2.5.3, ml_dtypes 0.6.0 (`/home/drakestapleton/ort-aarch64-venv`). - `python tests/models/mxfmt-check.py ` at `89a93a2` → rc=0; at `8476331` → rc=0, identical verdict lines and identical exe sha256s (fmt `fd704209…27ca`, nvblk `4737727c…dfc3`, mxdot `e0f8efec…bcbcd`). - FP8 decode 512 codes == ml_dtypes == OFP8 §5.1; encode 4 × 12,648,448 inputs (65536 bf16 vs exact spec + 12,582,912 structured binary32 vs ml_dtypes), round trips - NVFP4 decode 2032 pairs; encode 8,290,814 + threshold ±1ulp; block scale 232,641; 20,000 blocks - MX dot 600 cases / 33,600 dots, all within γ(nb−1)Σ|t|, 33,600 bit-equal to left-to-right binary64; worst err/Σ|t| 3.346e-16 - refusals 275; 6/6 built-in mutants rejected (flipped E4M3 table entry, round-half-away FP8 and NVFP4 encoders, NVFP4 midpoint 14→13, E4M3 subnormal exponent, NVFP4 dot scale) - logs: `/home/drakestapleton/work/Train/TrainFixes/logs/pr111-89a93a2-mxfmt-check.log`, `pr111-8476331-mxfmt-check.log` - `python3 tests/models/mxfp4-check.py ` at `8476331` → rc=0, 130560 matches, 6 refusals, sign mutant rejected (`pr111-8476331-mxfp4-check.log`). MXFP4 files unchanged. - Body's γ(255): `WolframLanguageEvaluator: u=2^-53; N[255 u/(1-255 u),6] -> 2.83107*10^-14` — matches the stated 2.8311e-14. ### Negative control (mine) Copy of the checker with one expected value perturbed (oracle `F4[7]` 6.0 → 5.0, the E2M1 table used for the NVFP4 reference), same omc and head → rc=1, `FAIL: nvfp4 ref`. Log `pr111-89a93a2-negctl.log`. Tree left clean. ### CI at `8476331` host-tests, runtime-api, library, hello-sim, drift, sbom, CodeQL (actions, c-cpp, python) — all pass (host-tests run `40454339017`). ### Chip Not applicable: no chip claim; GPU, cuBLASLt comparison, SPIR-V lowering and model logits are NOT_RUN as the body states. ### Levels EXERCISED (host CPU, this head). Not QUALIFIED on any GPU. ### Defects fixed None in the units. Body: stale "Stacked on #100" line updated to state the merge/retarget. Branch: merge of origin/main `8476331`. ### Verdict: LAND ### Code The head commit is on main: `84763314a349b26d4ccf51b6e70985e2e8f3490b` . ### Provenance This proposal is imported from GitHub; it is not signed by its author. Its import statement and source record: ``` github-import 1 aien-dev/CUDApp 111 84763314a349b26d4ccf51b6e70985e2e8f3490b ``` ``` {"kind":"github-import","owner":"aien-dev","repo":"CUDApp","number":111,"url":"https://github.com/aien-dev/CUDApp/pull/111","export_sha256":"967c79e26a893657b5cdaa45efd442be5dbd2ecfe68e25f9a8c1b5da4d60d452","imported_utc":"2026-11-18T16:38:44Z","metadata":"unavailable","state_derived":true} ``` ### Changes There is no diff: the head commit is already on main.