interplane.Get Omega
Read in your language

omega-bridge

Omega-first language interoperability: checked conversion backends and native language bindings

Brought by drakestapleton

branch main Branches Tags History

omega-bridge / evidence / device-window

f1a02e4 DRA-441: F1-F7 fixes after review b9c3d9f Drake Stapleton committed 2026-11-16
..
DRA-441/
L939-w2/
L939-w3/
L939/
README.md3963
dry-run-L939-w2.log15526
dry-run-L939.log16432
dry-run.log5966
race-F5.log3662

README.md

GB10 device windows for MISSION-REPORT §3 (DRA-105, omega-bridge #5)

Script: tools/run-device-window.sh (its Omega successor, tools/run-device-window.om, runs the same rows; see tests/device-window/README.md). Each L939* directory is one exclusive spark-window lease (--gb10 exclusive --quiet none --lease 20 --wait), opened and closed by id by the script. Every directory holds window.txt (window id, host, bridge and CUDApp heads, script and input sha256), rc.txt, one raw NN-row.log per row, each conformance row's device result files in NN-row.out/ (+ .sha256), and torch-receipt.json. Window 2 and 3 also hold the exported cubins and manifests in cubins/. Nothing in these directories was edited after the run. Box state at open and close is in ~/yardsticks/windows/<window id>/{open,close}.json on the Spark (not committed). Host spark-b87b, driver 580.173.02, CUDApp b774723f, MAX 26.7.0, torch 2.14.1+cpu. Ledger L939, kanban card t_a2d9375e.

DirWindow idBridge headHeldRows rc 0Notes
L93920261107T025531Z-df9556e6d73e0e176 s1 of 9cubin rows probed the pre-fix CUDApp evidence/MAX-INTEROP/68 images: 200 INVALID_IMAGE (rc 4). max_runner.py --device gpu left inputs on the host: TypeError ... expected argument 0 to be on device gpu, so every conformance row was rc 1 (Omega native GPU matmul and GQA passed in all six). Torch row PASS. Both defects fixed in 3c5f0902.
L939-w220261107T030636Z-94ee3446ed1fc184 s8 of 10cuCtxCreate returned 2 CUDA_ERROR_OUT_OF_MEMORY on the first row (matmul cubin), and MAX Accelerator() returned the same in pair 2. All other rows passed. Cause not determined; not seen in window 3.
L939-w320261107T030848Z-b5d44f43ab475180 s10 of 10All rows PASS, see below.

Window 3 rows:

RowResult
01 cubin_probe matmul 16x16x8 (current writer, cubin 1dac563e…)load 0; worst_abs=0 bad=0 untouched=0
02 cubin_probe --load-only GQA hq 8 hkv 1 hd 128 (90b5c752…)LOAD-PASS; launch NOT_RUN (matmul-ABI probe)
03 cubin_probe --expect-reject pre-fix 68 matmul (7d130693…)200 INVALID_IMAGE, REJECT-PASS (negative control)
04-09 conformance/run.sh --device, 6 runs6/6 CONFORMANCE HARNESS PASS. Omega native GPU: matmul 12 checks, max abs error 0; GQA 13 checks, 2.39e-07. MAX 26.7 GPU: matmul 12 checks, 0; GQA 13 checks, 2.70e-07. Matmul output sha256 60a7f7d4… is the same for both runners in every run; GQA outputs differ (c062db95… Omega, 819f83e3… MAX), both inside the oracle bound
10 attach/torch/test_cudapp_torch.pyPASS: 12 cases inside bound, gemm_ex mutant 1 caught

Timings in NN-row.out/*.json are shared-machine diagnostics (quiet lock not held) and measure different spans: Omega seconds is the whole omega_gpu_* call, MAX execute_seconds is execute only. Medians over the 6 window-3 runs (WolframLanguageEvaluator Median): Omega matmul 0.0603 s, Omega GQA 0.0358 s, MAX matmul 0.214 s, MAX GQA 0.00110 s. They are not a speed comparison. Not QUALIFIED: one chip, one driver, tiny shapes, results attested only by the SPARK_WINDOW id.

CPU dry-runs and controls beside these: dry-run-L939.log (window 1 inputs), dry-run-L939-w2.log (cubin export + window 2/3 inputs). dry-run.log is the earlier #78 dry-run from 64f76a56.

race-F5.log is the CPU control for the evidence-directory step (finding F5, DRA-106 audit refresh), run from a fresh clone of 52149d3f: with tests/device-window/race.om, two device-mode runs started together on one new ledger id gave exactly one run past the directory step in 100 of 100 trials; the script at 07f276fc (check, then mkdir -p) let both through in 69 of 100, and a mkdir -p mutant of the fix in 100 of 100. No run reached spark-window; no GPU was opened. See tests/device-window/README.md.