omega-mv
Omega: a language for verified programs, semantic identity and machine realization. Seed-born work and existing implementations have distinct provenance.
Brought by drakestapleton
omega-mv / tests / dgraph_receipt / fixtures / neg-commit-short.json
| 1 | { |
| 2 | "schema": "omega-decode-graph-receipt/1", |
| 3 | "status": "HISTORICAL", |
| 4 | "status_note": "reproduced from an existing evidence run (evidence/OWN30B-REQUAL-MAIN-710d438c-20261015/gates/decode_graph, started 2026-10-15T00:55:40Z) by tools/dgraph_receipt.c; the chip was not run to make this receipt", |
| 5 | "run_verdict": "PASS", |
| 6 | "source": { |
| 7 | "repo": "aien-spark/omega", |
| 8 | "commit": "710d438c", |
| 9 | "dirty": false, |
| 10 | "dirty_basis": "device.txt dirty=0 (git status --porcelain line count at run start)", |
| 11 | "branch": "HEAD", |
| 12 | "physics_commit": "6d7cf0d4d8eb2cda7b512100ff6058e25dbb3ddf" |
| 13 | }, |
| 14 | "run": { |
| 15 | "started_utc": "2026-10-15T00:55:40Z", |
| 16 | "ended_utc": "2026-10-15T00:55:42Z", |
| 17 | "runner_mode": "main", |
| 18 | "test_checks": "13 checks, 0 failed" |
| 19 | }, |
| 20 | "workload": { |
| 21 | "model": "synthetic Qwen3-30B-A3B-shaped decode step, random weights", |
| 22 | "precision": "FP8 e4m3 weights (qkv, o, gate_up, down), BF16 lm_head, f32 activations", |
| 23 | "mode": "decode, one token per command list (omega_gpu_decode_graph_token), batch 1", |
| 24 | "tokens": 20, |
| 25 | "tokens_note": "20 timed graph tokens (the test's --reps), every one the same step at position 300; plus one stamped token", |
| 26 | "layers": 2, |
| 27 | "vocab": 151936, |
| 28 | "pos": 300, |
| 29 | "cached_weights": false, |
| 30 | "prefetch": false, |
| 31 | "red_mutant": false, |
| 32 | "barrier": "0 (wfi+inval_all)", |
| 33 | "fp8_variant": 1 |
| 34 | }, |
| 35 | "hardware": { |
| 36 | "host": "spark-b87b", |
| 37 | "kernel": "7.0.0-1019-nvidia", |
| 38 | "gpu": "NVIDIA GB10", |
| 39 | "driver": "580.173.02", |
| 40 | "basis": "device.txt: uname -a and nvidia-smi --query-gpu=name,driver_version at run start" |
| 41 | }, |
| 42 | "build": { |
| 43 | "runner": "tools/run_gpu_decode_graph_chip.sh EVIDENCE_DIR main", |
| 44 | "binary_sha256": "4a8a7aa373b9c04ae3f4343a2f45738a57662ad79609f6af99b64f8173028eec", |
| 45 | "library_sha256": "6a6cb4df479ddbcc5cd4ef0fda1aea968832b2b70be2ff3312051c3e9921aad5", |
| 46 | "compile_command_note": "evidence/OWN30B-REQUAL-MAIN-710d438c-20261015/gates/decode_graph/build.log (0 bytes) holds no compile line for build/gpu_decode_graph_test: make did not rebuild it in this run, so the flags are not recorded; the binary is identified by binary_sha256" |
| 47 | }, |
| 48 | "per_token": { |
| 49 | "statistic": "median over 20 tokens (sorted value at index n/2), each field's median taken on its own, so derived differences are differences of medians", |
| 50 | "tokens": 20, |
| 51 | "graph": { |
| 52 | "launches": 22, |
| 53 | "submits": 1, |
| 54 | "total_ns": 3978675, |
| 55 | "chip_ns": 3975395, |
| 56 | "record_ns": 2464, |
| 57 | "host_overhead_ns": 3280, |
| 58 | "sems_done": null, |
| 59 | "sems_done_note": "not written by gpu_decode_graph_test; submit_now() in omega_gpu_decode_graph.c fails the token when sems_done != launches, so a PASS run implies sems_done == launches for every timed token (inferred, not a recorded value)" |
| 60 | }, |
| 61 | "flush_each": { |
| 62 | "launches": 22, |
| 63 | "submits": 22, |
| 64 | "total_ns": 5337477, |
| 65 | "chip_ns": 5326613, |
| 66 | "host_overhead_ns": 10864, |
| 67 | "sems_done": null, |
| 68 | "sems_done_note": "as for graph: not recorded, implied by the PASS verdict", |
| 69 | "identical_to_graph": true, |
| 70 | "note": "the same recorded list submitted one launch per submission (TEST ONLY set_flush_each): the batching comparison inside the same run" |
| 71 | } |
| 72 | }, |
| 73 | "stamped_token": { |
| 74 | "launches": 22, |
| 75 | "span_ns": 3989568, |
| 76 | "chip_ns": 4076853, |
| 77 | "unattributed_ns": 87285, |
| 78 | "stage_sum_ns": 3989568, |
| 79 | "note": "one extra token run with set_stamps(1): span_ns and stage times are device PTIMER differences; chip_ns is that token's host-clock submit span; unattributed_ns = chip_ns - span_ns (submit call, front-end start, completion marker and host poll)", |
| 80 | "stages": [ |
| 81 | { |
| 82 | "kind": "norm", |
| 83 | "launches": 1, |
| 84 | "device_ns": 15968 |
| 85 | }, |
| 86 | { |
| 87 | "kind": "qkv", |
| 88 | "launches": 2, |
| 89 | "device_ns": 167744 |
| 90 | }, |
| 91 | { |
| 92 | "kind": "attn", |
| 93 | "launches": 2, |
| 94 | "device_ns": 145440 |
| 95 | }, |
| 96 | { |
| 97 | "kind": "o_proj", |
| 98 | "launches": 2, |
| 99 | "device_ns": 121504 |
| 100 | }, |
| 101 | { |
| 102 | "kind": "res_add", |
| 103 | "launches": 2, |
| 104 | "device_ns": 10304 |
| 105 | }, |
| 106 | { |
| 107 | "kind": "router", |
| 108 | "launches": 2, |
| 109 | "device_ns": 72288 |
| 110 | }, |
| 111 | { |
| 112 | "kind": "gate_up", |
| 113 | "launches": 2, |
| 114 | "device_ns": 329184 |
| 115 | }, |
| 116 | { |
| 117 | "kind": "swiglu", |
| 118 | "launches": 2, |
| 119 | "device_ns": 6752 |
| 120 | }, |
| 121 | { |
| 122 | "kind": "down", |
| 123 | "launches": 2, |
| 124 | "device_ns": 172960 |
| 125 | }, |
| 126 | { |
| 127 | "kind": "combine_norm", |
| 128 | "launches": 2, |
| 129 | "device_ns": 19584 |
| 130 | }, |
| 131 | { |
| 132 | "kind": "lm_head", |
| 133 | "launches": 1, |
| 134 | "device_ns": 2912960 |
| 135 | }, |
| 136 | { |
| 137 | "kind": "argmax", |
| 138 | "launches": 2, |
| 139 | "device_ns": 14880 |
| 140 | } |
| 141 | ] |
| 142 | }, |
| 143 | "aggregate": { |
| 144 | "available": false, |
| 145 | "reason": "the input receipt carries per-token medians and one stamped token only, no per-token arrays or run totals, so no aggregate sums or percentiles are derived (adding them needs the test to write every token's stats)" |
| 146 | }, |
| 147 | "serial_vs_overlap": { |
| 148 | "chip_ns": "serial: the sum over the token's submissions of one host-clock span each (1 submission per graph token, 22 per flush_each token); spans never overlap each other", |
| 149 | "stages": "serial partition: barrier 0 (wfi+inval_all) puts a WAIT_FOR_IDLE before every stamp and prefetch is off, so launches run one after another and the stage times add up exactly to span_ns", |
| 150 | "overlap_measurable": false, |
| 151 | "reason": "every launch waits for the previous one (WFI) and the host records before it submits, so nothing overlaps to measure; device time inside the host span is span_ns, the rest is unattributed_ns" |
| 152 | }, |
| 153 | "methodology": { |
| 154 | "device_clock": "GPU PTIMER ns from compute-class REPORT_SEMAPHORE timestamps (omega_gpu_cmdlist.h: \"out[0] = GPU timestamp (ns, PTIMER) before launch 0, out[i + 1] = after launch i completed (taken after its WAIT_FOR_IDLE)\"); used only by stamped_token span_ns and stages", |
| 155 | "host_clock": "omega_gpu_session_now_ns(): the platform's time_now_ns, CLOCK_MONOTONIC on Linux (omega_gpu_platform_linux.c ref_now_ns); used by chip_ns, record_ns and total_ns", |
| 156 | "counters": { |
| 157 | "launches": "omega_gpu_decode_graph.h: \"launches recorded for the token\"", |
| 158 | "submits": "omega_gpu_decode_graph.h: \"submissions (1 normally; = launches with flush_each)\"", |
| 159 | "chip_ns": "omega_gpu_decode_graph.h: \"sum of the list submissions' first-submit-to-last-marker time\". HOST clock, not device time: omega_gpu_cmdlist_submit() reads time_now_ns just before queue_submit and again after both completion marker words were seen and synced, so it holds device execution plus submit, fetch and poll latency", |
| 160 | "record_ns": "omega_gpu_decode_graph.h: \"host: begin_token to the submit (recording)\"", |
| 161 | "total_ns": "omega_gpu_decode_graph.h: \"host: begin_token to end_token return\"", |
| 162 | "sems_done": "omega_gpu_decode_graph.h: \"launch semaphores found DONE\"", |
| 163 | "stamps": "omega_gpu_decode_graph.h: \"Launch i took stamps[i + 1] - stamps[i] ns\"; gpu_decode_graph_test sums them per kind (per_kind_ns)", |
| 164 | "host_overhead_ns": "derived: total_ns - chip_ns, both host clock: recording, attention counter check, output sync, token read and lock, everything outside the submit span" |
| 165 | }, |
| 166 | "source": "numbers copied from the stats file written by tests/gpu_decode_graph_test.c --out; settings from its log; identity from the runner's device.txt and binaries.sha256" |
| 167 | }, |
| 168 | "evidence": [ |
| 169 | "evidence/OWN30B-REQUAL-MAIN-710d438c-20261015/gates/decode_graph/receipt-main.json", |
| 170 | "evidence/OWN30B-REQUAL-MAIN-710d438c-20261015/gates/decode_graph/main.log", |
| 171 | "evidence/OWN30B-REQUAL-MAIN-710d438c-20261015/gates/decode_graph/device.txt", |
| 172 | "evidence/OWN30B-REQUAL-MAIN-710d438c-20261015/gates/decode_graph/binaries.sha256", |
| 173 | "evidence/OWN30B-REQUAL-MAIN-710d438c-20261015/gates/decode_graph/build.log", |
| 174 | "evidence/OWN30B-REQUAL-MAIN-710d438c-20261015/NOTES.md" |
| 175 | ], |
| 176 | "limitations": [ |
| 177 | "chip_ns is host-clock time around the device work; the only device-clock numbers are the stamped token's span_ns and stages", |
| 178 | "per-token values are independent medians of a synthetic step on random weights (Qwen3-30B-A3B shapes, not a checkpoint), one fixed position, the same token every rep; not a serving or end-to-end tokens-per-second figure", |
| 179 | "the stamped token is a single token: its stage times are one sample, not a distribution", |
| 180 | "sems_done, the command list's own host_ns (method-stream build) and the marker-wait part of chip_ns are not recorded per token", |
| 181 | "no aggregate totals or percentiles: the input has medians only", |
| 182 | "this receipt is not a qualification: it re-expresses an existing run and claims nothing beyond that run's files" |
| 183 | ] |
| 184 | } |