interplane.Get Omega
Read in your language

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

branch main Branches Tags History

benchmarks-mv / evidence / inference-cost-qwen36-20261111-full / README.md

255 lines · 16771 bytes Raw Blame History Rendered
1# Inference cost scoreboard: qwen3.6-35b-a3b-fp8, three complete runs, 2026-11-11
2
3Records of three complete real-model runs (full1, full2, full3) of the omega-mv inference-cost
4benchmark (tokens per verified program, Omega vs C vs Python vs Rust, 20 held-out tasks, two arms),
5made one after another by the hopbrain Scoreboard lane on the DGX Spark (Linux AArch64) against the
6local endpoint. Host evidence only: this work opened no GPU itself and nothing here qualifies
7hardware. The interrupted run 1 filed in `../inference-cost-qwen36-20261111/` is not one of the
8three and is not used here.
9
10## Verdict
11
12- **Three runs COMPLETE.** Each driver exited 0, wrote a `finished` line and scored 8 groups of
13 20 tasks (`full*/checks.txt`, `full*/run.txt`, `full*/summary.txt`). A read-only check of the
14 three run directories against the pinned source gave 151 ok rows and 0 FAIL rows
15 (`verify/verify-runs.log`, section "Completeness check" below). Nothing was rerun.
16- **Omega is the gap.** In every run Python and Rust verified 20 of 20 tasks and C 19 of 20, while
17 Omega verified between 8 and 12 of 20 (table "Verified tasks per run").
18- **Handover: no decision.** `handover.om` was run on these records only to exercise its reader
19 on real data (section "Handover reader exercise"). Its YES and NO lines there decide nothing.
20- **Frontier line: NOT_RUN.** No authorized frontier endpoint exists and no money may be spent.
21 What a frontier endpoint needs to be measured by this same driver: an OpenAI-compatible
22 `POST <endpoint>/v1/chat/completions` that accepts `"stream":false`, `max_tokens` and
23 `temperature`, returns HTTP 200 with `choices[0].message.content` and a `usage` object carrying
24 `prompt_tokens`, `completion_tokens` and `total_tokens`, and is explicitly authorized for this
25 benchmark. Without `usage` the driver reports NOT_RUN and never estimates tokens.
26
27## What was run
28
29Source: omega-mv `15760b5009f00485ce51669c84d0126ed19fa479` (Radicle `rad:z6do9WDBhuSnvopDkgFdFr1yWA62`), a clean clone.
30Compiler `seed/out/omc` sha256 `a5613368f427aacd73ebeee16d46f8b3203405711d4de5b860d0cbee11ce4533` (equal to `seed/out/omc.sha256` and to `omc_sha256` in
31every `run.txt`). `bench/inference_cost/driver.sh` sha256 `219e156eb083aa70eb3ab7027d289b8df34c955c7cf469414b91264e187965e6`. Task set sha256 `e14b430d58d9cb86aa264deb814ac930e1d5dae1c146ddd43af4067d707472d6`
32(`task_set_sha256` in every `run.txt`; `sh bench/inference_cost/driver.sh --task-set-sha256` at
33that commit prints the same digest). Memory ceiling of every sandboxed compile and run:
34`memory_max_bytes 536870912`.
35
36Each run, from the clone, one after the other (the next started after the previous finished):
37
38 nice -n 19 sh bench/inference_cost/driver.sh --run-model --endpoint http://127.0.0.1:18091 \
39 --model qwen3.6-35b-a3b-fp8 --langs om,c,py,rs --arms plain,feedback --attempts 3 \
40 --out <fresh directory> # rc 0, three times
41
42Defaults in force: temperature 0.2, max_tokens 4096, `BENCH_BUSY_WAIT_S` 1800, `BENCH_BUSY_SLEEP_S` 2. Requests were
43sent one at a time. Before each run and after every 20 answered calls a monitor required `/health`
44HTTP 200 and at least 16 GiB of MemAvailable, or it would have stopped the run; every such line
45passed (`full*/checks.txt`). The server was never restarted, signalled or reconfigured by this work.
46
47Model id the endpoint reported: `qwen3.6-35b-a3b-fp8` on every answered call of every run (`full*/calls.txt`,
48column 6; `models_reported` in `run.txt`).
49
50| run | directory on the Spark | started | finished | attempts | calls answered HTTP 200 | memory ceiling kills |
51|---|---|---|---|---|---|---|
52| full1 | `runs/full1-20261111T190330Z` | 2026-11-11T19:03:30Z | 2026-11-11T20:16:25Z | 215 | 215 | 0 |
53| full2 | `runs/full2-20261111T201656Z` | 2026-11-11T20:16:56Z | 2026-11-11T21:23:11Z | 210 | 210 | 0 |
54| full3 | `runs/full3-20261111T212341Z` | 2026-11-11T21:23:41Z | 2026-11-11T22:38:50Z | 210 | 210 | 0 |
55
56## Verified tasks per run
57
58Verified tasks out of 20, with the scorer's own `tokens_per_verified` in brackets. Copied from
59`full*/summary.txt`; no figure here is computed across runs.
60
61| lang | arm | full1 | full2 | full3 |
62|---|---|---|---|---|
63| om | plain | 11/20 (3000.363) | 9/20 (3400.333) | 9/20 (3497.888) |
64| om | feedback | 8/20 (5173.500) | 11/20 (3255.090) | 12/20 (2878.250) |
65| c | plain | 19/20 (427.105) | 19/20 (422.368) | 19/20 (425.315) |
66| c | feedback | 19/20 (442.578) | 19/20 (452.157) | 19/20 (716.263) |
67| py | plain | 20/20 (336.400) | 20/20 (360.950) | 20/20 (330.750) |
68| py | feedback | 20/20 (332.150) | 20/20 (344.050) | 20/20 (335.450) |
69| rs | plain | 20/20 (273.700) | 20/20 (253.800) | 20/20 (258.100) |
70| rs | feedback | 20/20 (288.400) | 20/20 (289.200) | 20/20 (258.550) |
71
72MEASURED on three runs at temperature 0.2. Token counts are the endpoint's `usage`, never estimates.
73The group status FAIL means only that the group did not verify every one of its 20 tasks.
74
75## Per-run tables
76
77Printed by the lane's `status-table.sh` from the files in each directory here (the sha256 lines are
78those of `summary.txt`, `attempts.txt` and `run.txt`, equal to the ones announced on the Spark when
79each run finished).
80
81### full1
82
83 model_requested qwen3.6-35b-a3b-fp8
84 omc_sha256 a5613368f427aacd73ebeee16d46f8b3203405711d4de5b860d0cbee11ce4533
85 task_set_sha256 e14b430d58d9cb86aa264deb814ac930e1d5dae1c146ddd43af4067d707472d6
86 started 2026-11-11T19:03:30Z
87 models_reported qwen3.6-35b-a3b-fp8
88 finished 2026-11-11T20:16:25Z
89
90| lang | arm | verified/attempted tasks | attempts | first-attempt verified | total tokens | tokens per verified program | status |
91|---|---|---|---|---|---|---|---|
92| om | plain | 11/20 | 41 | 9 | 33004 | 3000.363 | FAIL |
93| om | feedback | 8/20 | 47 | 6 | 41388 | 5173.500 | FAIL |
94| c | plain | 19/20 | 23 | 18 | 8115 | 427.105 | FAIL |
95| c | feedback | 19/20 | 22 | 19 | 8409 | 442.578 | FAIL |
96| py | plain | 20/20 | 20 | 20 | 6728 | 336.400 | PASS |
97| py | feedback | 20/20 | 20 | 20 | 6643 | 332.150 | PASS |
98| rs | plain | 20/20 | 21 | 19 | 5474 | 273.700 | PASS |
99| rs | feedback | 20/20 | 21 | 19 | 5768 | 288.400 | PASS |
100
101busy: 11 attempts waited on 503, 1862757 ms total
102
103 361f92a06bee63bbd644ebdfaa9f3d0829d862ce64211c1d1a8ede4f73f7387d summary.txt
104 bc385875ced8a9d0a21b93a9aed7da646ff281df5addba3663be3886ecd24d78 attempts.txt
105 437fa0c3c9829826988ea055a930c6204738120b6b7e765fb9dabedf9d0c70db run.txt
106
107### full2
108
109 model_requested qwen3.6-35b-a3b-fp8
110 omc_sha256 a5613368f427aacd73ebeee16d46f8b3203405711d4de5b860d0cbee11ce4533
111 task_set_sha256 e14b430d58d9cb86aa264deb814ac930e1d5dae1c146ddd43af4067d707472d6
112 started 2026-11-11T20:16:56Z
113 models_reported qwen3.6-35b-a3b-fp8
114 finished 2026-11-11T21:23:11Z
115
116| lang | arm | verified/attempted tasks | attempts | first-attempt verified | total tokens | tokens per verified program | status |
117|---|---|---|---|---|---|---|---|
118| om | plain | 9/20 | 42 | 9 | 30603 | 3400.333 | FAIL |
119| om | feedback | 11/20 | 41 | 9 | 35806 | 3255.090 | FAIL |
120| c | plain | 19/20 | 23 | 18 | 8025 | 422.368 | FAIL |
121| c | feedback | 19/20 | 22 | 19 | 8591 | 452.157 | FAIL |
122| py | plain | 20/20 | 21 | 19 | 7219 | 360.950 | PASS |
123| py | feedback | 20/20 | 20 | 20 | 6881 | 344.050 | PASS |
124| rs | plain | 20/20 | 20 | 20 | 5076 | 253.800 | PASS |
125| rs | feedback | 20/20 | 21 | 19 | 5784 | 289.200 | PASS |
126
127busy: 8 attempts waited on 503, 1724871 ms total
128
129 78411a114ef79bf2f10d5d106501fe4bf938bbcf7f2f04b9fc7bf2332b60af0c summary.txt
130 2b752fd48291e0a826269e34ce63d5dd7abd242f12eaf413d54a5df0942db6ac attempts.txt
131 be3073a645f4ef3c08b1cfec00f5ffe317b92f42ae0f5dea65806b9639838fbd run.txt
132
133### full3
134
135 model_requested qwen3.6-35b-a3b-fp8
136 omc_sha256 a5613368f427aacd73ebeee16d46f8b3203405711d4de5b860d0cbee11ce4533
137 task_set_sha256 e14b430d58d9cb86aa264deb814ac930e1d5dae1c146ddd43af4067d707472d6
138 started 2026-11-11T21:23:41Z
139 models_reported qwen3.6-35b-a3b-fp8
140 finished 2026-11-11T22:38:50Z
141
142| lang | arm | verified/attempted tasks | attempts | first-attempt verified | total tokens | tokens per verified program | status |
143|---|---|---|---|---|---|---|---|
144| om | plain | 9/20 | 43 | 8 | 31481 | 3497.888 | FAIL |
145| om | feedback | 12/20 | 40 | 8 | 34539 | 2878.250 | FAIL |
146| c | plain | 19/20 | 23 | 18 | 8081 | 425.315 | FAIL |
147| c | feedback | 19/20 | 24 | 18 | 13609 | 716.263 | FAIL |
148| py | plain | 20/20 | 20 | 20 | 6615 | 330.750 | PASS |
149| py | feedback | 20/20 | 20 | 20 | 6709 | 335.450 | PASS |
150| rs | plain | 20/20 | 20 | 20 | 5162 | 258.100 | PASS |
151| rs | feedback | 20/20 | 20 | 20 | 5171 | 258.550 | PASS |
152
153busy: 9 attempts waited on 503, 2229390 ms total
154
155 3b8da158983f8924afaa925bcaf269599f71a7f75c144191c23be171a15225f0 summary.txt
156 19758b395df0af58546724ece159735d91f25b36a35b33e0f35870d9f026e59c attempts.txt
157 fe589d83dcb7fa2de6167c56e34c6f2d96dc22e3ff1de8205e488993366f2adc run.txt
158
159## Completeness check
160
161`verify/verify-runs.log` is the output of a read-only check script run on 2026-11-13 against the
162three run directories. It sent nothing to the endpoint and reran nothing. Per run it requires: the
163status file COMPLETE and driver rc 0; a `finished` line and no NOT_RUN or interrupted marker; the
164task-set digest equal to the one recomputed from the pinned source; the compiler digest equal to the
165pinned omc; `attempts.txt` holding exactly the rows it declares; `calls.txt`, `busy.txt` and
166`memory.txt` holding the same attempt keys in the same order; 8 groups of 20 distinct tasks;
167every call answered HTTP 200 by `qwen3.6-35b-a3b-fp8`; and `summary.txt` equal, byte for byte, to what the
168pinned `scorer.om` (built with the pinned omc) writes when it reads `attempts.txt` again. It also
169requires the three record digests to be the ones announced when the run finished, and each run to
170have started after the previous one finished.
171
172Result: 151 ok rows, 0 FAIL rows, last line `VERIFY-RUNS PASS failing_rows=0 controls_misbehaving=0`.
173The same checks were run on copies of full2's six record files as controls: the unchanged copy gave
1740 failing rows, and each of six changed copies (last attempt row removed, task-set digest changed,
175`finished` line removed, one attempt field changed, an `interrupted` line added, one call row
176removed) gave at least one failing row, with exactly one file differing from the source.
177
178## Handover reader exercise (not a handover decision)
179
180`bench/inference_cost/handover.om` (sha256 `b5408dbbfd6e27b586d7cd7c5ef7ab597e9c130835b95afcd69b21eb229c985f` at the commit above) was built as its README
181says with the pinned omc (binary sha256 `741cb1cd54ae3e3904d749b142eaa09a9642fbf88f9b7540e15699f5af74ff8c`), and its own test (`tests/handover/run.sh`, known
182verdicts on TEST DATA and 5 mutants) was run first: `HANDOVER-TEST PASS cases ok, 5 mutants killed`
183(`handover/pinned-test-handover.log`). Then, for each of the 8 jobs, with an empty permanent-case
184list (`handover/commands.txt`):
185
186 handover LANG ARM <empty permanent-case list> full1 full1 full2 full3
187
188that is, incumbent run full1 and candidate runs full1, full2 and full3.
189
190**This is a reader exercise, not a handover decision.** All four run arguments are the same model,
191`qwen3.6-35b-a3b-fp8`, and the incumbent run is itself one of the candidate runs. The lines below show only that
192the reader accepts real run records and how the rule reads them. No job was handed to any model.
193
194| job | exit | first line | rule 3 line |
195|---|---|---|---|
196| om plain | 1 | `HANDOVER NO` | `rule3 verified FAIL job om plain incumbent 11 candidate_min 9 at_least 1 of 3` |
197| om feedback | 0 | `HANDOVER YES` | `rule3 verified PASS job om feedback incumbent 8 candidate_min 8 at_least 3 of 3` |
198| c plain | 0 | `HANDOVER YES` | `rule3 verified PASS job c plain incumbent 19 candidate_min 19 at_least 3 of 3` |
199| c feedback | 0 | `HANDOVER YES` | `rule3 verified PASS job c feedback incumbent 19 candidate_min 19 at_least 3 of 3` |
200| py plain | 0 | `HANDOVER YES` | `rule3 verified PASS job py plain incumbent 20 candidate_min 20 at_least 3 of 3` |
201| py feedback | 0 | `HANDOVER YES` | `rule3 verified PASS job py feedback incumbent 20 candidate_min 20 at_least 3 of 3` |
202| rs plain | 0 | `HANDOVER YES` | `rule3 verified PASS job rs plain incumbent 20 candidate_min 20 at_least 3 of 3` |
203| rs feedback | 0 | `HANDOVER YES` | `rule3 verified PASS job rs feedback incumbent 20 candidate_min 20 at_least 3 of 3` |
204
205Every job printed rule lines 1 to 5 and 9 input digests, and every printed digest equals
206`sha256sum` of the file it names (`verify/handover-exercise.log`). In the `.out` files the run
207paths are written `runs/<directory>`; the digests are those of the files on the Spark, which are the
208`run.txt` and `attempts.txt` copied here.
209
210Two things this exercise showed about the rule, recorded as observations, not as findings acted on:
211
212- Rule 2 counts distinct directories and start times among the candidate runs only. The incumbent
213 run named again as a candidate was not refused (`rule2 evidence PASS candidate_runs 3 distinct_dirs 3 distinct_starts 3 need 3`), and in the control
214 below, where the four run arguments are four different directories, the line reads
215 `rule2 evidence FAIL candidate_runs 3 distinct_dirs 3 distinct_starts 2 need 3`. The lane's handoff note had expected REFUSED for the exercise.
216- For `om plain` the same model compared with its own first run got `HANDOVER NO`: the incumbent
217 run verified 11 tasks and the lowest candidate run 9. At temperature 0.2 the run-to-run spread
218 of one model is larger than zero, and rule 3 ("not worse in every candidate run") reads it as worse.
219
220Controls for the exercise: an unknown language exits 3 with nothing on stdout, and the same reader
221given a copy of full3's two record files with a changed task-set digest as third candidate answers
222`HANDOVER REFUSED`, exit 2 (`handover/control-changed-task-set.out`).
223
224## Files
225
226| path | what |
227|---|---|
228| `RUNS.map` | run directory name on the Spark and its short name here |
229| `full*/run.txt` | the driver's run header: endpoint, model requested and reported, options, omc and task-set sha256, memory ceiling, start and finish |
230| `full*/attempts.txt`, `full*/summary.txt` | the attempt wire (version 2) and the scorer's summary of it |
231| `full*/calls.txt` | one line per answered HTTP call, as the driver wrote it |
232| `full*/busy.txt` | per attempt: HTTP 503 answers before it was served and the ms waited |
233| `full*/memory.txt` | per attempt: peak bytes of the compile and of the run inside the memory ceiling, and whether the ceiling killed it |
234| `full*/MANIFEST.sha256` | sha256 of every file of the raw run directory (requests, responses, candidates, compiler and run output), which stays on the Spark; candidates and model replies are not copied here |
235| `full*/driver-stdout.txt`, `full*/checks.txt` | the driver's output; its exit status, the run status and every `/health` and MemAvailable check line |
236| `gates/` | `--check-tasks`, `make test-inference-cost`, `verify-test` and landing-gate logs from the fresh clone on which the driver commit above was landed; the clone directory is written `$CLONE` |
237| `handover/` | the reader exercise: commands, one `.out` per job (output, then `rc <exit>`), the changed-task-set control and the reader's own test log |
238| `verify/` | the completeness check log and the reader-exercise log |
239| `SHA256SUMS` | sha256 of every other file in this directory |
240
241The raw logs on the Spark have these sha256 (before paths were replaced by `runs/`, `$CLONE`
242and the like):
243
244 9428d227a39dee71d79cbae3b798fab0ee078f475df6047d41be87a1d79effe7 verify-runs.log
245 bc27ae50979068b66b8e73252e605b31135c793506d16315f2787b3c8f604c62 handover-exercise.log
246 5e2b13a4d88c6d595d752c4d7c7787635b24e14222d8e15aa628d3fd0e81401b handover/pinned-test-handover.log
247 ce115cb4c52665ee03202a0211643b97c0e283c9a586e9e43d5b130b14835dd1 handover/control-taskset.out
248 ca13665da3b4b3366d257ab11e3d27e1d64b0ac18674135663cc4ba9aafe91cf handover/om-plain.out
249 cb2af272449edd854213b2661318cb781418d5fd4d54a26733fbb852651b5165 handover/om-feedback.out
250 d7418325c33dd3f922ca068c769e039fac60dea4a9fcd4a128f62f9950099114 handover/c-plain.out
251 05f9c97d5def611ac7b10363bc70583e91d26cdfce4fab3a284096325e83f7da handover/c-feedback.out
252 942fa52abf68abe9dbf3b9c2f2c591ac93c8f29abcc2e3b5b386bc91ed915264 handover/py-plain.out
253 6dd29dc8c60edbbe80387997447b77634cea9f330076f2e18109980c1c543193 handover/py-feedback.out
254 4175b001ce0fc34776a2b2060d9da71948bba1e3dcac1e8c70e91e179b9569a4 handover/rs-plain.out
255 b9641bbdf059c01d97c4f204f20e55bd52fef4abd18242856b8fd106bfe3728c handover/rs-feedback.out