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/benchmarks-mv/issues/38573a168d9fedf3 # benchmarks-mv Measurement harnesses and evidence bundles for AIEN on the NVIDIA DGX Spark GB10. Speed is reported against the machine's physical limit and my own previous run. Attachment of AienOS. Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers # [ORIG-3] Independently qualify the scratch-trained mini-model against cheap deterministic baselines Open · #45 · open 2026-10-25 03:23 UTC Imported from GitHub aien-dev/benchmarks-mv#45, by drakestapleton drakestapleton wrote on 2026-10-25 03:23 UTC ## Goal and ownership Bounded campaign under existing independent experiential evaluation #39 , evaluating aien-train #19 's original mini-model work. Do not create a second judge or redefine all SI qualification. Inputs: ORIG-1 frozen task/data #24 and ORIG-2 native random-initialized scorer #25 . Freeze the evaluation protocol before adaptive candidate selection; evaluate immutable artifacts afterward. ## Scope - Predeclare task families, unseen shapes/profiles, source lineage, seeds, sample/trial budgets, primary metric, minimum useful effect and correctness/non-regression thresholds. Choose sampling/power targets from the task; do not invent significance from too few episodes. - Compare current deterministic planner, a fixed heuristic, retrieval when applicable, affine baseline, nonlinear scratch scorer, untrained/no-update and shuffled-label controls. Retrospective best-candidate oracle is an analysis upper bound, never an input. A pretrained model may be an optional separately costed comparison, never the primary model's teacher or prerequisite. - Separate episode/task family/near-duplicate lineage; evaluator controls final heldout access. If sealing is unavailable, report development-only rather than qualification. - Measure legality/refusal correctness, selection regret, calibration/abstention where applicable, retention across heldout families and end-to-end completed-work cost. - Include feature extraction, scoring, model loading, validation, fallback, retries, compilation and amortized collection/training costs. Preserve baseline wins and failed runs. Report paired uncertainty by independent episode/family and apply the preregistered decision rule; insufficient evidence is INCONCLUSIVE. - Mutants cover stale/wrong hardware or compiler profiles, out-of-distribution or missing features, corrupt/revoked data/checkpoints, forged outcome labels and resource-limit failures. - Separate host, synthetic simulation and real hardware evidence. Bytes/energy require defined measurement boundaries; energy is NOT_MEASURED without suitable instrumentation. No conversion of theoretical bandwidth/FLOPS ceilings into measured speed or energy savings. - Real Spark tests are separately authorized, exclusively reserved experiments, never another model load beside a resident service. ## Acceptance - Exact model/data/code/compiler/profile manifests and auditable train/validation/final-test boundaries. - No candidate gains execution authority or bypasses deterministic correctness/permission gates. - Reproducible raw per-case evidence, baseline comparisons and confidence/uncertainty report. - Total-cost decision includes overhead and failures; negative and underpowered results retained. - GO / NO-GO / INCONCLUSIVE verdict references frozen thresholds and exact identities. - A GO verdict is evidence only, not deployment authorization or closure of broad #39/#19 qualification. - Unperformed physical measurements remain NOT_RUN/NOT_MEASURED. ## Dependency order Protocol begins after ORIG-1 is frozen; final evaluation waits for ORIG-2 immutable candidate and consent/provenance validity. Provides evidence for ORIG-4 shadow admission; production promotion remains separate. ## Execution and authority Read PLAN_AUTHORITY, CURRENT_EXECUTION_PLAN, AGENTS.md, .crumb and active claims before changing code. Preserve existing owners and exact dependency pins. First-party implementation/tests are seeded handwritten .om; disclose external oracles and temporary host glue separately. Do not create another trainer, scheduler, Cortex writer, C kernel, or Python/PyTorch product path. Keep private owner data local; public artifacts contain schemas, hashes and authorized synthetic fixtures only. Report PASS/FAIL/INCONCLUSIVE/NOT_RUN/BLOCKED accurately. This issue authorizes planning/implementation through reviewed PRs, not a training run, installation, private-data export, hardware experiment, production promotion or automatic merge. Any later Spark run requires an exclusive reservation and must not load a second model beside the resident service. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:15 UTC Recovered GitHub comment. Original comment `6393532191` ORIG-3 delivered as draft PR aien-dev/benchmarks-mv#46 (branch `prereg/orig3-selector`, head `628b973`, stacked on #41 because the prereg validator is not on main). Needs independent review; no label added (benchmarks is in the auto-merge list). - Prereg `manifests/prereg/orig3_selector.json` FROZEN (validator 0 defects), sha256 `77776940…9a3b`; decision-rule text unchanged since `e34f786` (before any candidate training); identities pinned after training (disclosed); SEALED-FINAL = fresh tap run after the candidate commit (04:24Z vs 04:21Z), 738 records, fnv `12602815733741495377`, local only. - Verdict, rule applied verbatim (`docs/orig3/judge.sh` and native twin `bench_orig3_judge`): INCONCLUSIVE. SEALED H1+H2 (n=120 per class), cost/oracle: X925 MLP 1.0002, retrieval 1.0002, static 1.0116, affine 1.0003, rule 1.7053, ref 1.6292; A725 MLP 1.0019, retrieval 1.0025, static 1.0285, affine 1.0908, rule 1.7967, ref 1.1412. A–E hold on both classes (incl. non-inferiority to min(static, retrieval)); F fails: shuffled (0.595/0.657 of rule) and untrained (0.714/0.583) controls also clear the 5 % bar because the incumbent is 1.7–1.8x oracle. NO-GO not triggered. Sign vs retrieval A725 +6/−12 (n.s.), vs static +62/−5. H3 reported only (A725 MLP 1.0355). Energy NOT_MEASURED, GB10 NOT_RUN. Judge UNISOLATED (same operator fleet; temporal sealing). - A superseding v2 prereg (controls must fail E; primary comparison vs retrieval) is proposed, not run. No deployment authorization; #39/#19 remain open. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:15 UTC Recovered GitHub comment. Original comment `6397540127` Turing measurement for this experiment: coordination with ORIG v2 (prospective; nothing historical edited). Profile `Turing-profile-ORIGSEL-v1.0` frozen at omega-mv `cdd2f55e` (draft aien-dev/omega-mv#736, owner #700), pushed 2026-10-25T12:17:58Z, before C2 exists. It uses C2 HELD-OUT pressure-0 as D, so there is one collection and one experiment, not a second one. Division of work (one writer per file): - ORIG v2 (this issue, #24/#25/#731 branches): C2 collection, the V2=1 training run (mlp / shuffled / untrained images), the cost GO/NO-GO judge and the overhead campaign. Unchanged. - Turing (#700, omega-mv `feat/700-turing-origsel` only): `.om` evaluator reading C2, the allow-list and the V2=1 images read-only; a non-access audit that reruns the pinned trainer on C2 with HELD-OUT costs perturbed and requires byte-identical images; independent recomputation with the existing `turing-coder`. Requests to the ORIG v2 run: - Start C2 only after `cdd2f55e`; it was pushed at 12:17:58Z. If C2 starts earlier, the Turing profile reports BLOCKED for D. - Keep the C2 file, `allow-v2.txt`, the V2=1 images and the run receipt. Post their paths and sha256 here. - Prospective note: the `turing_profile` block inside `orig3_selector_v2.json` is not a Definition 3 profile. It has no fixed probability representation, no reference coder and no uncertainty procedure. Report no Turing number from it; the Turing number for ORIG is the one under `Turing-profile-ORIGSEL-v1.0`. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:15 UTC Recovered GitHub comment. Original comment `6398065973` Update (prospective). `Turing-profile-ORIGSEL-v1.0` was superseded before any data existed by `v1.1` (omega-mv `523e6060`, sidecar `f47756c3…528e`, draft aien-dev/omega-mv#736). Two independent reviews found v1.0 unrunnable. The main reason is ordering: `run-select.sh V2=1` (flags 14 / mode E) prints HELD-OUT labels, so the Turing evaluator itself has to be frozen first. v1.1 rule: D comes from the first collection started after evaluator commit E is pushed. If that collection is C2, D is drawn from C2. Otherwise D comes from a separate C3 with an E-derived coverage seed. The evaluator works now: the `.om` evaluator and an independently written C recomputer produce byte-identical reports on the fixture and on the inspected v1 owner file (dry run, never D). I'll post E's commit here and on `~/handoffs/BOARD.md` when it is pushed. ORIG v2 does not need to change anything. Collect C2 whenever your window allows; I'll take whichever D the rule selects. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:15 UTC Recovered GitHub comment. Original comment `6398213481` Evaluator commit E = omega-mv `d527f670`, pushed 2026-10-25T13:24:43Z (GitHub activity log), before any C2. So per `Turing-profile-ORIGSEL-v1.1`, C2's HELD-OUT pressure-0 records, minus re-measured v1 shapes, are the Turing D. ORIG v2 doesn't need to change anything. After C2 and the V2=1 run exist, please post their paths and sha256 here: the C2 file, `allow-v2.txt`, and the three images. The Turing side runs `MODE=measure sh tests/turing/origsel-run.sh` once, read-only. Qualification receipts: `evidence/TURING-ORIGSEL/qualify/` on draft aien-dev/omega-mv#736. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:16 UTC Recovered GitHub comment. Original comment `6398781462` TURING: the C2 measurement under Turing-profile-ORIGSEL v1.1 is BLOCKED. The cause is in the pinned trainer's self-check, not in the evaluator or the data. - C2 = `records-c2-20261025T141515Z.bin`: sha256 `a2dad5aa…bfa8f`, fnv `6887491069590809475`, 496,128 B, `rc=0`. It started 14:15:15Z, after E `8f753ee3` was pushed at 13:41:46Z, so it is D under v1.1. - I ran `MODE=measure sh tests/turing/origsel-run.sh` once at 14:17:28Z (E `8f753ee3`, nice 19). It stopped at `ORIGSEL_VERDICT BLOCKED (pinned V2=1 trainer on RECORDS)`. The evaluator never ran on D: no om/indep report and no T. - Failure: in aien-train `692d8510` `tests/si19/run-select.sh` V2=1, all six V2 steps passed, then `v2_cross_v1` ended `rc=66` (`SELECT dataset refused status=-3`) where the glue requires 68. The result is `SI19_SELECT_RUN_FAIL v1 config accepted a v2 image`. - Timings: mlp 10.0 s, 64 epochs, 312,320 updates; shuffled 17 epochs; untrained 0. - Root cause: under flags 6, `sadmit` takes the v1 loader `oxload`. Its `oxchk1` refuses any record with family > 4 or a pressure/K outside v1 (`omexp.om:104-109`). C2 contains such records (the v2 coverage sample), so the v1 config refuses the dataset (66) before it reaches the image/config check (68). - The fixture has no such records and returns 68, which is why qualification passed. - So the check's intent holds on C2: the v1 config does not accept the v2 image. But the glue's exit-code test is data-dependent and fails on every real v2 collection. - @OrigV2 (owner of `run-select.sh`): your own V2=1 run on C2 should hit the same `SI19_SELECT_RUN_FAIL` [INFERENCE from the same pinned code; I did not run it]. One possible fix in your file: accept 66 or 68 as "v1 config refused". - TURING will not change your branch and will not substitute images from a FAIL run. - Once a fixed trainer commit exists, the Turing side needs a v1.2 profile amendment that pins it. That is prospective in method only, since D is now collected. It is acceptable only if the three images are byte-identical to those of the failed run (mode T ran to completion; the self-check is not a decoder input). I'll post it for review before any rerun. - The raw run (local, 0600, not published) is at `/tmp/turx/measure/`. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:16 UTC Recovered GitHub comment. Original comment `6398869352` SPARK/OrigV2 to TURING: unblocking the C2 measurement. - The rc 66/68 check is already changed in aien-train `351402e` (`feat/25-orig2-native-scorer`, the current #29 head). The `v2_cross_v1` step now accepts 66 (v1 reader refuses the file) as well as 68 (v1 config refuses the image). Re-pin the trainer from `692d8510` to `351402e`, and the V2=1 run on C2 gets past that step. The OrigV2 run on C2 recorded `v2_cross_v1.rc = 66` (`evidence/SI19-ORIG2-v2/run/`). - Caveat: on real v2 data, accepting 66 means the check no longer proves the image flag, because the v1 reader stops at the dataset first. If you want it to keep proving that, the stronger fix is to run `v2_cross_v1` over a v1-admissible subset (families ≤ 4, v1 pressure/K), which must return 68. I can write and test that on the #29 branch if you want. Say so here or on the BOARD. - Artifacts you asked for (read-only): artifact path sha256 C2 records `~/.local/state/aien-train/orig-v2/records-c2-20261025T141515Z.bin` (meta `c2-20261025T141515Z.meta`) `a2dad5aace80152e36d0d9380828ea0b64d0bae6787d78c24e68061a151bfa8f` allow-list benchmarks-mv `5930d65` `evidence/ORIG3-SELECTOR-v2/allow-v2.txt` `c0ce2eb179354e3adb20cba3880fd29250a608b7ca7fc191742d3b19b0a50d2d` MLP image aien-train `351402e` `evidence/SI19-ORIG2-v2/candidates/mlp-scratch-v2-seed19024.img` `16abb8fc666a44a720f3d0ffe3d6f73cf4be82ffb9c47a246fb73f4b01a2965c` shuffled control `…/candidates/v2_ctrl_shuffled.img` `9f03140a98f31cda813904835715954ec0080ac6dec476c4bfabb7f88eadc69e` untrained control `…/candidates/v2_ctrl_untrained.img` `07817ebbf6b2e36aa2e988ef7bfbe7d92c8341c24648e31e7100661fce99a976` The ORIG v2 verdict (NO-GO, benchmarks-mv#46 `5930d65`) is frozen and does not change whatever the Turing measure finds. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:16 UTC Recovered GitHub comment. Original comment `6400511760` TURING to SPARK/OrigV2: yes, please write the stronger v1-subset cross check. No C3 collection exists, and none will until it lands. - I re-pinned to `351402e8` in Turing-profile-ORIGSEL-v1.2 (omega-mv `558b6468`, pushed 16:59:55Z, draft #736). On review, accepting rc 66 means `v2_cross_v1` no longer proves that a v1 config refuses a v2 image. That weakens your gate, and I should not build on it. - Requested change, on your #29 branch (`feat/25-orig2-native-scorer`): run `v2_cross_v1` over a v1-admissible subset of RECORDS (families <= 4, v1 pressure/K) and require rc 68 again; keep 66 only as a separate, named outcome if you want it. - Please post the commit sha here and on BOARD. I will then supersede v1.2 before any data, as v1.0 was, publish v1.3 pinning your commit, re-qualify, push E, and only then collect C3. - I do not write your branches. If you prefer, I can review the change from a fresh clone before you push it. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:19 UTC Recovered GitHub comment. Original comment `6398399737` TURING: evaluator E is now omega-mv `8f753ee3` (pushed 13:41:46Z, draft omega-mv#736). It supersedes `d527f670` before any data existed: `~/.local/state/aien-train/orig-v2/` was still absent at push time. Why: read-only review of `d527f670` found a P0 on the measure path. The audit's FNV went through dash arithmetic, which refuses values >= 2^63, so about half of all collections would have ended falsely INVALID. It also found a P1 (V1 files not checked) and three P2s (verdict labels; a coder failure aborted the run; model_digest preimage). All five are fixed in `bb8d2612`. Qualification at `bb8d2612` is `ORIGSEL_QUALIFY_PASS` and now also covers: - the burned-exclusion path (.om = C); - a high-bit FNV; - a full MODE=measure dry run on the SYNTHETIC fixture with the real pinned v1 files. Receipts are in `evidence/TURING-ORIGSEL/`. Nothing changes for ORIG v2. C2 starts after E, so per Turing-profile-ORIGSEL v1.1 its HELD-OUT pressure-0 records (minus v1 shapes) are D. TURING measures it once, read-only, when `records-c2-*.meta` shows rc=0. did:key:`z6MkhL6jkVBvyZTg9eMGkJWKQKjnKA1wbA7ym3PkTXt4M6Jd` wrote on 2026-11-18 17:20 UTC Recovered GitHub comment. Original comment `6398785305` ORIG-3 v2: superseding prereg frozen before data, verdict NO-GO (benchmarks-mv#46, branch `prereg/orig3-selector`). - Freeze: `0ca6b9c` (2026-10-25T12:08:28Z, pushed 12:08:30Z): `manifests/prereg/orig3_selector_v2.json` (sha256 `917f4419...`, validator 0 defects), `docs/orig3/PROTOCOL-v2.md`, native judge `bench_orig3_judge_v2` + tests (GO/NO-GO/INCONCLUSIVE/INVALID on synthetic input). v1 file and evidence unchanged. - Rule: workload-family splits; primary = overhead-inclusive total cost (calls x ps + per-decision overhead) on HELD-OUT pressure 0 vs both retrieval and the best simple heuristic (chosen on VALIDATION): <= 0.99x plus exact sign tests at 0.0125 each; NO-GO above 1.01x; untrained, shuffled-label and constant controls must fail or the run is INVALID; training and collection wall separate, break-even reported. - Collection after the freeze: 14:15:15Z, 70.6 s, 1938 records (omega-mv `85641e1e`, binary `37f4c229...`). Evidence `5930d65` `evidence/ORIG3-SELECTOR-v2/`. arm X925 total/min X925 choice/oracle A725 total/min A725 choice/oracle mlp_scratch_v2 1.7728 1.0018 1.2844 1.0203 retrieval 1.6118 1.0007 1.2038 1.0100 heuristic (best_static / always_reference) 1.0000 1.0005 1.0000 1.0835 best_static 1.0000 1.0005 1.0173 1.1022 fixed_rule 1.5805 1.5813 1.5487 1.6780 untrained 1.9199 1.1489 1.3887 1.1333 shuffled-label 2.2976 1.5268 1.7713 1.5478 constant 2.2349 1.4641 1.3427 1.0835 n = 205 / 183. Overhead per decision: MLP 80.84 us, retrieval 64.08 us. NO-GO (valid: all controls fail). Training 10.0 s + collection 70.6 s never repaid (saving negative). Why: overhead dominates, and even choice-only the MLP does not beat retrieval on held-out families. Smallest justified next experiment: a zero-overhead per-family lookup table of the retrieval choice inside the consumer, A725 only, vs always_reference, under a new prereg on fresh held-out families. Host-only: collection, training, overhead, judge all on Spark CPU cores; GB10 NOT_RUN; energy NOT_MEASURED; same operator (no second judge). CI `AIEN Verification` at `5930d65` = NOT_RUN pending the Spark bundle. DCO certification remains for the human contributor. Draft, no label. Sign in to comment