diff --git a/.crumb b/.crumb index b9c7395..f4ddc24 100644 --- a/.crumb +++ b/.crumb @@ -64,14 +64,14 @@ } ], "children_root": "sha256:1b2dd79450d79cdf42d895cd7ec0db578db08215ad3497eab3c4ba8b56deece7", - "compiled_at": "2026-11-06T14:10:05Z", + "compiled_at": "2026-11-07T03:12:02Z", "compiler": "crumb-compile/1", - "digest": "sha256:398e04e5ba7be851445b6ee84436122587808cc74e5fbf49bdd04f3a9740d46d", - "evidence_files": 612, - "evidence_root": "sha256:28005a8bbb770eae5aece0faa39f98bce41dde5c25e1d289a116211c76c9e3d3", - "files": 970, - "generated_at_commit": "8e1d5244e3cc1dd6892aa90b214ef508bde3be0e", - "source_tree": "sha256:8c92a6055f34668ee82f7ea132c73a91aba84eeb075ce16d72994a3ae40c8c1f" + "digest": "sha256:5544c6ae6f47659941fd7b7feebe8fba7a4aa682c0bb5924985a967261807105", + "evidence_files": 822, + "evidence_root": "sha256:ca8019c0b033823fcc6c022ebb58346e944fcae4a4e754e87b2708e777ef2d80", + "files": 1180, + "generated_at_commit": "bede3faad37a058b98e179c4f9d328f3c82940fc", + "source_tree": "sha256:228d8054dfeddcce52f4a0abe007e62cbe8dd449666e51e11984356c57df5bfb" } }, "name": "BridgeHostAienX86", diff --git a/MISSION-REPORT.md b/MISSION-REPORT.md index acfd14e..b3aa527 100644 --- a/MISSION-REPORT.md +++ b/MISSION-REPORT.md @@ -47,12 +47,37 @@ output digest. It is a provenance/identity record, not a device result. ## 3. Blocked or not run +### 3a. GB10 device windows (2026-11-07, DRA-105; supersedes the first four rows below) + +Three exclusive `spark-window` leases (`--gb10 exclusive --quiet none`, +value checks), opened and closed by id by `tools/run-device-window.sh`. Raw +output and rc for every row: `evidence/device-window/L939*/`, summary in +`evidence/device-window/README.md`. Driver 580.173.02, CUDApp `b774723f`. +Window 3 (`20261107T030848Z-b5d44f`, ledger dir `L939-w3`) ran all 10 rows rc 0: + +| Row | Result (window 3) | +|---|---| +| `cubin_probe` load + launch, matmul 16x16x8 cubin from the current CUDApp writer | EXERCISED PASS: load 0, `worst_abs=0 bad=0 untouched=0` against the fp32 oracle | +| `cubin_probe` GQA cubin (hq 8, hkv 1, hd 128) | load + resolve PASS; launch NOT_RUN (the probe launches the matmul ABI; needs an attention probe, MAX Gate 3) | +| Pre-fix cubin `cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin` | rejected 200 `INVALID_IMAGE` as expected (negative control) | +| Omega native matmul/GQA on GB10 (`conformance/run.sh --device`) | EXERCISED PASS 6/6 runs: matmul 12 checks, max abs error 0; GQA 13 checks, 2.39e-7 | +| MAX 26.7 graph matmul/GQA on GB10 (`max_runner.py --device gpu`) | EXERCISED PASS 6/6 runs: matmul 12 checks, 0, output SHA-256 equal to Omega's; GQA 13 checks, 2.70e-7 | +| Paired runs (6 of each path) | done; per-run timings in `.out/*.json` are shared-machine diagnostics of different spans (Omega: whole API call; MAX: execute only), not a speed comparison | +| `attach/torch/test_cudapp_torch.py` (PR #30) | EXERCISED PASS: 12 cases inside bound, gemm_ex mutant caught | + +Window 1 (`L939`) used the stale 68 cubins (rc 4, 200) and hit a MAX harness +defect (host-resident inputs); both were fixed before window 2. Window 2 +(`L939-w2`) had 2 `CUDA_ERROR_OUT_OF_MEMORY` failures at context creation (one +`cuCtxCreate`, one MAX `Accelerator()`) in 2 of its 10 rows; window 3 had none. +That intermittent context-create failure is not explained. Not QUALIFIED: one +chip, one driver, tiny shapes, no independent attestation beyond `SPARK_WINDOW`. + | Item | Reason | What unblocks it | |---|---|---| -| `cuModuleLoadData` + launch of the exported cubin on GB10 | chip reserved by the coordinator (`CHIP-RESERVED`); `spark-window` refuses | an authorized `spark-window` with `--gb10 shared --quiet none`; run `build/cubin_probe` | -| Omega native matmul/GQA on GB10 | same | same window; `conformance/run.sh --device` | -| MAX 26.7 graph matmul/GQA on GB10 | same | same window; `max_runner.py --device gpu` | -| Paired ≥5-run benchmarks | requires two device paths | after the above | +| `cuModuleLoadData` + launch of the exported cubin on GB10 | chip reserved by the coordinator (`CHIP-RESERVED`); `spark-window` refuses | an authorized `spark-window` with `--gb10 shared --quiet none`; run `build/cubin_probe` (DONE for matmul, §3a) | +| Omega native matmul/GQA on GB10 | same | same window; `conformance/run.sh --device` (DONE, §3a) | +| MAX 26.7 graph matmul/GQA on GB10 | same | same window; `max_runner.py --device gpu` (DONE, §3a) | +| Paired ≥5-run benchmarks | requires two device paths | after the above (runs DONE, §3a; no speed claim) | | In-MAX native Omega cubin execution | pinned 26.7.0 has no byte-safe native module API; `load_function` takes `String` and only PTX is tested; the main-branch HAL path is not in the release, not production, and not reachable from public Python | upstream change in §4, or a decision to test main | | AMD/Intel/Metal | no adapter, no hardware test | separate owner and qualification | diff --git a/conformance/EVIDENCE.md b/conformance/EVIDENCE.md index d9de1ae..2aafc45 100644 --- a/conformance/EVIDENCE.md +++ b/conformance/EVIDENCE.md @@ -15,5 +15,13 @@ CONFORMANCE HARNESS PASS ``` The 4x5x3 matmul fixture is exact in fp32, so it does not distinguish fp32 from -fp64 accumulation. GPU runs are NOT_RUN; the chip is reserved. Every GPU result +fp64 accumulation. The CPU block above predates the GPU runs. Every GPU result must carry a `SPARK_WINDOW` id and is not independently attested beyond that. + +GB10 device runs (2026-11-07, DRA-105): `tools/run-device-window.sh` ran +`conformance/run.sh --device` six times per window. In window +`20261107T030848Z-b5d44f` (`evidence/device-window/L939-w3/`) all six printed +`CONFORMANCE HARNESS PASS`: Omega native GPU matmul 12 checks max abs error 0 +and GQA 13 checks 2.39e-07; MAX 26.7 GPU matmul 12 checks 0 and GQA 13 checks +2.70e-07. Earlier windows and their failures are listed in +`evidence/device-window/README.md`. diff --git a/conformance/max_runner.py b/conformance/max_runner.py index 1f59dd9..6c44065 100755 --- a/conformance/max_runner.py +++ b/conformance/max_runner.py @@ -112,9 +112,13 @@ def main(): a = bf16_from_hex(f["inputs"]["a"]).reshape(m, k) b = bf16_from_hex(f["inputs"]["b"]).reshape(k, n) model = session.load(matmul_graph(m, k, n, dev)) + # Buffer.from_numpy places the data on the host; a GPU graph refuses host + # inputs ("expected argument 0 to be on device gpu"), so move them first, + # outside the timed execute. .to() is a no-op for a CPU device. + ins = [Buffer.from_numpy(x).to(dev) for x in (a, b)] t_compile = time.perf_counter() - t0 t1 = time.perf_counter() - out = model.execute(Buffer.from_numpy(a), Buffer.from_numpy(b))[0].to_numpy() + out = model.execute(*ins)[0].to_numpy() t_run = time.perf_counter() - t1 flat = out.astype(np.float32).ravel() shape = [m, n] @@ -130,9 +134,10 @@ def main(): if j <= base + i: mask[i, j] = 0.0 model = session.load(attention_graph(r, t, hq, hkv, hd, base, dev)) + ins = [Buffer.from_numpy(x).to(dev) for x in (q, kk, vv, mask)] t_compile = time.perf_counter() - t0 t1 = time.perf_counter() - out = model.execute(*[Buffer.from_numpy(x) for x in (q, kk, vv, mask)])[0].to_numpy() + out = model.execute(*ins)[0].to_numpy() t_run = time.perf_counter() - t1 flat = out.astype(np.float32).ravel() shape = [r, hq, hd] diff --git a/evidence/device-window/L939-w2/01-cubin-matmul.log b/evidence/device-window/L939-w2/01-cubin-matmul.log new file mode 100644 index 0000000..74fc35d --- /dev/null +++ b/evidence/device-window/L939-w2/01-cubin-matmul.log @@ -0,0 +1 @@ +FAIL cuCtxCreate(&ctx, &cparams, 0, dev) -> 2 out of memory diff --git a/evidence/device-window/L939-w2/02-cubin-gqa-load.log b/evidence/device-window/L939-w2/02-cubin-gqa-load.log new file mode 100644 index 0000000..d11b641 --- /dev/null +++ b/evidence/device-window/L939-w2/02-cubin-gqa-load.log @@ -0,0 +1,5 @@ +LOAD cuModuleLoadDataEx -> 0 no error +LOAD error_log="" +LOAD info_log="" +LOAD cuModuleGetFunction(omega_gqa_attention_causal) -> 0 no error +LOAD-PASS cubin=/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/window-cubins/attention-hd128-gqa8.cubin fn=omega_gqa_attention_causal window=20261107T030636Z-94ee34 diff --git a/evidence/device-window/L939-w2/03-cubin-stale-reject.log b/evidence/device-window/L939-w2/03-cubin-stale-reject.log new file mode 100644 index 0000000..695d8d0 --- /dev/null +++ b/evidence/device-window/L939-w2/03-cubin-stale-reject.log @@ -0,0 +1,4 @@ +LOAD cuModuleLoadDataEx -> 200 device kernel image is invalid +LOAD error_log="" +LOAD info_log="" +REJECT-PASS cubin=/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin fn=omega_matmul_bf16 window=20261107T030636Z-94ee34 diff --git a/evidence/device-window/L939-w2/04-conformance-device.log b/evidence/device-window/L939-w2/04-conformance-device.log new file mode 100644 index 0000000..97db3fe --- /dev/null +++ b/evidence/device-window/L939-w2/04-conformance-device.log @@ -0,0 +1,27 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.055s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.0242263729451224, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.0005528370384126902, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 1.9960062969475985, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0014282349729910493, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.073265270097181, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "execute_seconds": 0.5214900030987337, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.0111567529384047, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "execute_seconds": 0.0012978499289602041, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +CONFORMANCE HARNESS PASS diff --git a/evidence/device-window/L939-w2/04-conformance-device.out.sha256 b/evidence/device-window/L939-w2/04-conformance-device.out.sha256 new file mode 100644 index 0000000..3d4f002 --- /dev/null +++ b/evidence/device-window/L939-w2/04-conformance-device.out.sha256 @@ -0,0 +1,8 @@ +819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407 max-gpu-attn.bin +1c2015fafd9260170d3ca57472b16f82eee81e15e153df34fdbc9dfada3f3837 max-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 max-gpu-matmul.bin +1913d61c72e2d601a1966a4c9a82f9bfa25433a5050acc4d79f4262ee2d2a774 max-gpu-matmul.json +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +e8d37bba7e36a8530d7978073037f179b6590c56a3c6daed851854ef42ab0c7e omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +64a7a8f7b4f8c85984b4bf5a54e636292d710e0c664f61e3d157b3c2d1d8ef46 omega-gpu-matmul.json diff --git a/evidence/device-window/L939-w2/04-conformance-device.out/max-gpu-attn.bin b/evidence/device-window/L939-w2/04-conformance-device.out/max-gpu-attn.bin new file mode 100644 index 0000000..f571fe0 Binary files /dev/null and b/evidence/device-window/L939-w2/04-conformance-device.out/max-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w2/04-conformance-device.out/max-gpu-attn.json b/evidence/device-window/L939-w2/04-conformance-device.out/max-gpu-attn.json new file mode 100644 index 0000000..e734de0 --- /dev/null +++ b/evidence/device-window/L939-w2/04-conformance-device.out/max-gpu-attn.json @@ -0,0 +1,17 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.0111567529384047, + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "device": "gpu", + "execute_seconds": 0.0012978499289602041, + "max_version": "unknown", + "numeric_path": "fp32-softmax", + "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", + "runner": "modular-max", + "shape": [ + 2, + 4, + 128 + ], + "spark_window": "20261107T030636Z-94ee34" +} diff --git a/evidence/device-window/L939-w2/04-conformance-device.out/max-gpu-matmul.bin b/evidence/device-window/L939-w2/04-conformance-device.out/max-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w2/04-conformance-device.out/max-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w2/04-conformance-device.out/max-gpu-matmul.json b/evidence/device-window/L939-w2/04-conformance-device.out/max-gpu-matmul.json new file mode 100644 index 0000000..97e546b --- /dev/null +++ b/evidence/device-window/L939-w2/04-conformance-device.out/max-gpu-matmul.json @@ -0,0 +1,16 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.073265270097181, + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "device": "gpu", + "execute_seconds": 0.5214900030987337, + "max_version": "unknown", + "numeric_path": "fp32-mul-add (exact for this fixture)", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "runner": "modular-max", + "shape": [ + 4, + 3 + ], + "spark_window": "20261107T030636Z-94ee34" +} diff --git a/evidence/device-window/L939-w2/04-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939-w2/04-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939-w2/04-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w2/04-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939-w2/04-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..33ac999 --- /dev/null +++ b/evidence/device-window/L939-w2/04-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.032309165, + "spark_window": "20261107T030636Z-94ee34", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 32290093, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939-w2/04-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939-w2/04-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w2/04-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w2/04-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939-w2/04-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..abdc9a1 --- /dev/null +++ b/evidence/device-window/L939-w2/04-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.065864068, + "spark_window": "20261107T030636Z-94ee34", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 65848852, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939-w2/05-pair1-conformance-device.log b/evidence/device-window/L939-w2/05-pair1-conformance-device.log new file mode 100644 index 0000000..3cda61c --- /dev/null +++ b/evidence/device-window/L939-w2/05-pair1-conformance-device.log @@ -0,0 +1,27 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.057s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.0546749179484323, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.0008590789511799812, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.071014311048202, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0010884879156947136, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.058274418930523, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "execute_seconds": 0.24504246294964105, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.020949424011633, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "execute_seconds": 0.0012198500335216522, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +CONFORMANCE HARNESS PASS diff --git a/evidence/device-window/L939-w2/05-pair1-conformance-device.out.sha256 b/evidence/device-window/L939-w2/05-pair1-conformance-device.out.sha256 new file mode 100644 index 0000000..0ccc6fe --- /dev/null +++ b/evidence/device-window/L939-w2/05-pair1-conformance-device.out.sha256 @@ -0,0 +1,8 @@ +819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407 max-gpu-attn.bin +16b7f84e5ee0ec3eb458fb59a754760a8d12cb1a3cd2d92e8daaf6870535e7ae max-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 max-gpu-matmul.bin +868f940b9c51475e599420509dc3a8c4b59a4e2c92ba6c9a37b9553d5a59b291 max-gpu-matmul.json +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +90bb8907ab11de9d90363ccced72e90dd24041fe6a8b89934e871e47bb9c768b omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +550a79b2f33afe820358b8714d5c73e4634c08b35b6c4f88e89959e2cdfba1b9 omega-gpu-matmul.json diff --git a/evidence/device-window/L939-w2/05-pair1-conformance-device.out/max-gpu-attn.bin b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/max-gpu-attn.bin new file mode 100644 index 0000000..f571fe0 Binary files /dev/null and b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/max-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w2/05-pair1-conformance-device.out/max-gpu-attn.json b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/max-gpu-attn.json new file mode 100644 index 0000000..1b650ea --- /dev/null +++ b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/max-gpu-attn.json @@ -0,0 +1,17 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.020949424011633, + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "device": "gpu", + "execute_seconds": 0.0012198500335216522, + "max_version": "unknown", + "numeric_path": "fp32-softmax", + "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", + "runner": "modular-max", + "shape": [ + 2, + 4, + 128 + ], + "spark_window": "20261107T030636Z-94ee34" +} diff --git a/evidence/device-window/L939-w2/05-pair1-conformance-device.out/max-gpu-matmul.bin b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/max-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/max-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w2/05-pair1-conformance-device.out/max-gpu-matmul.json b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/max-gpu-matmul.json new file mode 100644 index 0000000..a492c02 --- /dev/null +++ b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/max-gpu-matmul.json @@ -0,0 +1,16 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.058274418930523, + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "device": "gpu", + "execute_seconds": 0.24504246294964105, + "max_version": "unknown", + "numeric_path": "fp32-mul-add (exact for this fixture)", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "runner": "modular-max", + "shape": [ + 4, + 3 + ], + "spark_window": "20261107T030636Z-94ee34" +} diff --git a/evidence/device-window/L939-w2/05-pair1-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w2/05-pair1-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..b8d0452 --- /dev/null +++ b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.030251869, + "spark_window": "20261107T030636Z-94ee34", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 30242717, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939-w2/05-pair1-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w2/05-pair1-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..ec64dcd --- /dev/null +++ b/evidence/device-window/L939-w2/05-pair1-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.159772899, + "spark_window": "20261107T030636Z-94ee34", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 159759075, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939-w2/06-pair2-conformance-device.log b/evidence/device-window/L939-w2/06-pair2-conformance-device.log new file mode 100644 index 0000000..ddb6c64 --- /dev/null +++ b/evidence/device-window/L939-w2/06-pair2-conformance-device.log @@ -0,0 +1,47 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.054s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.0190034090774134, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.0005289650289341807, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.0817384941037744, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.000970119028352201, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 198, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 93, in main + dev = Accelerator() + ^^^^^^^^^^^^^ +ValueError: failed to create device: No supported "gpu" device available. + CUDA information: CUDA call failed: CUDA_ERROR_OUT_OF_MEMORY (out of memory) +To get more accurate error information, set MODULAR_DEBUG=device-sync-mode. + HIP information: Failed to open library "libamdhip64.so": libamdhip64.so: cannot open shared object file: No such file or directory +To get more accurate error information, set MODULAR_DEBUG=device-sync-mode. +To get more accurate error information, set MODULAR_DEBUG=device-sync-mode. +To get more accurate error information, set MODULAR_DEBUG=device-sync-mode. + Metal information: +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 121, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 46, in main + meta = json.load(open(args.result + ".json")) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +FileNotFoundError: [Errno 2] No such file or directory: 'build/max-gpu-matmul.json' +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.0889459900790825, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "execute_seconds": 0.001815391005948186, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} diff --git a/evidence/device-window/L939-w2/06-pair2-conformance-device.out.sha256 b/evidence/device-window/L939-w2/06-pair2-conformance-device.out.sha256 new file mode 100644 index 0000000..fa7e616 --- /dev/null +++ b/evidence/device-window/L939-w2/06-pair2-conformance-device.out.sha256 @@ -0,0 +1,6 @@ +819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407 max-gpu-attn.bin +8eb7749b0b4126483b51dbd690aeb9e30ad9dc36db79e162519dbf3efcc45282 max-gpu-attn.json +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +573f7e410cefd3fae0bd819504757322fa4ed1f59f13286c8fdfd5a4b4632622 omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +9766c7d4ff34b69ed88bd161366da34d89e23abfecd79cb83fe3e9c45dd0df09 omega-gpu-matmul.json diff --git a/evidence/device-window/L939-w2/06-pair2-conformance-device.out/max-gpu-attn.bin b/evidence/device-window/L939-w2/06-pair2-conformance-device.out/max-gpu-attn.bin new file mode 100644 index 0000000..f571fe0 Binary files /dev/null and b/evidence/device-window/L939-w2/06-pair2-conformance-device.out/max-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w2/06-pair2-conformance-device.out/max-gpu-attn.json b/evidence/device-window/L939-w2/06-pair2-conformance-device.out/max-gpu-attn.json new file mode 100644 index 0000000..840f03b --- /dev/null +++ b/evidence/device-window/L939-w2/06-pair2-conformance-device.out/max-gpu-attn.json @@ -0,0 +1,17 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.0889459900790825, + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "device": "gpu", + "execute_seconds": 0.001815391005948186, + "max_version": "unknown", + "numeric_path": "fp32-softmax", + "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", + "runner": "modular-max", + "shape": [ + 2, + 4, + 128 + ], + "spark_window": "20261107T030636Z-94ee34" +} diff --git a/evidence/device-window/L939-w2/06-pair2-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939-w2/06-pair2-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939-w2/06-pair2-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w2/06-pair2-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939-w2/06-pair2-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..81ecedf --- /dev/null +++ b/evidence/device-window/L939-w2/06-pair2-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 1.596049666, + "spark_window": "20261107T030636Z-94ee34", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 1596040770, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939-w2/06-pair2-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939-w2/06-pair2-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w2/06-pair2-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w2/06-pair2-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939-w2/06-pair2-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..1fc7b02 --- /dev/null +++ b/evidence/device-window/L939-w2/06-pair2-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.069623281, + "spark_window": "20261107T030636Z-94ee34", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 69609681, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939-w2/07-pair3-conformance-device.log b/evidence/device-window/L939-w2/07-pair3-conformance-device.log new file mode 100644 index 0000000..758f4ef --- /dev/null +++ b/evidence/device-window/L939-w2/07-pair3-conformance-device.log @@ -0,0 +1,27 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.057s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 1.9877272630110383, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.00066685292404145, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.011269735987298, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0007784700719639659, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.025738952914253, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "execute_seconds": 0.22210389899555594, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.0323641259456053, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "execute_seconds": 0.0012689860304817557, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +CONFORMANCE HARNESS PASS diff --git a/evidence/device-window/L939-w2/07-pair3-conformance-device.out.sha256 b/evidence/device-window/L939-w2/07-pair3-conformance-device.out.sha256 new file mode 100644 index 0000000..f248f69 --- /dev/null +++ b/evidence/device-window/L939-w2/07-pair3-conformance-device.out.sha256 @@ -0,0 +1,8 @@ +819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407 max-gpu-attn.bin +3de92a9b3c81156a0476d613697dc6e27a8625cf99c754d24c797e591478dd12 max-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 max-gpu-matmul.bin +0ef7ba6c31849e318b009d7e17ff952b38f5769f187fd9bcc4b593cb9647fb64 max-gpu-matmul.json +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +016d90b91edb071301f636d400c25e025d4fd1a12f058b15c8cea7a4b804dec0 omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +5a8d5fef9718ad87b16ec6135c2021125806827dfcf4f00ab319e76ddcba1258 omega-gpu-matmul.json diff --git a/evidence/device-window/L939-w2/07-pair3-conformance-device.out/max-gpu-attn.bin b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/max-gpu-attn.bin new file mode 100644 index 0000000..f571fe0 Binary files /dev/null and b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/max-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w2/07-pair3-conformance-device.out/max-gpu-attn.json b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/max-gpu-attn.json new file mode 100644 index 0000000..3f77d36 --- /dev/null +++ b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/max-gpu-attn.json @@ -0,0 +1,17 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.0323641259456053, + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "device": "gpu", + "execute_seconds": 0.0012689860304817557, + "max_version": "unknown", + "numeric_path": "fp32-softmax", + "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", + "runner": "modular-max", + "shape": [ + 2, + 4, + 128 + ], + "spark_window": "20261107T030636Z-94ee34" +} diff --git a/evidence/device-window/L939-w2/07-pair3-conformance-device.out/max-gpu-matmul.bin b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/max-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/max-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w2/07-pair3-conformance-device.out/max-gpu-matmul.json b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/max-gpu-matmul.json new file mode 100644 index 0000000..a915c82 --- /dev/null +++ b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/max-gpu-matmul.json @@ -0,0 +1,16 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.025738952914253, + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "device": "gpu", + "execute_seconds": 0.22210389899555594, + "max_version": "unknown", + "numeric_path": "fp32-mul-add (exact for this fixture)", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "runner": "modular-max", + "shape": [ + 4, + 3 + ], + "spark_window": "20261107T030636Z-94ee34" +} diff --git a/evidence/device-window/L939-w2/07-pair3-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w2/07-pair3-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..87860b1 --- /dev/null +++ b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.090005601, + "spark_window": "20261107T030636Z-94ee34", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 89992624, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939-w2/07-pair3-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w2/07-pair3-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..52a7733 --- /dev/null +++ b/evidence/device-window/L939-w2/07-pair3-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.338987423, + "spark_window": "20261107T030636Z-94ee34", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 338973567, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939-w2/08-pair4-conformance-device.log b/evidence/device-window/L939-w2/08-pair4-conformance-device.log new file mode 100644 index 0000000..d38ba6f --- /dev/null +++ b/evidence/device-window/L939-w2/08-pair4-conformance-device.log @@ -0,0 +1,27 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.055s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.0116769400192425, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.00048210006207227707, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.0252551910234615, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0005760849453508854, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.037276454968378, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "execute_seconds": 0.20563348196446896, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.0245523389894515, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "execute_seconds": 0.0012698819627985358, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +CONFORMANCE HARNESS PASS diff --git a/evidence/device-window/L939-w2/08-pair4-conformance-device.out.sha256 b/evidence/device-window/L939-w2/08-pair4-conformance-device.out.sha256 new file mode 100644 index 0000000..591a5b0 --- /dev/null +++ b/evidence/device-window/L939-w2/08-pair4-conformance-device.out.sha256 @@ -0,0 +1,8 @@ +819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407 max-gpu-attn.bin +46f99e5a3691a7cb1cd6db41e0e632fb940137f3a2e2962cced1afc53fff0db8 max-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 max-gpu-matmul.bin +9619e63c187f1d9c25f4da921ba9be63b668e4fea8e57a0111f7ee5f475a9399 max-gpu-matmul.json +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +6f9499c890093867d7931c8e7fd5f32f58eda8d79d45ee4db17fb7e6e34dc5fd omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +32a39bfd2ccba6a38a001ed8b99f6f5f6c8cc87c373ace127b4ce8422bfde1b9 omega-gpu-matmul.json diff --git a/evidence/device-window/L939-w2/08-pair4-conformance-device.out/max-gpu-attn.bin b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/max-gpu-attn.bin new file mode 100644 index 0000000..f571fe0 Binary files /dev/null and b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/max-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w2/08-pair4-conformance-device.out/max-gpu-attn.json b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/max-gpu-attn.json new file mode 100644 index 0000000..680bae1 --- /dev/null +++ b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/max-gpu-attn.json @@ -0,0 +1,17 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.0245523389894515, + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "device": "gpu", + "execute_seconds": 0.0012698819627985358, + "max_version": "unknown", + "numeric_path": "fp32-softmax", + "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", + "runner": "modular-max", + "shape": [ + 2, + 4, + 128 + ], + "spark_window": "20261107T030636Z-94ee34" +} diff --git a/evidence/device-window/L939-w2/08-pair4-conformance-device.out/max-gpu-matmul.bin b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/max-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/max-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w2/08-pair4-conformance-device.out/max-gpu-matmul.json b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/max-gpu-matmul.json new file mode 100644 index 0000000..526589e --- /dev/null +++ b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/max-gpu-matmul.json @@ -0,0 +1,16 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.037276454968378, + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "device": "gpu", + "execute_seconds": 0.20563348196446896, + "max_version": "unknown", + "numeric_path": "fp32-mul-add (exact for this fixture)", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "runner": "modular-max", + "shape": [ + 4, + 3 + ], + "spark_window": "20261107T030636Z-94ee34" +} diff --git a/evidence/device-window/L939-w2/08-pair4-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w2/08-pair4-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..024d603 --- /dev/null +++ b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.030120092, + "spark_window": "20261107T030636Z-94ee34", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 30110684, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939-w2/08-pair4-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w2/08-pair4-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..14c020f --- /dev/null +++ b/evidence/device-window/L939-w2/08-pair4-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 1.815991744, + "spark_window": "20261107T030636Z-94ee34", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 1815977920, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939-w2/09-pair5-conformance-device.log b/evidence/device-window/L939-w2/09-pair5-conformance-device.log new file mode 100644 index 0000000..277371d --- /dev/null +++ b/evidence/device-window/L939-w2/09-pair5-conformance-device.log @@ -0,0 +1,27 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.051s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.030247473041527, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.0009195910533890128, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.04767261701636, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0007361180614680052, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.050487888045609, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "execute_seconds": 0.29386007809080184, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.080448666936718, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "execute_seconds": 0.001088375924155116, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030636Z-94ee34"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +CONFORMANCE HARNESS PASS diff --git a/evidence/device-window/L939-w2/09-pair5-conformance-device.out.sha256 b/evidence/device-window/L939-w2/09-pair5-conformance-device.out.sha256 new file mode 100644 index 0000000..84d0902 --- /dev/null +++ b/evidence/device-window/L939-w2/09-pair5-conformance-device.out.sha256 @@ -0,0 +1,8 @@ +819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407 max-gpu-attn.bin +3e5e43219a50a824f5943968550579d2da99e0a070dae552040990f48a0c4e8c max-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 max-gpu-matmul.bin +8373bff58ebc9080a75231192416384be51add30b233c9f8127c1ce8401b0bbe max-gpu-matmul.json +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +006ddb84142f89771515d4ea192beb72fd7a3bb82b69d89faa6891f6339879b1 omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +42104b6d11e3f3719a6a30b1b15028efc711399f05f1fd50bdfff9937201ae04 omega-gpu-matmul.json diff --git a/evidence/device-window/L939-w2/09-pair5-conformance-device.out/max-gpu-attn.bin b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/max-gpu-attn.bin new file mode 100644 index 0000000..f571fe0 Binary files /dev/null and b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/max-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w2/09-pair5-conformance-device.out/max-gpu-attn.json b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/max-gpu-attn.json new file mode 100644 index 0000000..4c3e49c --- /dev/null +++ b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/max-gpu-attn.json @@ -0,0 +1,17 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.080448666936718, + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "device": "gpu", + "execute_seconds": 0.001088375924155116, + "max_version": "unknown", + "numeric_path": "fp32-softmax", + "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", + "runner": "modular-max", + "shape": [ + 2, + 4, + 128 + ], + "spark_window": "20261107T030636Z-94ee34" +} diff --git a/evidence/device-window/L939-w2/09-pair5-conformance-device.out/max-gpu-matmul.bin b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/max-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/max-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w2/09-pair5-conformance-device.out/max-gpu-matmul.json b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/max-gpu-matmul.json new file mode 100644 index 0000000..189ceeb --- /dev/null +++ b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/max-gpu-matmul.json @@ -0,0 +1,16 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.050487888045609, + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "device": "gpu", + "execute_seconds": 0.29386007809080184, + "max_version": "unknown", + "numeric_path": "fp32-mul-add (exact for this fixture)", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "runner": "modular-max", + "shape": [ + 4, + 3 + ], + "spark_window": "20261107T030636Z-94ee34" +} diff --git a/evidence/device-window/L939-w2/09-pair5-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w2/09-pair5-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..bb4de86 --- /dev/null +++ b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.066661050, + "spark_window": "20261107T030636Z-94ee34", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 66648330, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939-w2/09-pair5-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w2/09-pair5-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..b25097b --- /dev/null +++ b/evidence/device-window/L939-w2/09-pair5-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.059327553, + "spark_window": "20261107T030636Z-94ee34", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 59314257, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939-w2/10-torch-cudapp.log b/evidence/device-window/L939-w2/10-torch-cudapp.log new file mode 100644 index 0000000..5d4a546 --- /dev/null +++ b/evidence/device-window/L939-w2/10-torch-cudapp.log @@ -0,0 +1,14 @@ +{"op": "cudapp::mm", "m": 1, "k": 1, "n": 1, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 1.4553855010035477e-08, "max_err_over_bound": 0.2094172903959941, "inside_bound": true} +{"op": "cudapp::mm", "m": 3, "k": 257, "n": 129, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 1.4199952246940484e-05, "max_err_over_bound": 0.0006810386003039764, "inside_bound": true} +{"op": "cudapp::mm", "m": 17, "k": 2048, "n": 96, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 0.00031148626860044715, "max_err_over_bound": 0.00022958310801540795, "inside_bound": true} +{"op": "cudapp::mm", "m": 64, "k": 64, "n": 64, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 4.476430376598728e-06, "max_err_over_bound": 0.002678575901699341, "inside_bound": true} +{"op": "cudapp::mm", "m": 5, "k": 1809, "n": 33, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 0.00028849767313943175, "max_err_over_bound": 0.0002479941293363415, "inside_bound": true} +{"op": "cudapp::mm", "m": 5, "k": 300, "n": 7, "dtype": "bfloat16", "mutant": 0, "route": 1, "route_expected": 1, "max_abs_err": 2.4061650037765503e-05, "max_err_over_bound": 0.006565537468473077, "inside_bound": true} +{"op": "cudapp::mm", "m": 32, "k": 128, "n": 64, "dtype": "bfloat16", "mutant": 0, "route": 1, "route_expected": 1, "max_abs_err": 8.58306884765625e-06, "max_err_over_bound": 0.013155373834931455, "inside_bound": true} +{"op": "cudapp::mm", "m": 5, "k": 300, "n": 7, "dtype": "float16", "mutant": 0, "route": 1, "route_expected": 1, "max_abs_err": 1.6046687960624695e-05, "max_err_over_bound": 0.004848975923834368, "inside_bound": true} +{"op": "cudapp::mm", "m": 32, "k": 128, "n": 64, "dtype": "float16", "mutant": 0, "route": 1, "route_expected": 1, "max_abs_err": 1.1332333087921143e-05, "max_err_over_bound": 0.018825492524675278, "inside_bound": true} +{"op": "cudapp::swiglu", "n": 1, "max_abs_err": 8.461514294788586e-09, "max_err_over_bound": 0.0034650273184958064, "inside_bound": true} +{"op": "cudapp::swiglu", "n": 1000, "max_abs_err": 1.3221445520628095e-06, "max_err_over_bound": 0.015685670748588225, "inside_bound": true} +{"op": "cudapp::swiglu", "n": 65536, "max_abs_err": 3.6893320967124055e-06, "max_err_over_bound": 0.02078471047596202, "inside_bound": true} +{"op": "cudapp::mm", "m": 3, "k": 257, "n": 129, "dtype": "float32", "mutant": 1, "route": 3, "route_expected": 3, "max_abs_err": 5.5826134483306085, "max_err_over_bound": 256.6837092618614, "inside_bound": false, "negative_control": true, "caught": true} +PASS diff --git a/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.cbank_args.bin b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.cbank_args.bin new file mode 100644 index 0000000..9fdc14c Binary files /dev/null and b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.cbank_args.bin differ diff --git a/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.cubin b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.cubin new file mode 100644 index 0000000..f4373dd Binary files /dev/null and b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.cubin differ diff --git a/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.json b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.json new file mode 100644 index 0000000..b81da3f --- /dev/null +++ b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.json @@ -0,0 +1,36 @@ +{ + "format": "omega-native-artifact/1", + "artifact_id": "43645ef61f29ffef503420a2530709333e5d2eee7321f64409e13937be3e532c", + "op": "gqa-causal-attention", + "shape": "r>=1,base=0,hq=8,hkv=1,hd=128", + "bounds": "hq<=64,hkv<=64,hd=128,rows+base<=4096", + "contract": "gqa-causal-v1", + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "semantic_spec_id": "639668d5b3001b950b7daf922d03b9dbebd9b4333ad04c48639caa2e84158a43", + "isa": "sm_121", + "machine_profile": "99e9e7b2a04a784130f398b57e15497f7367f606b60e62bfae065fe9a1795e7b", + "kernel_format": "nvidia-cubin-elf64", + "kernel_function": "omega_gqa_attention_causal", + "text_sha256": "b35cefefe59c48c5a91bf40c6219bdfd830afcdac9789443a4038a15dd6f42fa", + "cubin_sha256": "90b5c752f793d1187485f7dcec0921001443498584075d13cfb47bf9236d2169", + "text_size": 8192, + "cubin_size": 11240, + "cbank_offset": 896, + "cbank_words": 16, + "grid": [2,1,1], + "block": [128,1,1], + "shared_bytes": 6656, + "gpr_count": 80, + "qmd0_sha256": "2798dfb2ac70c1597cce679eb58d4a23cc24db294891a81f5cc444d1aa0db349", + "qmd1_sha256": "00bd9809e47934beae288436f10aa3cbaa4fc95f87fced74626116a9cf510782", + "cbank_args_sha256": "f48907d7da1a4e6f47237e9efb9bd08e4de0ce0a73a1377acb6069e2770fe00e", + "qmd_template": "zero-va-v1", + "precision": "f32-kv", + "accumulation": "fp32", + "tolerance": "rel<=1e-3,abs<=1e-4", + "min_driver": "580.173.02", + "requires": "sm_121,nvidia-cubin-abi-v8", + "provenance_tool": "cudapp-artifact-export/1", + "provenance_source_commit": "b774723f537cec16a359fe082b8100317a5b5490", + "qualification": "offline-disassembly=PASS;device-load=NOT_RUN;device-exec=NOT_RUN" +} diff --git a/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.manifest b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.manifest new file mode 100644 index 0000000..dbdc553 --- /dev/null +++ b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.manifest @@ -0,0 +1,35 @@ +omega-native-artifact/1 +artifact_id=43645ef61f29ffef503420a2530709333e5d2eee7321f64409e13937be3e532c +op=gqa-causal-attention +shape=r>=1,base=0,hq=8,hkv=1,hd=128 +bounds=hq<=64,hkv<=64,hd=128,rows+base<=4096 +contract=gqa-causal-v1 +contract_id=003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359 +semantic_spec_id=639668d5b3001b950b7daf922d03b9dbebd9b4333ad04c48639caa2e84158a43 +isa=sm_121 +machine_profile=99e9e7b2a04a784130f398b57e15497f7367f606b60e62bfae065fe9a1795e7b +kernel_format=nvidia-cubin-elf64 +kernel_function=omega_gqa_attention_causal +text_sha256=b35cefefe59c48c5a91bf40c6219bdfd830afcdac9789443a4038a15dd6f42fa +text_size=8192 +cubin_sha256=90b5c752f793d1187485f7dcec0921001443498584075d13cfb47bf9236d2169 +cubin_size=11240 +qmd0_sha256=2798dfb2ac70c1597cce679eb58d4a23cc24db294891a81f5cc444d1aa0db349 +qmd1_sha256=00bd9809e47934beae288436f10aa3cbaa4fc95f87fced74626116a9cf510782 +qmd_template=zero-va-v1 +cbank_offset=0x380 +cbank_words=16 +cbank_args=template +cbank_args_sha256=f48907d7da1a4e6f47237e9efb9bd08e4de0ce0a73a1377acb6069e2770fe00e +grid=2,1,1 +block=128,1,1 +shared_bytes=6656 +gpr_count=80 +precision=f32-kv +accumulation=fp32 +tolerance=rel<=1e-3,abs<=1e-4 +min_driver=580.173.02 +requires=sm_121,nvidia-cubin-abi-v8 +qualification=offline-disassembly=PASS;device-load=NOT_RUN;device-exec=NOT_RUN +provenance_source_commit=b774723f537cec16a359fe082b8100317a5b5490 +provenance_tool=cudapp-artifact-export/1 diff --git a/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.qmd0.bin b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.qmd0.bin new file mode 100644 index 0000000..3163fb5 Binary files /dev/null and b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.qmd0.bin differ diff --git a/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.qmd1.bin b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.qmd1.bin new file mode 100644 index 0000000..485d1f6 Binary files /dev/null and b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.qmd1.bin differ diff --git a/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.sha256 b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.sha256 new file mode 100644 index 0000000..8ea1d23 --- /dev/null +++ b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.sha256 @@ -0,0 +1,7 @@ +43645ef61f29ffef503420a2530709333e5d2eee7321f64409e13937be3e532c artifact_id +7155aae381c08404745f3e383d1efb52c669392c3141b2a582b6d9da9dd41ed4 manifest +90b5c752f793d1187485f7dcec0921001443498584075d13cfb47bf9236d2169 cubin +b35cefefe59c48c5a91bf40c6219bdfd830afcdac9789443a4038a15dd6f42fa text +2798dfb2ac70c1597cce679eb58d4a23cc24db294891a81f5cc444d1aa0db349 qmd0 +00bd9809e47934beae288436f10aa3cbaa4fc95f87fced74626116a9cf510782 qmd1 +f48907d7da1a4e6f47237e9efb9bd08e4de0ce0a73a1377acb6069e2770fe00e cbank_args diff --git a/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.text.bin b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.text.bin new file mode 100644 index 0000000..4cb6e74 Binary files /dev/null and b/evidence/device-window/L939-w2/cubins/attention-hd128-gqa8.text.bin differ diff --git a/evidence/device-window/L939-w2/cubins/matmul-16x16x8.cbank_args.bin b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.cbank_args.bin new file mode 100644 index 0000000..8bc8ffe Binary files /dev/null and b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.cbank_args.bin differ diff --git a/evidence/device-window/L939-w2/cubins/matmul-16x16x8.cubin b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.cubin new file mode 100644 index 0000000..d0651a3 Binary files /dev/null and b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.cubin differ diff --git a/evidence/device-window/L939-w2/cubins/matmul-16x16x8.json b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.json new file mode 100644 index 0000000..72692e1 --- /dev/null +++ b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.json @@ -0,0 +1,36 @@ +{ + "format": "omega-native-artifact/1", + "artifact_id": "5fa1eb86547376a1336be32947b65c313f7401c1091feefc5ef5191b9ece3cb5", + "op": "matmul", + "shape": "m=16,k=16,n=8", + "bounds": "m<=8192,k<=16384,n<=8192", + "contract": "matmul-bf16-v1", + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "semantic_spec_id": "433818f04a6d185a0f5d22c4bfe1fd623bfd658638e8ea2829cd966b6eb2f40a", + "isa": "sm_121", + "machine_profile": "99e9e7b2a04a784130f398b57e15497f7367f606b60e62bfae065fe9a1795e7b", + "kernel_format": "nvidia-cubin-elf64", + "kernel_function": "omega_matmul_bf16", + "text_sha256": "f989e654f62d39272d24c478a7e4b40697698172a5986205b15fc9658d61c357", + "cubin_sha256": "1dac563e82ff3523681261d9fb79d89db74f4081ca0a6328049940fc1c4c007b", + "text_size": 1152, + "cubin_size": 3888, + "cbank_offset": 896, + "cbank_words": 10, + "grid": [1,1,1], + "block": [32,1,1], + "shared_bytes": 1024, + "gpr_count": 40, + "qmd0_sha256": "2798dfb2ac70c1597cce679eb58d4a23cc24db294891a81f5cc444d1aa0db349", + "qmd1_sha256": "73eec0f8510613ce07c82638ad389608eff2f478f6214e3cdd04cc6e5cb83722", + "cbank_args_sha256": "370350e96af78d9b6b5ede6085d6cee228a6b60be4f4fd50dc0df49bd4619f2b", + "qmd_template": "zero-va-v1", + "precision": "bf16", + "accumulation": "fp32", + "tolerance": "abs<=1e-5*max(1,abs(ref))", + "min_driver": "580.173.02", + "requires": "sm_121,nvidia-cubin-abi-v8", + "provenance_tool": "cudapp-artifact-export/1", + "provenance_source_commit": "b774723f537cec16a359fe082b8100317a5b5490", + "qualification": "offline-disassembly=PASS;device-load=NOT_RUN;device-exec=NOT_RUN" +} diff --git a/evidence/device-window/L939-w2/cubins/matmul-16x16x8.manifest b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.manifest new file mode 100644 index 0000000..0ce3c5a --- /dev/null +++ b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.manifest @@ -0,0 +1,35 @@ +omega-native-artifact/1 +artifact_id=5fa1eb86547376a1336be32947b65c313f7401c1091feefc5ef5191b9ece3cb5 +op=matmul +shape=m=16,k=16,n=8 +bounds=m<=8192,k<=16384,n<=8192 +contract=matmul-bf16-v1 +contract_id=647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704 +semantic_spec_id=433818f04a6d185a0f5d22c4bfe1fd623bfd658638e8ea2829cd966b6eb2f40a +isa=sm_121 +machine_profile=99e9e7b2a04a784130f398b57e15497f7367f606b60e62bfae065fe9a1795e7b +kernel_format=nvidia-cubin-elf64 +kernel_function=omega_matmul_bf16 +text_sha256=f989e654f62d39272d24c478a7e4b40697698172a5986205b15fc9658d61c357 +text_size=1152 +cubin_sha256=1dac563e82ff3523681261d9fb79d89db74f4081ca0a6328049940fc1c4c007b +cubin_size=3888 +qmd0_sha256=2798dfb2ac70c1597cce679eb58d4a23cc24db294891a81f5cc444d1aa0db349 +qmd1_sha256=73eec0f8510613ce07c82638ad389608eff2f478f6214e3cdd04cc6e5cb83722 +qmd_template=zero-va-v1 +cbank_offset=0x380 +cbank_words=10 +cbank_args=template +cbank_args_sha256=370350e96af78d9b6b5ede6085d6cee228a6b60be4f4fd50dc0df49bd4619f2b +grid=1,1,1 +block=32,1,1 +shared_bytes=1024 +gpr_count=40 +precision=bf16 +accumulation=fp32 +tolerance=abs<=1e-5*max(1,abs(ref)) +min_driver=580.173.02 +requires=sm_121,nvidia-cubin-abi-v8 +qualification=offline-disassembly=PASS;device-load=NOT_RUN;device-exec=NOT_RUN +provenance_source_commit=b774723f537cec16a359fe082b8100317a5b5490 +provenance_tool=cudapp-artifact-export/1 diff --git a/evidence/device-window/L939-w2/cubins/matmul-16x16x8.qmd0.bin b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.qmd0.bin new file mode 100644 index 0000000..3163fb5 Binary files /dev/null and b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.qmd0.bin differ diff --git a/evidence/device-window/L939-w2/cubins/matmul-16x16x8.qmd1.bin b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.qmd1.bin new file mode 100644 index 0000000..ce8f822 Binary files /dev/null and b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.qmd1.bin differ diff --git a/evidence/device-window/L939-w2/cubins/matmul-16x16x8.sha256 b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.sha256 new file mode 100644 index 0000000..c637c8a --- /dev/null +++ b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.sha256 @@ -0,0 +1,7 @@ +5fa1eb86547376a1336be32947b65c313f7401c1091feefc5ef5191b9ece3cb5 artifact_id +5de03e799753eb765f6b8e2f8f6b0bef81715887506886ddcc2bb5fdf893d598 manifest +1dac563e82ff3523681261d9fb79d89db74f4081ca0a6328049940fc1c4c007b cubin +f989e654f62d39272d24c478a7e4b40697698172a5986205b15fc9658d61c357 text +2798dfb2ac70c1597cce679eb58d4a23cc24db294891a81f5cc444d1aa0db349 qmd0 +73eec0f8510613ce07c82638ad389608eff2f478f6214e3cdd04cc6e5cb83722 qmd1 +370350e96af78d9b6b5ede6085d6cee228a6b60be4f4fd50dc0df49bd4619f2b cbank_args diff --git a/evidence/device-window/L939-w2/cubins/matmul-16x16x8.text.bin b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.text.bin new file mode 100644 index 0000000..19cabae Binary files /dev/null and b/evidence/device-window/L939-w2/cubins/matmul-16x16x8.text.bin differ diff --git a/evidence/device-window/L939-w2/rc.txt b/evidence/device-window/L939-w2/rc.txt new file mode 100644 index 0000000..d9cc296 --- /dev/null +++ b/evidence/device-window/L939-w2/rc.txt @@ -0,0 +1,10 @@ +01-cubin-matmul rc=4 +02-cubin-gqa-load rc=0 +03-cubin-stale-reject rc=0 +04-conformance-device rc=0 +05-pair1-conformance-device rc=0 +06-pair2-conformance-device rc=1 +07-pair3-conformance-device rc=0 +08-pair4-conformance-device rc=0 +09-pair5-conformance-device rc=0 +10-torch-cudapp rc=0 diff --git a/evidence/device-window/L939-w2/torch-receipt.json b/evidence/device-window/L939-w2/torch-receipt.json new file mode 100644 index 0000000..edb3e00 --- /dev/null +++ b/evidence/device-window/L939-w2/torch-receipt.json @@ -0,0 +1,160 @@ +{ + "schema": "CUDAPP_TORCH_V1", + "torch": "2.14.1+cpu", + "verdict": "PASS", + "cases": [ + { + "op": "cudapp::mm", + "m": 1, + "k": 1, + "n": 1, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 1.4553855010035477e-08, + "max_err_over_bound": 0.2094172903959941, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 3, + "k": 257, + "n": 129, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 1.4199952246940484e-05, + "max_err_over_bound": 0.0006810386003039764, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 17, + "k": 2048, + "n": 96, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 0.00031148626860044715, + "max_err_over_bound": 0.00022958310801540795, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 64, + "k": 64, + "n": 64, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 4.476430376598728e-06, + "max_err_over_bound": 0.002678575901699341, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 5, + "k": 1809, + "n": 33, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 0.00028849767313943175, + "max_err_over_bound": 0.0002479941293363415, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 5, + "k": 300, + "n": 7, + "dtype": "bfloat16", + "mutant": 0, + "route": 1, + "route_expected": 1, + "max_abs_err": 2.4061650037765503e-05, + "max_err_over_bound": 0.006565537468473077, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 32, + "k": 128, + "n": 64, + "dtype": "bfloat16", + "mutant": 0, + "route": 1, + "route_expected": 1, + "max_abs_err": 8.58306884765625e-06, + "max_err_over_bound": 0.013155373834931455, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 5, + "k": 300, + "n": 7, + "dtype": "float16", + "mutant": 0, + "route": 1, + "route_expected": 1, + "max_abs_err": 1.6046687960624695e-05, + "max_err_over_bound": 0.004848975923834368, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 32, + "k": 128, + "n": 64, + "dtype": "float16", + "mutant": 0, + "route": 1, + "route_expected": 1, + "max_abs_err": 1.1332333087921143e-05, + "max_err_over_bound": 0.018825492524675278, + "inside_bound": true + }, + { + "op": "cudapp::swiglu", + "n": 1, + "max_abs_err": 8.461514294788586e-09, + "max_err_over_bound": 0.0034650273184958064, + "inside_bound": true + }, + { + "op": "cudapp::swiglu", + "n": 1000, + "max_abs_err": 1.3221445520628095e-06, + "max_err_over_bound": 0.015685670748588225, + "inside_bound": true + }, + { + "op": "cudapp::swiglu", + "n": 65536, + "max_abs_err": 3.6893320967124055e-06, + "max_err_over_bound": 0.02078471047596202, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 3, + "k": 257, + "n": 129, + "dtype": "float32", + "mutant": 1, + "route": 3, + "route_expected": 3, + "max_abs_err": 5.5826134483306085, + "max_err_over_bound": 256.6837092618614, + "inside_bound": false, + "negative_control": true, + "caught": true + } + ] +} \ No newline at end of file diff --git a/evidence/device-window/L939-w2/window.txt b/evidence/device-window/L939-w2/window.txt new file mode 100644 index 0000000..6eefae5 --- /dev/null +++ b/evidence/device-window/L939-w2/window.txt @@ -0,0 +1,16 @@ +window_id 20261107T030636Z-94ee34 +opened_here 1 +host spark-b87b +start_utc 2026-11-07T03:06:41Z +bridge_head 46ed1fc171506bd75d5e0ed90424b58b0afae9f0 +bridge_dirty 0 +cudapp_head b774723f537cec16a359fe082b8100317a5b5490 +script_sha256 1c52514755e41e2880b59324a1625850e64fed11f4af47889b1e6b04c6bbd926 +input_sha256 866cd6036db958092a7715e16fba899af7a309e75d93534c7c658a663506ee83 build/cubin_probe +input_sha256 1dac563e82ff3523681261d9fb79d89db74f4081ca0a6328049940fc1c4c007b window-cubins/matmul-16x16x8.cubin +input_sha256 90b5c752f793d1187485f7dcec0921001443498584075d13cfb47bf9236d2169 window-cubins/attention-hd128-gqa8.cubin +input_sha256 7d1306933b67fa24a20dba59d39bf48fbd4aa5cec37e046e3b664e5e0c4b34eb 68/matmul-16x16x8.cubin +input_sha256 9ab55c775184ba78cecc5a0549703b974423a06dc6058513c0743b556a23c3c7 artifacts/libcudapp_attach.so +input_sha256 18af54fd1c4f79afdb763aabb153a0bf7b36f293a556353373ef680d51b37008 build/libomega_gpu.a +pairs 5 +end_utc 2026-11-07T03:07:58Z diff --git a/evidence/device-window/L939-w3/01-cubin-matmul.log b/evidence/device-window/L939-w3/01-cubin-matmul.log new file mode 100644 index 0000000..06f8a5f --- /dev/null +++ b/evidence/device-window/L939-w3/01-cubin-matmul.log @@ -0,0 +1,5 @@ +LOAD cuModuleLoadDataEx -> 0 no error +LOAD error_log="" +LOAD info_log="" +LOAD cuModuleGetFunction(omega_matmul_bf16) -> 0 no error +cubin=/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/window-cubins/matmul-16x16x8.cubin fn=omega_matmul_bf16 M=16 K=16 N=8 worst_abs=0 bad=0 untouched=0 window=20261107T030848Z-b5d44f diff --git a/evidence/device-window/L939-w3/02-cubin-gqa-load.log b/evidence/device-window/L939-w3/02-cubin-gqa-load.log new file mode 100644 index 0000000..b4a75c5 --- /dev/null +++ b/evidence/device-window/L939-w3/02-cubin-gqa-load.log @@ -0,0 +1,5 @@ +LOAD cuModuleLoadDataEx -> 0 no error +LOAD error_log="" +LOAD info_log="" +LOAD cuModuleGetFunction(omega_gqa_attention_causal) -> 0 no error +LOAD-PASS cubin=/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/window-cubins/attention-hd128-gqa8.cubin fn=omega_gqa_attention_causal window=20261107T030848Z-b5d44f diff --git a/evidence/device-window/L939-w3/03-cubin-stale-reject.log b/evidence/device-window/L939-w3/03-cubin-stale-reject.log new file mode 100644 index 0000000..064a755 --- /dev/null +++ b/evidence/device-window/L939-w3/03-cubin-stale-reject.log @@ -0,0 +1,4 @@ +LOAD cuModuleLoadDataEx -> 200 device kernel image is invalid +LOAD error_log="" +LOAD info_log="" +REJECT-PASS cubin=/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin fn=omega_matmul_bf16 window=20261107T030848Z-b5d44f diff --git a/evidence/device-window/L939-w3/04-conformance-device.log b/evidence/device-window/L939-w3/04-conformance-device.log new file mode 100644 index 0000000..4a70072 --- /dev/null +++ b/evidence/device-window/L939-w3/04-conformance-device.log @@ -0,0 +1,27 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.055s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.021083108964376, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.0005035559879615903, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.0205417450051755, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0005084199365228415, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.05216175399255, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "execute_seconds": 0.3158552279928699, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.09184126497712, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "execute_seconds": 0.0010806319769471884, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +CONFORMANCE HARNESS PASS diff --git a/evidence/device-window/L939-w3/04-conformance-device.out.sha256 b/evidence/device-window/L939-w3/04-conformance-device.out.sha256 new file mode 100644 index 0000000..57fcf31 --- /dev/null +++ b/evidence/device-window/L939-w3/04-conformance-device.out.sha256 @@ -0,0 +1,8 @@ +819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407 max-gpu-attn.bin +797b7e96d2d207b43e566d4d12b28797b8c93b43a46244100b601ff90a8e0235 max-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 max-gpu-matmul.bin +adbcafa0e0deea1c00ef2dbd38d23d7c587a8cf8f84cfc6c810899560c8eff0b max-gpu-matmul.json +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +549b98e1d09943d41d0cf0e3557726d12dbc1184324726a2c42fbccc878428f2 omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +d92d64d0dccfe6a242dbd15438d4176dc89dda7dd293ad13d45a514b20bf577c omega-gpu-matmul.json diff --git a/evidence/device-window/L939-w3/04-conformance-device.out/max-gpu-attn.bin b/evidence/device-window/L939-w3/04-conformance-device.out/max-gpu-attn.bin new file mode 100644 index 0000000..f571fe0 Binary files /dev/null and b/evidence/device-window/L939-w3/04-conformance-device.out/max-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w3/04-conformance-device.out/max-gpu-attn.json b/evidence/device-window/L939-w3/04-conformance-device.out/max-gpu-attn.json new file mode 100644 index 0000000..318dbce --- /dev/null +++ b/evidence/device-window/L939-w3/04-conformance-device.out/max-gpu-attn.json @@ -0,0 +1,17 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.09184126497712, + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "device": "gpu", + "execute_seconds": 0.0010806319769471884, + "max_version": "unknown", + "numeric_path": "fp32-softmax", + "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", + "runner": "modular-max", + "shape": [ + 2, + 4, + 128 + ], + "spark_window": "20261107T030848Z-b5d44f" +} diff --git a/evidence/device-window/L939-w3/04-conformance-device.out/max-gpu-matmul.bin b/evidence/device-window/L939-w3/04-conformance-device.out/max-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w3/04-conformance-device.out/max-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w3/04-conformance-device.out/max-gpu-matmul.json b/evidence/device-window/L939-w3/04-conformance-device.out/max-gpu-matmul.json new file mode 100644 index 0000000..5c3ebb7 --- /dev/null +++ b/evidence/device-window/L939-w3/04-conformance-device.out/max-gpu-matmul.json @@ -0,0 +1,16 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.05216175399255, + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "device": "gpu", + "execute_seconds": 0.3158552279928699, + "max_version": "unknown", + "numeric_path": "fp32-mul-add (exact for this fixture)", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "runner": "modular-max", + "shape": [ + 4, + 3 + ], + "spark_window": "20261107T030848Z-b5d44f" +} diff --git a/evidence/device-window/L939-w3/04-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939-w3/04-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939-w3/04-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w3/04-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939-w3/04-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..bff7e88 --- /dev/null +++ b/evidence/device-window/L939-w3/04-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.030282510, + "spark_window": "20261107T030848Z-b5d44f", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 30273166, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939-w3/04-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939-w3/04-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w3/04-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w3/04-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939-w3/04-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..8ba2455 --- /dev/null +++ b/evidence/device-window/L939-w3/04-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.049681013, + "spark_window": "20261107T030848Z-b5d44f", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 49664949, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939-w3/05-pair1-conformance-device.log b/evidence/device-window/L939-w3/05-pair1-conformance-device.log new file mode 100644 index 0000000..c1ba208 --- /dev/null +++ b/evidence/device-window/L939-w3/05-pair1-conformance-device.log @@ -0,0 +1,27 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.057s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.0523071319330484, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.0006220530485734344, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.027554074069485, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0005989810451865196, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.051883704960346, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "execute_seconds": 0.21272713993676007, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.0456328090513125, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "execute_seconds": 0.0010438800090923905, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +CONFORMANCE HARNESS PASS diff --git a/evidence/device-window/L939-w3/05-pair1-conformance-device.out.sha256 b/evidence/device-window/L939-w3/05-pair1-conformance-device.out.sha256 new file mode 100644 index 0000000..1c94149 --- /dev/null +++ b/evidence/device-window/L939-w3/05-pair1-conformance-device.out.sha256 @@ -0,0 +1,8 @@ +819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407 max-gpu-attn.bin +bfa7063af8e511cbba00c57f09057bb329e5fad2a87cbfc7333c85387ffe3b31 max-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 max-gpu-matmul.bin +c7d905933c2159e657d98bb711591da23b5bb3defbd6989e56ae0952d4c50a43 max-gpu-matmul.json +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +085c575f89f446b6150ec69749b5b200b08d8ae93a3adc28c5f2e5db09c41897 omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +32d26a93e027edd0c45c87aab675046460b3e796a2d0ac131080cfa4e7a6e5cb omega-gpu-matmul.json diff --git a/evidence/device-window/L939-w3/05-pair1-conformance-device.out/max-gpu-attn.bin b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/max-gpu-attn.bin new file mode 100644 index 0000000..f571fe0 Binary files /dev/null and b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/max-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w3/05-pair1-conformance-device.out/max-gpu-attn.json b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/max-gpu-attn.json new file mode 100644 index 0000000..0d600c1 --- /dev/null +++ b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/max-gpu-attn.json @@ -0,0 +1,17 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.0456328090513125, + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "device": "gpu", + "execute_seconds": 0.0010438800090923905, + "max_version": "unknown", + "numeric_path": "fp32-softmax", + "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", + "runner": "modular-max", + "shape": [ + 2, + 4, + 128 + ], + "spark_window": "20261107T030848Z-b5d44f" +} diff --git a/evidence/device-window/L939-w3/05-pair1-conformance-device.out/max-gpu-matmul.bin b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/max-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/max-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w3/05-pair1-conformance-device.out/max-gpu-matmul.json b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/max-gpu-matmul.json new file mode 100644 index 0000000..7255997 --- /dev/null +++ b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/max-gpu-matmul.json @@ -0,0 +1,16 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.051883704960346, + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "device": "gpu", + "execute_seconds": 0.21272713993676007, + "max_version": "unknown", + "numeric_path": "fp32-mul-add (exact for this fixture)", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "runner": "modular-max", + "shape": [ + 4, + 3 + ], + "spark_window": "20261107T030848Z-b5d44f" +} diff --git a/evidence/device-window/L939-w3/05-pair1-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w3/05-pair1-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..7f61c85 --- /dev/null +++ b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.040790448, + "spark_window": "20261107T030848Z-b5d44f", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 40780576, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939-w3/05-pair1-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w3/05-pair1-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..1189222 --- /dev/null +++ b/evidence/device-window/L939-w3/05-pair1-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.880064229, + "spark_window": "20261107T030848Z-b5d44f", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 880048917, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939-w3/06-pair2-conformance-device.log b/evidence/device-window/L939-w3/06-pair2-conformance-device.log new file mode 100644 index 0000000..9ca5ff9 --- /dev/null +++ b/evidence/device-window/L939-w3/06-pair2-conformance-device.log @@ -0,0 +1,27 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.050s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.004018787993118, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.0005155879771336913, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.0439807650400326, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.000968951964750886, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.0794283229624853, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "execute_seconds": 0.21156217099633068, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.050915300962515, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "execute_seconds": 0.001295897993259132, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +CONFORMANCE HARNESS PASS diff --git a/evidence/device-window/L939-w3/06-pair2-conformance-device.out.sha256 b/evidence/device-window/L939-w3/06-pair2-conformance-device.out.sha256 new file mode 100644 index 0000000..148e470 --- /dev/null +++ b/evidence/device-window/L939-w3/06-pair2-conformance-device.out.sha256 @@ -0,0 +1,8 @@ +819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407 max-gpu-attn.bin +2503ae07f3f9aeddba9bf8f62e2cbc2b5ba18561e91a1d289ee636b2f818de6b max-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 max-gpu-matmul.bin +8f74bc778bb3f487b34d3d3a915397ed77be698f5c2d6618d35bdfe86e1ead6c max-gpu-matmul.json +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +2d729cfb711ef79a7e6d99d3a5f9c94e4ebff8825a635ae28e14d7337705e89f omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +08583388e3105a4605bf772afa396dd6a9562e6b2e13f0e6d41bcd07adaa749c omega-gpu-matmul.json diff --git a/evidence/device-window/L939-w3/06-pair2-conformance-device.out/max-gpu-attn.bin b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/max-gpu-attn.bin new file mode 100644 index 0000000..f571fe0 Binary files /dev/null and b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/max-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w3/06-pair2-conformance-device.out/max-gpu-attn.json b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/max-gpu-attn.json new file mode 100644 index 0000000..2e4c4ee --- /dev/null +++ b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/max-gpu-attn.json @@ -0,0 +1,17 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.050915300962515, + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "device": "gpu", + "execute_seconds": 0.001295897993259132, + "max_version": "unknown", + "numeric_path": "fp32-softmax", + "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", + "runner": "modular-max", + "shape": [ + 2, + 4, + 128 + ], + "spark_window": "20261107T030848Z-b5d44f" +} diff --git a/evidence/device-window/L939-w3/06-pair2-conformance-device.out/max-gpu-matmul.bin b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/max-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/max-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w3/06-pair2-conformance-device.out/max-gpu-matmul.json b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/max-gpu-matmul.json new file mode 100644 index 0000000..311d9cd --- /dev/null +++ b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/max-gpu-matmul.json @@ -0,0 +1,16 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.0794283229624853, + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "device": "gpu", + "execute_seconds": 0.21156217099633068, + "max_version": "unknown", + "numeric_path": "fp32-mul-add (exact for this fixture)", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "runner": "modular-max", + "shape": [ + 4, + 3 + ], + "spark_window": "20261107T030848Z-b5d44f" +} diff --git a/evidence/device-window/L939-w3/06-pair2-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w3/06-pair2-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..f976ce3 --- /dev/null +++ b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.043295699, + "spark_window": "20261107T030848Z-b5d44f", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 43285587, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939-w3/06-pair2-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w3/06-pair2-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..518880c --- /dev/null +++ b/evidence/device-window/L939-w3/06-pair2-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.059488226, + "spark_window": "20261107T030848Z-b5d44f", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 59474194, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939-w3/07-pair3-conformance-device.log b/evidence/device-window/L939-w3/07-pair3-conformance-device.log new file mode 100644 index 0000000..81f43c4 --- /dev/null +++ b/evidence/device-window/L939-w3/07-pair3-conformance-device.log @@ -0,0 +1,27 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.056s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.0354417719645426, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.0005259239114820957, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.031476796953939, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0005605480400845408, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.0719073379877955, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "execute_seconds": 0.21461768308654428, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.038911927025765, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "execute_seconds": 0.0010733850067481399, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +CONFORMANCE HARNESS PASS diff --git a/evidence/device-window/L939-w3/07-pair3-conformance-device.out.sha256 b/evidence/device-window/L939-w3/07-pair3-conformance-device.out.sha256 new file mode 100644 index 0000000..3d9b330 --- /dev/null +++ b/evidence/device-window/L939-w3/07-pair3-conformance-device.out.sha256 @@ -0,0 +1,8 @@ +819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407 max-gpu-attn.bin +5616168dfc23d600960efa9d91b34d691b2524819fb8415b33ec77a3f1ee859e max-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 max-gpu-matmul.bin +a410565d8d86dc7f59f58a4f06ed7d1ad3e847a6b9d8e94c6fa4e09484675c8d max-gpu-matmul.json +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +ea0beb83baea29531330c19fdfa5b92cdb6881135cf500357236edf8e62413e6 omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +75e34a2acf068863f1688d85e928b166e0d089eed78432df1022e51848b8b407 omega-gpu-matmul.json diff --git a/evidence/device-window/L939-w3/07-pair3-conformance-device.out/max-gpu-attn.bin b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/max-gpu-attn.bin new file mode 100644 index 0000000..f571fe0 Binary files /dev/null and b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/max-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w3/07-pair3-conformance-device.out/max-gpu-attn.json b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/max-gpu-attn.json new file mode 100644 index 0000000..a0735aa --- /dev/null +++ b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/max-gpu-attn.json @@ -0,0 +1,17 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.038911927025765, + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "device": "gpu", + "execute_seconds": 0.0010733850067481399, + "max_version": "unknown", + "numeric_path": "fp32-softmax", + "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", + "runner": "modular-max", + "shape": [ + 2, + 4, + 128 + ], + "spark_window": "20261107T030848Z-b5d44f" +} diff --git a/evidence/device-window/L939-w3/07-pair3-conformance-device.out/max-gpu-matmul.bin b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/max-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/max-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w3/07-pair3-conformance-device.out/max-gpu-matmul.json b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/max-gpu-matmul.json new file mode 100644 index 0000000..3d468de --- /dev/null +++ b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/max-gpu-matmul.json @@ -0,0 +1,16 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.0719073379877955, + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "device": "gpu", + "execute_seconds": 0.21461768308654428, + "max_version": "unknown", + "numeric_path": "fp32-mul-add (exact for this fixture)", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "runner": "modular-max", + "shape": [ + 4, + 3 + ], + "spark_window": "20261107T030848Z-b5d44f" +} diff --git a/evidence/device-window/L939-w3/07-pair3-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w3/07-pair3-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..2e20911 --- /dev/null +++ b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.030805729, + "spark_window": "20261107T030848Z-b5d44f", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 30796145, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939-w3/07-pair3-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w3/07-pair3-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..1aa2113 --- /dev/null +++ b/evidence/device-window/L939-w3/07-pair3-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.055188049, + "spark_window": "20261107T030848Z-b5d44f", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 55173201, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939-w3/08-pair4-conformance-device.log b/evidence/device-window/L939-w3/08-pair4-conformance-device.log new file mode 100644 index 0000000..45c34d8 --- /dev/null +++ b/evidence/device-window/L939-w3/08-pair4-conformance-device.log @@ -0,0 +1,27 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.056s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.0783021729439497, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.000536931911483407, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.025837074033916, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0005404679104685783, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.0582001919392496, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "execute_seconds": 0.20751799596473575, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.0582789620384574, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "execute_seconds": 0.0012654020683839917, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +CONFORMANCE HARNESS PASS diff --git a/evidence/device-window/L939-w3/08-pair4-conformance-device.out.sha256 b/evidence/device-window/L939-w3/08-pair4-conformance-device.out.sha256 new file mode 100644 index 0000000..56652e2 --- /dev/null +++ b/evidence/device-window/L939-w3/08-pair4-conformance-device.out.sha256 @@ -0,0 +1,8 @@ +819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407 max-gpu-attn.bin +453f21881057db8477725adaa07ad8b2080b67fb7ec56c45f88df25b7da09c3f max-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 max-gpu-matmul.bin +407609ab0fccff51945df7562be600d95a1006c2e93d45be68d3e724e7957071 max-gpu-matmul.json +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +c5945e92e68cc17f28c746dc1678c315ab8994344ce7ca968c830ce44e74dbf2 omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +13dc18a731b15cb4f29d80634db8a8c9e6d6209d3c7aaab84c1d814483f3dc7f omega-gpu-matmul.json diff --git a/evidence/device-window/L939-w3/08-pair4-conformance-device.out/max-gpu-attn.bin b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/max-gpu-attn.bin new file mode 100644 index 0000000..f571fe0 Binary files /dev/null and b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/max-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w3/08-pair4-conformance-device.out/max-gpu-attn.json b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/max-gpu-attn.json new file mode 100644 index 0000000..1b0d0e8 --- /dev/null +++ b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/max-gpu-attn.json @@ -0,0 +1,17 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.0582789620384574, + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "device": "gpu", + "execute_seconds": 0.0012654020683839917, + "max_version": "unknown", + "numeric_path": "fp32-softmax", + "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", + "runner": "modular-max", + "shape": [ + 2, + 4, + 128 + ], + "spark_window": "20261107T030848Z-b5d44f" +} diff --git a/evidence/device-window/L939-w3/08-pair4-conformance-device.out/max-gpu-matmul.bin b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/max-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/max-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w3/08-pair4-conformance-device.out/max-gpu-matmul.json b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/max-gpu-matmul.json new file mode 100644 index 0000000..a9e11b0 --- /dev/null +++ b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/max-gpu-matmul.json @@ -0,0 +1,16 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.0582001919392496, + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "device": "gpu", + "execute_seconds": 0.20751799596473575, + "max_version": "unknown", + "numeric_path": "fp32-mul-add (exact for this fixture)", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "runner": "modular-max", + "shape": [ + 4, + 3 + ], + "spark_window": "20261107T030848Z-b5d44f" +} diff --git a/evidence/device-window/L939-w3/08-pair4-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w3/08-pair4-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..276a7eb --- /dev/null +++ b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.045618310, + "spark_window": "20261107T030848Z-b5d44f", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 45608389, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939-w3/08-pair4-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w3/08-pair4-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..db3c085 --- /dev/null +++ b/evidence/device-window/L939-w3/08-pair4-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.083903347, + "spark_window": "20261107T030848Z-b5d44f", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 83887234, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939-w3/09-pair5-conformance-device.log b/evidence/device-window/L939-w3/09-pair5-conformance-device.log new file mode 100644 index 0000000..4337c47 --- /dev/null +++ b/evidence/device-window/L939-w3/09-pair5-conformance-device.log @@ -0,0 +1,27 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.052s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.0803503029746935, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.002870135009288788, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.0464090610621497, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0005698769818991423, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.0957699130522087, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "execute_seconds": 0.22847592097241431, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +{"accelerator_api": "cuda", "compile_seconds": 2.0706871720030904, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "execute_seconds": 0.0011112410575151443, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T030848Z-b5d44f"} +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +CONFORMANCE HARNESS PASS diff --git a/evidence/device-window/L939-w3/09-pair5-conformance-device.out.sha256 b/evidence/device-window/L939-w3/09-pair5-conformance-device.out.sha256 new file mode 100644 index 0000000..6dd41e7 --- /dev/null +++ b/evidence/device-window/L939-w3/09-pair5-conformance-device.out.sha256 @@ -0,0 +1,8 @@ +819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407 max-gpu-attn.bin +e1f698ddb93a909aaf32e9468c24373e940f5cba9bce47161cde062024c21dbe max-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 max-gpu-matmul.bin +58978b2cdfa9802f059bde17af7a2ef9ae4b9bfa5af84871ee9efba524ee78d3 max-gpu-matmul.json +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +9a262b98c7054c9fec29247de197f233bb84426bfc921b669f1985104a623e8c omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +be17e27d796d51ed2eead847347c88fbbd1ee2866115a8cf98d1ce75ae3d251b omega-gpu-matmul.json diff --git a/evidence/device-window/L939-w3/09-pair5-conformance-device.out/max-gpu-attn.bin b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/max-gpu-attn.bin new file mode 100644 index 0000000..f571fe0 Binary files /dev/null and b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/max-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w3/09-pair5-conformance-device.out/max-gpu-attn.json b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/max-gpu-attn.json new file mode 100644 index 0000000..e1b2226 --- /dev/null +++ b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/max-gpu-attn.json @@ -0,0 +1,17 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.0706871720030904, + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "device": "gpu", + "execute_seconds": 0.0011112410575151443, + "max_version": "unknown", + "numeric_path": "fp32-softmax", + "output_sha256": "819f83e329b65dee6544fb58d81898f9e6abece3b728992d10fcff702079b407", + "runner": "modular-max", + "shape": [ + 2, + 4, + 128 + ], + "spark_window": "20261107T030848Z-b5d44f" +} diff --git a/evidence/device-window/L939-w3/09-pair5-conformance-device.out/max-gpu-matmul.bin b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/max-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/max-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w3/09-pair5-conformance-device.out/max-gpu-matmul.json b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/max-gpu-matmul.json new file mode 100644 index 0000000..be2b7d6 --- /dev/null +++ b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/max-gpu-matmul.json @@ -0,0 +1,16 @@ +{ + "accelerator_api": "cuda", + "compile_seconds": 2.0957699130522087, + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "device": "gpu", + "execute_seconds": 0.22847592097241431, + "max_version": "unknown", + "numeric_path": "fp32-mul-add (exact for this fixture)", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "runner": "modular-max", + "shape": [ + 4, + 3 + ], + "spark_window": "20261107T030848Z-b5d44f" +} diff --git a/evidence/device-window/L939-w3/09-pair5-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939-w3/09-pair5-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..1e90c5e --- /dev/null +++ b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.030247933, + "spark_window": "20261107T030848Z-b5d44f", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 30238285, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939-w3/09-pair5-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939-w3/09-pair5-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..dfdcd91 --- /dev/null +++ b/evidence/device-window/L939-w3/09-pair5-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.061183120, + "spark_window": "20261107T030848Z-b5d44f", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 61168960, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939-w3/10-torch-cudapp.log b/evidence/device-window/L939-w3/10-torch-cudapp.log new file mode 100644 index 0000000..5d4a546 --- /dev/null +++ b/evidence/device-window/L939-w3/10-torch-cudapp.log @@ -0,0 +1,14 @@ +{"op": "cudapp::mm", "m": 1, "k": 1, "n": 1, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 1.4553855010035477e-08, "max_err_over_bound": 0.2094172903959941, "inside_bound": true} +{"op": "cudapp::mm", "m": 3, "k": 257, "n": 129, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 1.4199952246940484e-05, "max_err_over_bound": 0.0006810386003039764, "inside_bound": true} +{"op": "cudapp::mm", "m": 17, "k": 2048, "n": 96, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 0.00031148626860044715, "max_err_over_bound": 0.00022958310801540795, "inside_bound": true} +{"op": "cudapp::mm", "m": 64, "k": 64, "n": 64, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 4.476430376598728e-06, "max_err_over_bound": 0.002678575901699341, "inside_bound": true} +{"op": "cudapp::mm", "m": 5, "k": 1809, "n": 33, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 0.00028849767313943175, "max_err_over_bound": 0.0002479941293363415, "inside_bound": true} +{"op": "cudapp::mm", "m": 5, "k": 300, "n": 7, "dtype": "bfloat16", "mutant": 0, "route": 1, "route_expected": 1, "max_abs_err": 2.4061650037765503e-05, "max_err_over_bound": 0.006565537468473077, "inside_bound": true} +{"op": "cudapp::mm", "m": 32, "k": 128, "n": 64, "dtype": "bfloat16", "mutant": 0, "route": 1, "route_expected": 1, "max_abs_err": 8.58306884765625e-06, "max_err_over_bound": 0.013155373834931455, "inside_bound": true} +{"op": "cudapp::mm", "m": 5, "k": 300, "n": 7, "dtype": "float16", "mutant": 0, "route": 1, "route_expected": 1, "max_abs_err": 1.6046687960624695e-05, "max_err_over_bound": 0.004848975923834368, "inside_bound": true} +{"op": "cudapp::mm", "m": 32, "k": 128, "n": 64, "dtype": "float16", "mutant": 0, "route": 1, "route_expected": 1, "max_abs_err": 1.1332333087921143e-05, "max_err_over_bound": 0.018825492524675278, "inside_bound": true} +{"op": "cudapp::swiglu", "n": 1, "max_abs_err": 8.461514294788586e-09, "max_err_over_bound": 0.0034650273184958064, "inside_bound": true} +{"op": "cudapp::swiglu", "n": 1000, "max_abs_err": 1.3221445520628095e-06, "max_err_over_bound": 0.015685670748588225, "inside_bound": true} +{"op": "cudapp::swiglu", "n": 65536, "max_abs_err": 3.6893320967124055e-06, "max_err_over_bound": 0.02078471047596202, "inside_bound": true} +{"op": "cudapp::mm", "m": 3, "k": 257, "n": 129, "dtype": "float32", "mutant": 1, "route": 3, "route_expected": 3, "max_abs_err": 5.5826134483306085, "max_err_over_bound": 256.6837092618614, "inside_bound": false, "negative_control": true, "caught": true} +PASS diff --git a/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.cbank_args.bin b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.cbank_args.bin new file mode 100644 index 0000000..9fdc14c Binary files /dev/null and b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.cbank_args.bin differ diff --git a/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.cubin b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.cubin new file mode 100644 index 0000000..f4373dd Binary files /dev/null and b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.cubin differ diff --git a/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.json b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.json new file mode 100644 index 0000000..b81da3f --- /dev/null +++ b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.json @@ -0,0 +1,36 @@ +{ + "format": "omega-native-artifact/1", + "artifact_id": "43645ef61f29ffef503420a2530709333e5d2eee7321f64409e13937be3e532c", + "op": "gqa-causal-attention", + "shape": "r>=1,base=0,hq=8,hkv=1,hd=128", + "bounds": "hq<=64,hkv<=64,hd=128,rows+base<=4096", + "contract": "gqa-causal-v1", + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "semantic_spec_id": "639668d5b3001b950b7daf922d03b9dbebd9b4333ad04c48639caa2e84158a43", + "isa": "sm_121", + "machine_profile": "99e9e7b2a04a784130f398b57e15497f7367f606b60e62bfae065fe9a1795e7b", + "kernel_format": "nvidia-cubin-elf64", + "kernel_function": "omega_gqa_attention_causal", + "text_sha256": "b35cefefe59c48c5a91bf40c6219bdfd830afcdac9789443a4038a15dd6f42fa", + "cubin_sha256": "90b5c752f793d1187485f7dcec0921001443498584075d13cfb47bf9236d2169", + "text_size": 8192, + "cubin_size": 11240, + "cbank_offset": 896, + "cbank_words": 16, + "grid": [2,1,1], + "block": [128,1,1], + "shared_bytes": 6656, + "gpr_count": 80, + "qmd0_sha256": "2798dfb2ac70c1597cce679eb58d4a23cc24db294891a81f5cc444d1aa0db349", + "qmd1_sha256": "00bd9809e47934beae288436f10aa3cbaa4fc95f87fced74626116a9cf510782", + "cbank_args_sha256": "f48907d7da1a4e6f47237e9efb9bd08e4de0ce0a73a1377acb6069e2770fe00e", + "qmd_template": "zero-va-v1", + "precision": "f32-kv", + "accumulation": "fp32", + "tolerance": "rel<=1e-3,abs<=1e-4", + "min_driver": "580.173.02", + "requires": "sm_121,nvidia-cubin-abi-v8", + "provenance_tool": "cudapp-artifact-export/1", + "provenance_source_commit": "b774723f537cec16a359fe082b8100317a5b5490", + "qualification": "offline-disassembly=PASS;device-load=NOT_RUN;device-exec=NOT_RUN" +} diff --git a/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.manifest b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.manifest new file mode 100644 index 0000000..dbdc553 --- /dev/null +++ b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.manifest @@ -0,0 +1,35 @@ +omega-native-artifact/1 +artifact_id=43645ef61f29ffef503420a2530709333e5d2eee7321f64409e13937be3e532c +op=gqa-causal-attention +shape=r>=1,base=0,hq=8,hkv=1,hd=128 +bounds=hq<=64,hkv<=64,hd=128,rows+base<=4096 +contract=gqa-causal-v1 +contract_id=003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359 +semantic_spec_id=639668d5b3001b950b7daf922d03b9dbebd9b4333ad04c48639caa2e84158a43 +isa=sm_121 +machine_profile=99e9e7b2a04a784130f398b57e15497f7367f606b60e62bfae065fe9a1795e7b +kernel_format=nvidia-cubin-elf64 +kernel_function=omega_gqa_attention_causal +text_sha256=b35cefefe59c48c5a91bf40c6219bdfd830afcdac9789443a4038a15dd6f42fa +text_size=8192 +cubin_sha256=90b5c752f793d1187485f7dcec0921001443498584075d13cfb47bf9236d2169 +cubin_size=11240 +qmd0_sha256=2798dfb2ac70c1597cce679eb58d4a23cc24db294891a81f5cc444d1aa0db349 +qmd1_sha256=00bd9809e47934beae288436f10aa3cbaa4fc95f87fced74626116a9cf510782 +qmd_template=zero-va-v1 +cbank_offset=0x380 +cbank_words=16 +cbank_args=template +cbank_args_sha256=f48907d7da1a4e6f47237e9efb9bd08e4de0ce0a73a1377acb6069e2770fe00e +grid=2,1,1 +block=128,1,1 +shared_bytes=6656 +gpr_count=80 +precision=f32-kv +accumulation=fp32 +tolerance=rel<=1e-3,abs<=1e-4 +min_driver=580.173.02 +requires=sm_121,nvidia-cubin-abi-v8 +qualification=offline-disassembly=PASS;device-load=NOT_RUN;device-exec=NOT_RUN +provenance_source_commit=b774723f537cec16a359fe082b8100317a5b5490 +provenance_tool=cudapp-artifact-export/1 diff --git a/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.qmd0.bin b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.qmd0.bin new file mode 100644 index 0000000..3163fb5 Binary files /dev/null and b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.qmd0.bin differ diff --git a/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.qmd1.bin b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.qmd1.bin new file mode 100644 index 0000000..485d1f6 Binary files /dev/null and b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.qmd1.bin differ diff --git a/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.sha256 b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.sha256 new file mode 100644 index 0000000..8ea1d23 --- /dev/null +++ b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.sha256 @@ -0,0 +1,7 @@ +43645ef61f29ffef503420a2530709333e5d2eee7321f64409e13937be3e532c artifact_id +7155aae381c08404745f3e383d1efb52c669392c3141b2a582b6d9da9dd41ed4 manifest +90b5c752f793d1187485f7dcec0921001443498584075d13cfb47bf9236d2169 cubin +b35cefefe59c48c5a91bf40c6219bdfd830afcdac9789443a4038a15dd6f42fa text +2798dfb2ac70c1597cce679eb58d4a23cc24db294891a81f5cc444d1aa0db349 qmd0 +00bd9809e47934beae288436f10aa3cbaa4fc95f87fced74626116a9cf510782 qmd1 +f48907d7da1a4e6f47237e9efb9bd08e4de0ce0a73a1377acb6069e2770fe00e cbank_args diff --git a/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.text.bin b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.text.bin new file mode 100644 index 0000000..4cb6e74 Binary files /dev/null and b/evidence/device-window/L939-w3/cubins/attention-hd128-gqa8.text.bin differ diff --git a/evidence/device-window/L939-w3/cubins/matmul-16x16x8.cbank_args.bin b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.cbank_args.bin new file mode 100644 index 0000000..8bc8ffe Binary files /dev/null and b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.cbank_args.bin differ diff --git a/evidence/device-window/L939-w3/cubins/matmul-16x16x8.cubin b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.cubin new file mode 100644 index 0000000..d0651a3 Binary files /dev/null and b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.cubin differ diff --git a/evidence/device-window/L939-w3/cubins/matmul-16x16x8.json b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.json new file mode 100644 index 0000000..72692e1 --- /dev/null +++ b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.json @@ -0,0 +1,36 @@ +{ + "format": "omega-native-artifact/1", + "artifact_id": "5fa1eb86547376a1336be32947b65c313f7401c1091feefc5ef5191b9ece3cb5", + "op": "matmul", + "shape": "m=16,k=16,n=8", + "bounds": "m<=8192,k<=16384,n<=8192", + "contract": "matmul-bf16-v1", + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "semantic_spec_id": "433818f04a6d185a0f5d22c4bfe1fd623bfd658638e8ea2829cd966b6eb2f40a", + "isa": "sm_121", + "machine_profile": "99e9e7b2a04a784130f398b57e15497f7367f606b60e62bfae065fe9a1795e7b", + "kernel_format": "nvidia-cubin-elf64", + "kernel_function": "omega_matmul_bf16", + "text_sha256": "f989e654f62d39272d24c478a7e4b40697698172a5986205b15fc9658d61c357", + "cubin_sha256": "1dac563e82ff3523681261d9fb79d89db74f4081ca0a6328049940fc1c4c007b", + "text_size": 1152, + "cubin_size": 3888, + "cbank_offset": 896, + "cbank_words": 10, + "grid": [1,1,1], + "block": [32,1,1], + "shared_bytes": 1024, + "gpr_count": 40, + "qmd0_sha256": "2798dfb2ac70c1597cce679eb58d4a23cc24db294891a81f5cc444d1aa0db349", + "qmd1_sha256": "73eec0f8510613ce07c82638ad389608eff2f478f6214e3cdd04cc6e5cb83722", + "cbank_args_sha256": "370350e96af78d9b6b5ede6085d6cee228a6b60be4f4fd50dc0df49bd4619f2b", + "qmd_template": "zero-va-v1", + "precision": "bf16", + "accumulation": "fp32", + "tolerance": "abs<=1e-5*max(1,abs(ref))", + "min_driver": "580.173.02", + "requires": "sm_121,nvidia-cubin-abi-v8", + "provenance_tool": "cudapp-artifact-export/1", + "provenance_source_commit": "b774723f537cec16a359fe082b8100317a5b5490", + "qualification": "offline-disassembly=PASS;device-load=NOT_RUN;device-exec=NOT_RUN" +} diff --git a/evidence/device-window/L939-w3/cubins/matmul-16x16x8.manifest b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.manifest new file mode 100644 index 0000000..0ce3c5a --- /dev/null +++ b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.manifest @@ -0,0 +1,35 @@ +omega-native-artifact/1 +artifact_id=5fa1eb86547376a1336be32947b65c313f7401c1091feefc5ef5191b9ece3cb5 +op=matmul +shape=m=16,k=16,n=8 +bounds=m<=8192,k<=16384,n<=8192 +contract=matmul-bf16-v1 +contract_id=647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704 +semantic_spec_id=433818f04a6d185a0f5d22c4bfe1fd623bfd658638e8ea2829cd966b6eb2f40a +isa=sm_121 +machine_profile=99e9e7b2a04a784130f398b57e15497f7367f606b60e62bfae065fe9a1795e7b +kernel_format=nvidia-cubin-elf64 +kernel_function=omega_matmul_bf16 +text_sha256=f989e654f62d39272d24c478a7e4b40697698172a5986205b15fc9658d61c357 +text_size=1152 +cubin_sha256=1dac563e82ff3523681261d9fb79d89db74f4081ca0a6328049940fc1c4c007b +cubin_size=3888 +qmd0_sha256=2798dfb2ac70c1597cce679eb58d4a23cc24db294891a81f5cc444d1aa0db349 +qmd1_sha256=73eec0f8510613ce07c82638ad389608eff2f478f6214e3cdd04cc6e5cb83722 +qmd_template=zero-va-v1 +cbank_offset=0x380 +cbank_words=10 +cbank_args=template +cbank_args_sha256=370350e96af78d9b6b5ede6085d6cee228a6b60be4f4fd50dc0df49bd4619f2b +grid=1,1,1 +block=32,1,1 +shared_bytes=1024 +gpr_count=40 +precision=bf16 +accumulation=fp32 +tolerance=abs<=1e-5*max(1,abs(ref)) +min_driver=580.173.02 +requires=sm_121,nvidia-cubin-abi-v8 +qualification=offline-disassembly=PASS;device-load=NOT_RUN;device-exec=NOT_RUN +provenance_source_commit=b774723f537cec16a359fe082b8100317a5b5490 +provenance_tool=cudapp-artifact-export/1 diff --git a/evidence/device-window/L939-w3/cubins/matmul-16x16x8.qmd0.bin b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.qmd0.bin new file mode 100644 index 0000000..3163fb5 Binary files /dev/null and b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.qmd0.bin differ diff --git a/evidence/device-window/L939-w3/cubins/matmul-16x16x8.qmd1.bin b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.qmd1.bin new file mode 100644 index 0000000..ce8f822 Binary files /dev/null and b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.qmd1.bin differ diff --git a/evidence/device-window/L939-w3/cubins/matmul-16x16x8.sha256 b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.sha256 new file mode 100644 index 0000000..c637c8a --- /dev/null +++ b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.sha256 @@ -0,0 +1,7 @@ +5fa1eb86547376a1336be32947b65c313f7401c1091feefc5ef5191b9ece3cb5 artifact_id +5de03e799753eb765f6b8e2f8f6b0bef81715887506886ddcc2bb5fdf893d598 manifest +1dac563e82ff3523681261d9fb79d89db74f4081ca0a6328049940fc1c4c007b cubin +f989e654f62d39272d24c478a7e4b40697698172a5986205b15fc9658d61c357 text +2798dfb2ac70c1597cce679eb58d4a23cc24db294891a81f5cc444d1aa0db349 qmd0 +73eec0f8510613ce07c82638ad389608eff2f478f6214e3cdd04cc6e5cb83722 qmd1 +370350e96af78d9b6b5ede6085d6cee228a6b60be4f4fd50dc0df49bd4619f2b cbank_args diff --git a/evidence/device-window/L939-w3/cubins/matmul-16x16x8.text.bin b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.text.bin new file mode 100644 index 0000000..19cabae Binary files /dev/null and b/evidence/device-window/L939-w3/cubins/matmul-16x16x8.text.bin differ diff --git a/evidence/device-window/L939-w3/rc.txt b/evidence/device-window/L939-w3/rc.txt new file mode 100644 index 0000000..9e6ef7f --- /dev/null +++ b/evidence/device-window/L939-w3/rc.txt @@ -0,0 +1,10 @@ +01-cubin-matmul rc=0 +02-cubin-gqa-load rc=0 +03-cubin-stale-reject rc=0 +04-conformance-device rc=0 +05-pair1-conformance-device rc=0 +06-pair2-conformance-device rc=0 +07-pair3-conformance-device rc=0 +08-pair4-conformance-device rc=0 +09-pair5-conformance-device rc=0 +10-torch-cudapp rc=0 diff --git a/evidence/device-window/L939-w3/torch-receipt.json b/evidence/device-window/L939-w3/torch-receipt.json new file mode 100644 index 0000000..edb3e00 --- /dev/null +++ b/evidence/device-window/L939-w3/torch-receipt.json @@ -0,0 +1,160 @@ +{ + "schema": "CUDAPP_TORCH_V1", + "torch": "2.14.1+cpu", + "verdict": "PASS", + "cases": [ + { + "op": "cudapp::mm", + "m": 1, + "k": 1, + "n": 1, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 1.4553855010035477e-08, + "max_err_over_bound": 0.2094172903959941, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 3, + "k": 257, + "n": 129, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 1.4199952246940484e-05, + "max_err_over_bound": 0.0006810386003039764, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 17, + "k": 2048, + "n": 96, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 0.00031148626860044715, + "max_err_over_bound": 0.00022958310801540795, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 64, + "k": 64, + "n": 64, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 4.476430376598728e-06, + "max_err_over_bound": 0.002678575901699341, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 5, + "k": 1809, + "n": 33, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 0.00028849767313943175, + "max_err_over_bound": 0.0002479941293363415, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 5, + "k": 300, + "n": 7, + "dtype": "bfloat16", + "mutant": 0, + "route": 1, + "route_expected": 1, + "max_abs_err": 2.4061650037765503e-05, + "max_err_over_bound": 0.006565537468473077, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 32, + "k": 128, + "n": 64, + "dtype": "bfloat16", + "mutant": 0, + "route": 1, + "route_expected": 1, + "max_abs_err": 8.58306884765625e-06, + "max_err_over_bound": 0.013155373834931455, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 5, + "k": 300, + "n": 7, + "dtype": "float16", + "mutant": 0, + "route": 1, + "route_expected": 1, + "max_abs_err": 1.6046687960624695e-05, + "max_err_over_bound": 0.004848975923834368, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 32, + "k": 128, + "n": 64, + "dtype": "float16", + "mutant": 0, + "route": 1, + "route_expected": 1, + "max_abs_err": 1.1332333087921143e-05, + "max_err_over_bound": 0.018825492524675278, + "inside_bound": true + }, + { + "op": "cudapp::swiglu", + "n": 1, + "max_abs_err": 8.461514294788586e-09, + "max_err_over_bound": 0.0034650273184958064, + "inside_bound": true + }, + { + "op": "cudapp::swiglu", + "n": 1000, + "max_abs_err": 1.3221445520628095e-06, + "max_err_over_bound": 0.015685670748588225, + "inside_bound": true + }, + { + "op": "cudapp::swiglu", + "n": 65536, + "max_abs_err": 3.6893320967124055e-06, + "max_err_over_bound": 0.02078471047596202, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 3, + "k": 257, + "n": 129, + "dtype": "float32", + "mutant": 1, + "route": 3, + "route_expected": 3, + "max_abs_err": 5.5826134483306085, + "max_err_over_bound": 256.6837092618614, + "inside_bound": false, + "negative_control": true, + "caught": true + } + ] +} \ No newline at end of file diff --git a/evidence/device-window/L939-w3/window.txt b/evidence/device-window/L939-w3/window.txt new file mode 100644 index 0000000..4cd4a2b --- /dev/null +++ b/evidence/device-window/L939-w3/window.txt @@ -0,0 +1,16 @@ +window_id 20261107T030848Z-b5d44f +opened_here 1 +host spark-b87b +start_utc 2026-11-07T03:08:53Z +bridge_head 43ab47513fffb503fb65bddd25787957b5c95fc7 +bridge_dirty 0 +cudapp_head b774723f537cec16a359fe082b8100317a5b5490 +script_sha256 1c52514755e41e2880b59324a1625850e64fed11f4af47889b1e6b04c6bbd926 +input_sha256 866cd6036db958092a7715e16fba899af7a309e75d93534c7c658a663506ee83 build/cubin_probe +input_sha256 1dac563e82ff3523681261d9fb79d89db74f4081ca0a6328049940fc1c4c007b window-cubins/matmul-16x16x8.cubin +input_sha256 90b5c752f793d1187485f7dcec0921001443498584075d13cfb47bf9236d2169 window-cubins/attention-hd128-gqa8.cubin +input_sha256 7d1306933b67fa24a20dba59d39bf48fbd4aa5cec37e046e3b664e5e0c4b34eb 68/matmul-16x16x8.cubin +input_sha256 9ab55c775184ba78cecc5a0549703b974423a06dc6058513c0743b556a23c3c7 artifacts/libcudapp_attach.so +input_sha256 18af54fd1c4f79afdb763aabb153a0bf7b36f293a556353373ef680d51b37008 build/libomega_gpu.a +pairs 5 +end_utc 2026-11-07T03:10:07Z diff --git a/evidence/device-window/L939/01-cubin-matmul.log b/evidence/device-window/L939/01-cubin-matmul.log new file mode 100644 index 0000000..8a867da --- /dev/null +++ b/evidence/device-window/L939/01-cubin-matmul.log @@ -0,0 +1,3 @@ +LOAD cuModuleLoadDataEx -> 200 device kernel image is invalid +LOAD error_log="" +LOAD info_log="" diff --git a/evidence/device-window/L939/02-cubin-gqa.log b/evidence/device-window/L939/02-cubin-gqa.log new file mode 100644 index 0000000..8a867da --- /dev/null +++ b/evidence/device-window/L939/02-cubin-gqa.log @@ -0,0 +1,3 @@ +LOAD cuModuleLoadDataEx -> 200 device kernel image is invalid +LOAD error_log="" +LOAD info_log="" diff --git a/evidence/device-window/L939/03-conformance-device.log b/evidence/device-window/L939/03-conformance-device.log new file mode 100644 index 0000000..7bc0fcb --- /dev/null +++ b/evidence/device-window/L939/03-conformance-device.log @@ -0,0 +1,66 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.050s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.004943746025674, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.000752981984987855, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T025531Z-df9556"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 1.9966410120250657, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0006275249179452658, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T025531Z-df9556"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 193, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 117, in main + out = model.execute(Buffer.from_numpy(a), Buffer.from_numpy(b))[0].to_numpy() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/profiler/tracing.py", line 113, in wrapper + return func(*args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/engine/api.py", line 145, in _Model_execute + return self._execute_device_tensors(input_impls) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +TypeError: expected argument 0 to be on device Device(type=gpu,id=0), but was on device Device(type=cpu,id=0) +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 121, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 46, in main + meta = json.load(open(args.result + ".json")) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +FileNotFoundError: [Errno 2] No such file or directory: 'build/max-gpu-matmul.json' +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 193, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 135, in main + out = model.execute(*[Buffer.from_numpy(x) for x in (q, kk, vv, mask)])[0].to_numpy() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/profiler/tracing.py", line 113, in wrapper + return func(*args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/engine/api.py", line 145, in _Model_execute + return self._execute_device_tensors(input_impls) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +TypeError: expected argument 0 to be on device Device(type=gpu,id=0), but was on device Device(type=cpu,id=0) +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 121, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 46, in main + meta = json.load(open(args.result + ".json")) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +FileNotFoundError: [Errno 2] No such file or directory: 'build/max-gpu-attn.json' diff --git a/evidence/device-window/L939/03-conformance-device.out.sha256 b/evidence/device-window/L939/03-conformance-device.out.sha256 new file mode 100644 index 0000000..3c89b4b --- /dev/null +++ b/evidence/device-window/L939/03-conformance-device.out.sha256 @@ -0,0 +1,4 @@ +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +76a79ccf5a5a267577a70a8f2c30ea4ca5f757abac8d9c47f9dce44ee6f431d2 omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +b523aea1dd385ffb5e59bf23ef7a46b55027e340eba8348aa5c6c86c1214537a omega-gpu-matmul.json diff --git a/evidence/device-window/L939/03-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939/03-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939/03-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939/03-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939/03-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..b5c7f36 --- /dev/null +++ b/evidence/device-window/L939/03-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.030146985, + "spark_window": "20261107T025531Z-df9556", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 30134121, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939/03-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939/03-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939/03-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939/03-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939/03-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..ac02f87 --- /dev/null +++ b/evidence/device-window/L939/03-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.046350788, + "spark_window": "20261107T025531Z-df9556", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 46332996, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939/04-pair1-conformance-device.log b/evidence/device-window/L939/04-pair1-conformance-device.log new file mode 100644 index 0000000..fb3e920 --- /dev/null +++ b/evidence/device-window/L939/04-pair1-conformance-device.log @@ -0,0 +1,66 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.052s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.034997503971681, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.0009353669593110681, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T025531Z-df9556"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.0435886749764904, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0015861879801377654, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T025531Z-df9556"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 193, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 117, in main + out = model.execute(Buffer.from_numpy(a), Buffer.from_numpy(b))[0].to_numpy() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/profiler/tracing.py", line 113, in wrapper + return func(*args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/engine/api.py", line 145, in _Model_execute + return self._execute_device_tensors(input_impls) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +TypeError: expected argument 0 to be on device Device(type=gpu,id=0), but was on device Device(type=cpu,id=0) +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 121, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 46, in main + meta = json.load(open(args.result + ".json")) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +FileNotFoundError: [Errno 2] No such file or directory: 'build/max-gpu-matmul.json' +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 193, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 135, in main + out = model.execute(*[Buffer.from_numpy(x) for x in (q, kk, vv, mask)])[0].to_numpy() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/profiler/tracing.py", line 113, in wrapper + return func(*args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/engine/api.py", line 145, in _Model_execute + return self._execute_device_tensors(input_impls) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +TypeError: expected argument 0 to be on device Device(type=gpu,id=0), but was on device Device(type=cpu,id=0) +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 121, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 46, in main + meta = json.load(open(args.result + ".json")) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +FileNotFoundError: [Errno 2] No such file or directory: 'build/max-gpu-attn.json' diff --git a/evidence/device-window/L939/04-pair1-conformance-device.out.sha256 b/evidence/device-window/L939/04-pair1-conformance-device.out.sha256 new file mode 100644 index 0000000..df10374 --- /dev/null +++ b/evidence/device-window/L939/04-pair1-conformance-device.out.sha256 @@ -0,0 +1,4 @@ +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +56644f0768d48db44309dfdb91f05f0c500453e9a9bedd226883c9c5da271e71 omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +d0951fab52f5203c887417b68cd8e71963c0e7fa20328438001d927c8cd309ed omega-gpu-matmul.json diff --git a/evidence/device-window/L939/04-pair1-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939/04-pair1-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939/04-pair1-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939/04-pair1-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939/04-pair1-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..492c709 --- /dev/null +++ b/evidence/device-window/L939/04-pair1-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.030472252, + "spark_window": "20261107T025531Z-df9556", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 30462332, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939/04-pair1-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939/04-pair1-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939/04-pair1-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939/04-pair1-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939/04-pair1-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..7ae7e3c --- /dev/null +++ b/evidence/device-window/L939/04-pair1-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.076187036, + "spark_window": "20261107T025531Z-df9556", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 76172748, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939/05-pair2-conformance-device.log b/evidence/device-window/L939/05-pair2-conformance-device.log new file mode 100644 index 0000000..117fda3 --- /dev/null +++ b/evidence/device-window/L939/05-pair2-conformance-device.log @@ -0,0 +1,67 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.050s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.0212792449165136, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.0005160520086064935, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T025531Z-df9556"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.0021838350221515, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0012492099776864052, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T025531Z-df9556"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 193, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 93, in main + dev = Accelerator() + ^^^^^^^^^^^^^ +ValueError: failed to create device: No supported "gpu" device available. + CUDA information: CUDA call failed: CUDA_ERROR_OUT_OF_MEMORY (out of memory) +To get more accurate error information, set MODULAR_DEBUG=device-sync-mode. + HIP information: Failed to open library "libamdhip64.so": libamdhip64.so: cannot open shared object file: No such file or directory +To get more accurate error information, set MODULAR_DEBUG=device-sync-mode. +To get more accurate error information, set MODULAR_DEBUG=device-sync-mode. +To get more accurate error information, set MODULAR_DEBUG=device-sync-mode. + Metal information: +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 121, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 46, in main + meta = json.load(open(args.result + ".json")) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +FileNotFoundError: [Errno 2] No such file or directory: 'build/max-gpu-matmul.json' +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 193, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 135, in main + out = model.execute(*[Buffer.from_numpy(x) for x in (q, kk, vv, mask)])[0].to_numpy() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/profiler/tracing.py", line 113, in wrapper + return func(*args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/engine/api.py", line 145, in _Model_execute + return self._execute_device_tensors(input_impls) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +TypeError: expected argument 0 to be on device Device(type=gpu,id=0), but was on device Device(type=cpu,id=0) +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 121, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 46, in main + meta = json.load(open(args.result + ".json")) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +FileNotFoundError: [Errno 2] No such file or directory: 'build/max-gpu-attn.json' diff --git a/evidence/device-window/L939/05-pair2-conformance-device.out.sha256 b/evidence/device-window/L939/05-pair2-conformance-device.out.sha256 new file mode 100644 index 0000000..0c5a8d0 --- /dev/null +++ b/evidence/device-window/L939/05-pair2-conformance-device.out.sha256 @@ -0,0 +1,4 @@ +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +b4fa4dee5038eaf31fb6bf10be70ad299363779ac61e7a2e5d70ea06adaa5f24 omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +e3e2eba794023ce25185291111131dea307da861dedcf21fc54faa2d4ddc82fe omega-gpu-matmul.json diff --git a/evidence/device-window/L939/05-pair2-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939/05-pair2-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939/05-pair2-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939/05-pair2-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939/05-pair2-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..0788aea --- /dev/null +++ b/evidence/device-window/L939/05-pair2-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 1.177188391, + "spark_window": "20261107T025531Z-df9556", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 1177157367, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939/05-pair2-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939/05-pair2-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939/05-pair2-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939/05-pair2-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939/05-pair2-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..0409482 --- /dev/null +++ b/evidence/device-window/L939/05-pair2-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.046655369, + "spark_window": "20261107T025531Z-df9556", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 46629465, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939/06-pair3-conformance-device.log b/evidence/device-window/L939/06-pair3-conformance-device.log new file mode 100644 index 0000000..0418d15 --- /dev/null +++ b/evidence/device-window/L939/06-pair3-conformance-device.log @@ -0,0 +1,66 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.055s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.0318252840079367, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.0004937640624120831, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T025531Z-df9556"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.0211159869795665, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0010078640189021826, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T025531Z-df9556"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 193, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 117, in main + out = model.execute(Buffer.from_numpy(a), Buffer.from_numpy(b))[0].to_numpy() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/profiler/tracing.py", line 113, in wrapper + return func(*args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/engine/api.py", line 145, in _Model_execute + return self._execute_device_tensors(input_impls) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +TypeError: expected argument 0 to be on device Device(type=gpu,id=0), but was on device Device(type=cpu,id=0) +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 121, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 46, in main + meta = json.load(open(args.result + ".json")) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +FileNotFoundError: [Errno 2] No such file or directory: 'build/max-gpu-matmul.json' +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 193, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 135, in main + out = model.execute(*[Buffer.from_numpy(x) for x in (q, kk, vv, mask)])[0].to_numpy() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/profiler/tracing.py", line 113, in wrapper + return func(*args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/engine/api.py", line 145, in _Model_execute + return self._execute_device_tensors(input_impls) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +TypeError: expected argument 0 to be on device Device(type=gpu,id=0), but was on device Device(type=cpu,id=0) +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 121, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 46, in main + meta = json.load(open(args.result + ".json")) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +FileNotFoundError: [Errno 2] No such file or directory: 'build/max-gpu-attn.json' diff --git a/evidence/device-window/L939/06-pair3-conformance-device.out.sha256 b/evidence/device-window/L939/06-pair3-conformance-device.out.sha256 new file mode 100644 index 0000000..7b28df5 --- /dev/null +++ b/evidence/device-window/L939/06-pair3-conformance-device.out.sha256 @@ -0,0 +1,4 @@ +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +290d35e71b321fbbaae0170d5df4f2615f86dce5b6366c88fefad69be4e315e3 omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +3ab92f8cee7a4c5d526e46ca2f50e94611cc46c4a7c83fe10512dead616909f1 omega-gpu-matmul.json diff --git a/evidence/device-window/L939/06-pair3-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939/06-pair3-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939/06-pair3-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939/06-pair3-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939/06-pair3-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..00868f7 --- /dev/null +++ b/evidence/device-window/L939/06-pair3-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.030928127, + "spark_window": "20261107T025531Z-df9556", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 30918335, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939/06-pair3-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939/06-pair3-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939/06-pair3-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939/06-pair3-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939/06-pair3-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..020b7ec --- /dev/null +++ b/evidence/device-window/L939/06-pair3-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.068085822, + "spark_window": "20261107T025531Z-df9556", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 68071806, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939/07-pair4-conformance-device.log b/evidence/device-window/L939/07-pair4-conformance-device.log new file mode 100644 index 0000000..89a033f --- /dev/null +++ b/evidence/device-window/L939/07-pair4-conformance-device.log @@ -0,0 +1,66 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.049s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.005207389011048, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.000560660962946713, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T025531Z-df9556"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.007532241055742, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0007782140746712685, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T025531Z-df9556"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 193, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 117, in main + out = model.execute(Buffer.from_numpy(a), Buffer.from_numpy(b))[0].to_numpy() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/profiler/tracing.py", line 113, in wrapper + return func(*args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/engine/api.py", line 145, in _Model_execute + return self._execute_device_tensors(input_impls) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +TypeError: expected argument 0 to be on device Device(type=gpu,id=0), but was on device Device(type=cpu,id=0) +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 121, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 46, in main + meta = json.load(open(args.result + ".json")) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +FileNotFoundError: [Errno 2] No such file or directory: 'build/max-gpu-matmul.json' +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 193, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 135, in main + out = model.execute(*[Buffer.from_numpy(x) for x in (q, kk, vv, mask)])[0].to_numpy() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/profiler/tracing.py", line 113, in wrapper + return func(*args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/engine/api.py", line 145, in _Model_execute + return self._execute_device_tensors(input_impls) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +TypeError: expected argument 0 to be on device Device(type=gpu,id=0), but was on device Device(type=cpu,id=0) +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 121, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 46, in main + meta = json.load(open(args.result + ".json")) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +FileNotFoundError: [Errno 2] No such file or directory: 'build/max-gpu-attn.json' diff --git a/evidence/device-window/L939/07-pair4-conformance-device.out.sha256 b/evidence/device-window/L939/07-pair4-conformance-device.out.sha256 new file mode 100644 index 0000000..02663e9 --- /dev/null +++ b/evidence/device-window/L939/07-pair4-conformance-device.out.sha256 @@ -0,0 +1,4 @@ +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +99c781830c1fde548d93da409db865b65365d1fbcc73e9f5841d2d02b05000f1 omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +4558fa99af3e69f7a8721d7c8361572895b3f92d3d5ae9e06304be1509e6c86a omega-gpu-matmul.json diff --git a/evidence/device-window/L939/07-pair4-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939/07-pair4-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939/07-pair4-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939/07-pair4-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939/07-pair4-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..060f73d --- /dev/null +++ b/evidence/device-window/L939/07-pair4-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.030333291, + "spark_window": "20261107T025531Z-df9556", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 30324234, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939/07-pair4-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939/07-pair4-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939/07-pair4-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939/07-pair4-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939/07-pair4-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..0dfd830 --- /dev/null +++ b/evidence/device-window/L939/07-pair4-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.063301001, + "spark_window": "20261107T025531Z-df9556", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 63285705, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939/08-pair5-conformance-device.log b/evidence/device-window/L939/08-pair5-conformance-device.log new file mode 100644 index 0000000..0a9d03a --- /dev/null +++ b/evidence/device-window/L939/08-pair5-conformance-device.log @@ -0,0 +1,66 @@ +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.056s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.0528614760842174, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.000540036940947175, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": "20261107T025531Z-df9556"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.059365479974076, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0009001829894259572, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": "20261107T025531Z-df9556"} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +{"checks": 12, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "gpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 193, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 117, in main + out = model.execute(Buffer.from_numpy(a), Buffer.from_numpy(b))[0].to_numpy() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/profiler/tracing.py", line 113, in wrapper + return func(*args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/engine/api.py", line 145, in _Model_execute + return self._execute_device_tensors(input_impls) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +TypeError: expected argument 0 to be on device Device(type=gpu,id=0), but was on device Device(type=cpu,id=0) +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 121, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 46, in main + meta = json.load(open(args.result + ".json")) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +FileNotFoundError: [Errno 2] No such file or directory: 'build/max-gpu-matmul.json' +{"checks": 13, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "gpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.391177233995734e-07, "runner": "omega-native"} +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 193, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py", line 135, in main + out = model.execute(*[Buffer.from_numpy(x) for x in (q, kk, vv, mask)])[0].to_numpy() + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/profiler/tracing.py", line 113, in wrapper + return func(*args, **kwargs) + ^^^^^^^^^^^^^^^^^^^^^ + File "/home/drakestapleton/workspace/maxinterop/venv/lib/python3.12/site-packages/max/engine/api.py", line 145, in _Model_execute + return self._execute_device_tensors(input_impls) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ +TypeError: expected argument 0 to be on device Device(type=gpu,id=0), but was on device Device(type=cpu,id=0) +Traceback (most recent call last): + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 121, in + sys.exit(main()) + ^^^^^^ + File "/home/drakestapleton/work/hive/t_a2d9375e/omega-bridge/conformance/verify.py", line 46, in main + meta = json.load(open(args.result + ".json")) + ^^^^^^^^^^^^^^^^^^^^^^^^^^^ +FileNotFoundError: [Errno 2] No such file or directory: 'build/max-gpu-attn.json' diff --git a/evidence/device-window/L939/08-pair5-conformance-device.out.sha256 b/evidence/device-window/L939/08-pair5-conformance-device.out.sha256 new file mode 100644 index 0000000..3374852 --- /dev/null +++ b/evidence/device-window/L939/08-pair5-conformance-device.out.sha256 @@ -0,0 +1,4 @@ +c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a omega-gpu-attn.bin +1f7bdb199fd93cbacfa1e000d936345896f76ee51b35ed4899ad1d756d107620 omega-gpu-attn.json +60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4 omega-gpu-matmul.bin +0d4f634935efa28c1fa8a1fed2d7e6fb7fd467f52fe6b1e6d0e4ea8fbe78b737 omega-gpu-matmul.json diff --git a/evidence/device-window/L939/08-pair5-conformance-device.out/omega-gpu-attn.bin b/evidence/device-window/L939/08-pair5-conformance-device.out/omega-gpu-attn.bin new file mode 100644 index 0000000..deb3dca Binary files /dev/null and b/evidence/device-window/L939/08-pair5-conformance-device.out/omega-gpu-attn.bin differ diff --git a/evidence/device-window/L939/08-pair5-conformance-device.out/omega-gpu-attn.json b/evidence/device-window/L939/08-pair5-conformance-device.out/omega-gpu-attn.json new file mode 100644 index 0000000..60f0402 --- /dev/null +++ b/evidence/device-window/L939/08-pair5-conformance-device.out/omega-gpu-attn.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [2, 4, 128], + "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", + "seconds": 0.030695485, + "spark_window": "20261107T025531Z-df9556", + "output_sha256": "c062db95ae8c50e1106347aba70ccd796fc2b6349bc90baad4a28b7948068d4a", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 30684909, + "gpr_count": 64, + "insn_count": 312 +} diff --git a/evidence/device-window/L939/08-pair5-conformance-device.out/omega-gpu-matmul.bin b/evidence/device-window/L939/08-pair5-conformance-device.out/omega-gpu-matmul.bin new file mode 100644 index 0000000..5957e91 Binary files /dev/null and b/evidence/device-window/L939/08-pair5-conformance-device.out/omega-gpu-matmul.bin differ diff --git a/evidence/device-window/L939/08-pair5-conformance-device.out/omega-gpu-matmul.json b/evidence/device-window/L939/08-pair5-conformance-device.out/omega-gpu-matmul.json new file mode 100644 index 0000000..3060850 --- /dev/null +++ b/evidence/device-window/L939/08-pair5-conformance-device.out/omega-gpu-matmul.json @@ -0,0 +1,15 @@ +{ + "runner": "omega-native", + "device": "gpu", + "shape": [4, 3], + "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", + "seconds": 0.047066956, + "spark_window": "20261107T025531Z-df9556", + "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", + "omega_rc": 0, + "target_chip": "NVIDIA DGX Spark (Grace Blackwell GB10)", + "sm_architecture": 121, + "call_ns": 47051756, + "parity_verified": true, + "max_abs_err": 0 +} diff --git a/evidence/device-window/L939/09-torch-cudapp.log b/evidence/device-window/L939/09-torch-cudapp.log new file mode 100644 index 0000000..5d4a546 --- /dev/null +++ b/evidence/device-window/L939/09-torch-cudapp.log @@ -0,0 +1,14 @@ +{"op": "cudapp::mm", "m": 1, "k": 1, "n": 1, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 1.4553855010035477e-08, "max_err_over_bound": 0.2094172903959941, "inside_bound": true} +{"op": "cudapp::mm", "m": 3, "k": 257, "n": 129, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 1.4199952246940484e-05, "max_err_over_bound": 0.0006810386003039764, "inside_bound": true} +{"op": "cudapp::mm", "m": 17, "k": 2048, "n": 96, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 0.00031148626860044715, "max_err_over_bound": 0.00022958310801540795, "inside_bound": true} +{"op": "cudapp::mm", "m": 64, "k": 64, "n": 64, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 4.476430376598728e-06, "max_err_over_bound": 0.002678575901699341, "inside_bound": true} +{"op": "cudapp::mm", "m": 5, "k": 1809, "n": 33, "dtype": "float32", "mutant": 0, "route": 3, "route_expected": 3, "max_abs_err": 0.00028849767313943175, "max_err_over_bound": 0.0002479941293363415, "inside_bound": true} +{"op": "cudapp::mm", "m": 5, "k": 300, "n": 7, "dtype": "bfloat16", "mutant": 0, "route": 1, "route_expected": 1, "max_abs_err": 2.4061650037765503e-05, "max_err_over_bound": 0.006565537468473077, "inside_bound": true} +{"op": "cudapp::mm", "m": 32, "k": 128, "n": 64, "dtype": "bfloat16", "mutant": 0, "route": 1, "route_expected": 1, "max_abs_err": 8.58306884765625e-06, "max_err_over_bound": 0.013155373834931455, "inside_bound": true} +{"op": "cudapp::mm", "m": 5, "k": 300, "n": 7, "dtype": "float16", "mutant": 0, "route": 1, "route_expected": 1, "max_abs_err": 1.6046687960624695e-05, "max_err_over_bound": 0.004848975923834368, "inside_bound": true} +{"op": "cudapp::mm", "m": 32, "k": 128, "n": 64, "dtype": "float16", "mutant": 0, "route": 1, "route_expected": 1, "max_abs_err": 1.1332333087921143e-05, "max_err_over_bound": 0.018825492524675278, "inside_bound": true} +{"op": "cudapp::swiglu", "n": 1, "max_abs_err": 8.461514294788586e-09, "max_err_over_bound": 0.0034650273184958064, "inside_bound": true} +{"op": "cudapp::swiglu", "n": 1000, "max_abs_err": 1.3221445520628095e-06, "max_err_over_bound": 0.015685670748588225, "inside_bound": true} +{"op": "cudapp::swiglu", "n": 65536, "max_abs_err": 3.6893320967124055e-06, "max_err_over_bound": 0.02078471047596202, "inside_bound": true} +{"op": "cudapp::mm", "m": 3, "k": 257, "n": 129, "dtype": "float32", "mutant": 1, "route": 3, "route_expected": 3, "max_abs_err": 5.5826134483306085, "max_err_over_bound": 256.6837092618614, "inside_bound": false, "negative_control": true, "caught": true} +PASS diff --git a/evidence/device-window/L939/rc.txt b/evidence/device-window/L939/rc.txt new file mode 100644 index 0000000..351b827 --- /dev/null +++ b/evidence/device-window/L939/rc.txt @@ -0,0 +1,9 @@ +01-cubin-matmul rc=4 +02-cubin-gqa rc=4 +03-conformance-device rc=1 +04-pair1-conformance-device rc=1 +05-pair2-conformance-device rc=1 +06-pair3-conformance-device rc=1 +07-pair4-conformance-device rc=1 +08-pair5-conformance-device rc=1 +09-torch-cudapp rc=0 diff --git a/evidence/device-window/L939/torch-receipt.json b/evidence/device-window/L939/torch-receipt.json new file mode 100644 index 0000000..edb3e00 --- /dev/null +++ b/evidence/device-window/L939/torch-receipt.json @@ -0,0 +1,160 @@ +{ + "schema": "CUDAPP_TORCH_V1", + "torch": "2.14.1+cpu", + "verdict": "PASS", + "cases": [ + { + "op": "cudapp::mm", + "m": 1, + "k": 1, + "n": 1, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 1.4553855010035477e-08, + "max_err_over_bound": 0.2094172903959941, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 3, + "k": 257, + "n": 129, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 1.4199952246940484e-05, + "max_err_over_bound": 0.0006810386003039764, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 17, + "k": 2048, + "n": 96, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 0.00031148626860044715, + "max_err_over_bound": 0.00022958310801540795, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 64, + "k": 64, + "n": 64, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 4.476430376598728e-06, + "max_err_over_bound": 0.002678575901699341, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 5, + "k": 1809, + "n": 33, + "dtype": "float32", + "mutant": 0, + "route": 3, + "route_expected": 3, + "max_abs_err": 0.00028849767313943175, + "max_err_over_bound": 0.0002479941293363415, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 5, + "k": 300, + "n": 7, + "dtype": "bfloat16", + "mutant": 0, + "route": 1, + "route_expected": 1, + "max_abs_err": 2.4061650037765503e-05, + "max_err_over_bound": 0.006565537468473077, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 32, + "k": 128, + "n": 64, + "dtype": "bfloat16", + "mutant": 0, + "route": 1, + "route_expected": 1, + "max_abs_err": 8.58306884765625e-06, + "max_err_over_bound": 0.013155373834931455, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 5, + "k": 300, + "n": 7, + "dtype": "float16", + "mutant": 0, + "route": 1, + "route_expected": 1, + "max_abs_err": 1.6046687960624695e-05, + "max_err_over_bound": 0.004848975923834368, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 32, + "k": 128, + "n": 64, + "dtype": "float16", + "mutant": 0, + "route": 1, + "route_expected": 1, + "max_abs_err": 1.1332333087921143e-05, + "max_err_over_bound": 0.018825492524675278, + "inside_bound": true + }, + { + "op": "cudapp::swiglu", + "n": 1, + "max_abs_err": 8.461514294788586e-09, + "max_err_over_bound": 0.0034650273184958064, + "inside_bound": true + }, + { + "op": "cudapp::swiglu", + "n": 1000, + "max_abs_err": 1.3221445520628095e-06, + "max_err_over_bound": 0.015685670748588225, + "inside_bound": true + }, + { + "op": "cudapp::swiglu", + "n": 65536, + "max_abs_err": 3.6893320967124055e-06, + "max_err_over_bound": 0.02078471047596202, + "inside_bound": true + }, + { + "op": "cudapp::mm", + "m": 3, + "k": 257, + "n": 129, + "dtype": "float32", + "mutant": 1, + "route": 3, + "route_expected": 3, + "max_abs_err": 5.5826134483306085, + "max_err_over_bound": 256.6837092618614, + "inside_bound": false, + "negative_control": true, + "caught": true + } + ] +} \ No newline at end of file diff --git a/evidence/device-window/L939/window.txt b/evidence/device-window/L939/window.txt new file mode 100644 index 0000000..16c3012 --- /dev/null +++ b/evidence/device-window/L939/window.txt @@ -0,0 +1,15 @@ +window_id 20261107T025531Z-df9556 +opened_here 1 +host spark-b87b +start_utc 2026-11-07T02:55:36Z +bridge_head e6d73e0e5bb2c639c5dd8b3fccc71e8da1d32568 +bridge_dirty 0 +cudapp_head b774723f537cec16a359fe082b8100317a5b5490 +script_sha256 cb5956f4a46994cca4dbba9f81213cfa12c8ab0297e24ab1b4ae366af62b74b3 +input_sha256 866cd6036db958092a7715e16fba899af7a309e75d93534c7c658a663506ee83 cubin_probe +input_sha256 7d1306933b67fa24a20dba59d39bf48fbd4aa5cec37e046e3b664e5e0c4b34eb matmul-16x16x8.cubin +input_sha256 4d8ab7ae60f3550ab90710b2bc87af71e9ffeec91ad0190eb72f004b9d997ab7 attention-hd128-gqa8.cubin +input_sha256 9ab55c775184ba78cecc5a0549703b974423a06dc6058513c0743b556a23c3c7 libcudapp_attach.so +input_sha256 18af54fd1c4f79afdb763aabb153a0bf7b36f293a556353373ef680d51b37008 libomega_gpu.a +pairs 5 +end_utc 2026-11-07T02:58:25Z diff --git a/evidence/device-window/README.md b/evidence/device-window/README.md new file mode 100644 index 0000000..7e4df6d --- /dev/null +++ b/evidence/device-window/README.md @@ -0,0 +1,41 @@ +# GB10 device windows for MISSION-REPORT §3 (DRA-105, omega-bridge #5) + +Script: `tools/run-device-window.sh`. 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//{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. + +| Dir | Window id | Bridge head | Held | Rows rc 0 | Notes | +|---|---|---|---|---|---| +| `L939` | `20261107T025531Z-df9556` | `e6d73e0e` | 176 s | 1 of 9 | cubin 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-w2` | `20261107T030636Z-94ee34` | `46ed1fc1` | 84 s | 8 of 10 | `cuCtxCreate` 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-w3` | `20261107T030848Z-b5d44f` | `43ab4751` | 80 s | 10 of 10 | All rows PASS, see below. | + +Window 3 rows: + +| Row | Result | +|---|---| +| 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 runs | 6/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.py` | PASS: 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`. diff --git a/evidence/device-window/dry-run-L939-w2.log b/evidence/device-window/dry-run-L939-w2.log new file mode 100644 index 0000000..65e41ab --- /dev/null +++ b/evidence/device-window/dry-run-L939-w2.log @@ -0,0 +1,155 @@ +# host spark-b87b 2026-11-07T03:00:56Z cudapp b774723f537cec16a359fe082b8100317a5b5490 +## 0a build artifact-export +$ make -j2 artifact-export +cc -std=gnu11 -Wall -Wextra -Werror -MMD -MP -D_GNU_SOURCE -O2 -Isrc -I./m16 -I./nvrm -I./third_party/nvidia-open-580.173.02/src/common/sdk/nvidia/inc -I./third_party/nvidia-open-580.173.02/kernel-open/common/inc -I./third_party/nvidia-open-580.173.02/kernel-open/nvidia-uvm -I./third_party/nvidia-open-580.173.02/src/nvidia/arch/nvalloc/unix/include -I./third_party/aien-gpu-abi1 -DCUDAPP_MIGRATION_PENDING_GEMM_EX=1 -o build/artifact-export tools/artifact_export.c src/omega_native_artifact.c src/omega_cubin.c build/libomega_gpu.a -lpthread -lm +rc=0 +## 0b export matmul 16x16x8 +$ build/artifact-export matmul --m 16 --k 16 --n 8 --contract-id 647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704 --out build/window-cubins/matmul-16x16x8 --commit b774723f537cec16a359fe082b8100317a5b5490 +artifact_id=5fa1eb86547376a1336be32947b65c313f7401c1091feefc5ef5191b9ece3cb5 +op=matmul +contract_id=647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704 +cubin=build/window-cubins/matmul-16x16x8.cubin +rc=0 +## 0c export attention hq8 hkv1 +$ build/artifact-export attention --q-heads 8 --kv-heads 1 --contract-id 003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359 --out build/window-cubins/attention-hd128-gqa8 --commit b774723f537cec16a359fe082b8100317a5b5490 +artifact_id=43645ef61f29ffef503420a2530709333e5d2eee7321f64409e13937be3e532c +op=gqa-causal-attention +contract_id=003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359 +cubin=build/window-cubins/attention-hd128-gqa8.cubin +rc=0 +## 0d re-export refuses an existing file +$ build/artifact-export matmul --m 16 --k 16 --n 8 --contract-id 647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704 --out build/window-cubins/matmul-16x16x8 --commit b774723f537cec16a359fe082b8100317a5b5490 +artifact-export refused: IO: +rc=3 +## 0e smoke (nvdisasm/cuobjdump on our own cubins, 12 sections + tkinfo) +$ sh tools/artifact_smoke.sh build/window-cubins +== build/window-cubins/attention-hd128-gqa8.cubin +nvdisasm: PASS +cuobjdump: PASS +artifact_id=43645ef61f29ffef503420a2530709333e5d2eee7321f64409e13937be3e532c +== build/window-cubins/matmul-16x16x8.cubin +nvdisasm: PASS +cuobjdump: PASS +artifact_id=5fa1eb86547376a1336be32947b65c313f7401c1091feefc5ef5191b9ece3cb5 +ARTIFACT SMOKE PASS +rc=0 +# cubin sha256 +90b5c752f793d1187485f7dcec0921001443498584075d13cfb47bf9236d2169 build/window-cubins/attention-hd128-gqa8.cubin +1dac563e82ff3523681261d9fb79d89db74f4081ca0a6328049940fc1c4c007b build/window-cubins/matmul-16x16x8.cubin +4d8ab7ae60f3550ab90710b2bc87af71e9ffeec91ad0190eb72f004b9d997ab7 evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin +7d1306933b67fa24a20dba59d39bf48fbd4aa5cec37e046e3b664e5e0c4b34eb evidence/MAX-INTEROP/68/matmul-16x16x8.cubin +# bridge head 3c5f0902d12388ffe661559e6856b0335a748f3d script sha256 1c52514755e41e2880b59324a1625850e64fed11f4af47889b1e6b04c6bbd926 +## 1 dry-run (L939-w2) +$ env CUDA_VISIBLE_DEVICES= sh tools/run-device-window.sh --ledger L939-w2 --dry-run +DRY-RUN ledger=L939-w2 window=maxinterop-device-L939-w2 pairs=5 out=evidence/device-window/L939-w2 +WOULD: spark-window open maxinterop-device-L939-w2 --ledger L939-w2 --gb10 exclusive --quiet none --lease 20 --wait +PLAN 01-cubin-matmul: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/window-cubins/matmul-16x16x8.cubin omega_matmul_bf16 16 16 8 +PLAN 02-cubin-gqa-load: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe --load-only ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/window-cubins/attention-hd128-gqa8.cubin omega_gqa_attention_causal 2 8 1 +PLAN 03-cubin-stale-reject: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe --expect-reject ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin omega_matmul_bf16 16 16 8 +PLAN 04-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 05-pair1-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 06-pair2-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 07-pair3-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 08-pair4-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 09-pair5-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 10-torch-cudapp: spark-window run env CUDAPP_TORCH_LIB=~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so PYTHONPATH=~/work/hive/t_a2d9375e/omega-bridge/attach/torch ~/work/BridgeAttach/venv/bin/python ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py ~/work/hive/t_a2d9375e/omega-bridge/evidence/device-window/L939-w2/torch-receipt.json +INPUTS +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/window-cubins/matmul-16x16x8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/window-cubins/attention-hd128-gqa8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py +OK ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py +OK ~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so +OK ~/workspace/maxinterop/venv/bin/python +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/libomega_gpu.a +OK torch importable by PYTHON=~/work/BridgeAttach/venv/bin/python +ROWS 10 (3 cubin + 1 conformance + 5 paired + 1 torch); GPU rows NOT_RUN +DRY-RUN PASS: plan complete, no device opened +rc=0 +## 2 negative: existing ledger dir L939 (window 1 evidence) +$ env CUDA_VISIBLE_DEVICES= sh tools/run-device-window.sh --ledger L939 --dry-run +DRY-RUN ledger=L939 window=maxinterop-device-L939 pairs=5 out=evidence/device-window/L939 +WOULD: spark-window open maxinterop-device-L939 --ledger L939 --gb10 exclusive --quiet none --lease 20 --wait +PLAN 01-cubin-matmul: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/window-cubins/matmul-16x16x8.cubin omega_matmul_bf16 16 16 8 +PLAN 02-cubin-gqa-load: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe --load-only ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/window-cubins/attention-hd128-gqa8.cubin omega_gqa_attention_causal 2 8 1 +PLAN 03-cubin-stale-reject: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe --expect-reject ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin omega_matmul_bf16 16 16 8 +PLAN 04-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 05-pair1-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 06-pair2-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 07-pair3-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 08-pair4-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 09-pair5-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 10-torch-cudapp: spark-window run env CUDAPP_TORCH_LIB=~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so PYTHONPATH=~/work/hive/t_a2d9375e/omega-bridge/attach/torch ~/work/BridgeAttach/venv/bin/python ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py ~/work/hive/t_a2d9375e/omega-bridge/evidence/device-window/L939/torch-receipt.json +INPUTS +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/window-cubins/matmul-16x16x8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/window-cubins/attention-hd128-gqa8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py +OK ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py +OK ~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so +OK ~/workspace/maxinterop/venv/bin/python +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/libomega_gpu.a +OK torch importable by PYTHON=~/work/BridgeAttach/venv/bin/python +EXISTS ~/work/hive/t_a2d9375e/omega-bridge/evidence/device-window/L939 (device mode refuses to overwrite evidence) +ROWS 10 (3 cubin + 1 conformance + 5 paired + 1 torch); GPU rows NOT_RUN +DRY-RUN INCOMPLETE: build missing inputs before the window +rc=1 +## 3 negative: CUBIN_DIR without exported cubins +$ env CUDA_VISIBLE_DEVICES= CUBIN_DIR=~/work/hive/t_a2d9375e/artifacts/no-cubins sh tools/run-device-window.sh --ledger L939-w2 --dry-run +DRY-RUN ledger=L939-w2 window=maxinterop-device-L939-w2 pairs=5 out=evidence/device-window/L939-w2 +WOULD: spark-window open maxinterop-device-L939-w2 --ledger L939-w2 --gb10 exclusive --quiet none --lease 20 --wait +PLAN 01-cubin-matmul: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe ~/work/hive/t_a2d9375e/artifacts/no-cubins/matmul-16x16x8.cubin omega_matmul_bf16 16 16 8 +PLAN 02-cubin-gqa-load: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe --load-only ~/work/hive/t_a2d9375e/artifacts/no-cubins/attention-hd128-gqa8.cubin omega_gqa_attention_causal 2 8 1 +PLAN 03-cubin-stale-reject: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe --expect-reject ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin omega_matmul_bf16 16 16 8 +PLAN 04-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 05-pair1-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 06-pair2-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 07-pair3-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 08-pair4-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 09-pair5-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 10-torch-cudapp: spark-window run env CUDAPP_TORCH_LIB=~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so PYTHONPATH=~/work/hive/t_a2d9375e/omega-bridge/attach/torch ~/work/BridgeAttach/venv/bin/python ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py ~/work/hive/t_a2d9375e/omega-bridge/evidence/device-window/L939-w2/torch-receipt.json +INPUTS +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe +MISSING ~/work/hive/t_a2d9375e/artifacts/no-cubins/matmul-16x16x8.cubin +MISSING ~/work/hive/t_a2d9375e/artifacts/no-cubins/attention-hd128-gqa8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py +OK ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py +OK ~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so +OK ~/workspace/maxinterop/venv/bin/python +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/libomega_gpu.a +OK torch importable by PYTHON=~/work/BridgeAttach/venv/bin/python +ROWS 10 (3 cubin + 1 conformance + 5 paired + 1 torch); GPU rows NOT_RUN +DRY-RUN INCOMPLETE: build missing inputs before the window +rc=1 +## 4 CPU conformance (no --device), max_runner.py with .to(dev) +$ env CUDA_VISIBLE_DEVICES= sh conformance/run.sh +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.054s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.0407582230400294, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.0004572040634229779, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": null} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.013016375945881, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0005371239967644215, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": null} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +DEVICE RUNS: NOT_RUN (pass --device inside an authorized spark-window) +CONFORMANCE HARNESS PASS +rc=0 +# git status --porcelain: [] diff --git a/evidence/device-window/dry-run-L939.log b/evidence/device-window/dry-run-L939.log new file mode 100644 index 0000000..8b7c71e --- /dev/null +++ b/evidence/device-window/dry-run-L939.log @@ -0,0 +1,167 @@ +# host spark-b87b 2026-11-07T02:54:53Z head ecf782fafdad4e20e002784c1823ab5d55bb4550 script sha256 cb5956f4a46994cca4dbba9f81213cfa12c8ab0297e24ab1b4ae366af62b74b3 +# inputs: CUDApp b774723f537cec16a359fe082b8100317a5b5490 make cubin-probe; make CC="gcc -fPIC" OUT_DIR=build-pic libomega_gpu; attach/torch/build.sh -> libcudapp_attach.so (outside repo, not committed) +# input sha256: cubin_probe 866cd6036db958092a7715e16fba899af7a309e75d93534c7c658a663506ee83 libcudapp_attach.so 9ab55c775184ba78cecc5a0549703b974423a06dc6058513c0743b556a23c3c7 libomega_gpu.a 18af54fd1c4f79afdb763aabb153a0bf7b36f293a556353373ef680d51b37008 +# PYTHON= torch 2.14.1+cpu; MAXPY= max 26.7.0 +# spark-window status before: no window open +## 1 dry-run (L939) +$ env CUDA_VISIBLE_DEVICES= sh tools/run-device-window.sh --ledger L939 --dry-run +DRY-RUN ledger=L939 window=maxinterop-device-L939 pairs=5 out=evidence/device-window/L939 +WOULD: spark-window open maxinterop-device-L939 --ledger L939 --gb10 exclusive --quiet none --lease 20 --wait +PLAN 01-cubin-matmul: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin omega_matmul_bf16 16 16 8 +PLAN 02-cubin-gqa: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin omega_gqa_attention_causal 2 8 1 +PLAN 03-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 04-pair1-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 05-pair2-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 06-pair3-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 07-pair4-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 08-pair5-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 09-torch-cudapp: spark-window run env CUDAPP_TORCH_LIB=~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so PYTHONPATH=~/work/hive/t_a2d9375e/omega-bridge/attach/torch ~/work/BridgeAttach/venv/bin/python ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py ~/work/hive/t_a2d9375e/omega-bridge/evidence/device-window/L939/torch-receipt.json +INPUTS +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py +OK ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py +OK ~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so +OK ~/workspace/maxinterop/venv/bin/python +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/libomega_gpu.a +OK torch importable by PYTHON=~/work/BridgeAttach/venv/bin/python +ROWS 9 (2 cubin + 1 conformance + 5 paired + 1 torch); GPU rows NOT_RUN +DRY-RUN PASS: plan complete, no device opened +rc=0 +## 2 negative: missing --ledger +$ env CUDA_VISIBLE_DEVICES= sh tools/run-device-window.sh --dry-run +REFUSE: no ledger id; usage: run-device-window.sh --ledger ID [--dry-run] [--pairs N] +rc=2 +## 3 negative: CUDA_VISIBLE_DEVICES=0 (env only; no device opened) +$ env CUDA_VISIBLE_DEVICES=0 sh tools/run-device-window.sh --ledger L939 --dry-run +REFUSE: dry-run requires CUDA_VISIBLE_DEVICES set and empty (got '0') +rc=3 +## 4 negative: CUDA_VISIBLE_DEVICES unset +$ env -u CUDA_VISIBLE_DEVICES sh tools/run-device-window.sh --ledger L939 --dry-run +REFUSE: dry-run requires CUDA_VISIBLE_DEVICES set and empty (got 'unset') +rc=3 +## 5 negative: --pairs 4 +$ env CUDA_VISIBLE_DEVICES= sh tools/run-device-window.sh --ledger L939 --dry-run --pairs 4 +REFUSE: --pairs 4 < 5 +rc=2 +## 6 negative: torch lib absent +$ env CUDA_VISIBLE_DEVICES= CUDAPP_TORCH_LIB=~/work/hive/t_a2d9375e/artifacts/absent.so sh tools/run-device-window.sh --ledger L939 --dry-run +DRY-RUN ledger=L939 window=maxinterop-device-L939 pairs=5 out=evidence/device-window/L939 +WOULD: spark-window open maxinterop-device-L939 --ledger L939 --gb10 exclusive --quiet none --lease 20 --wait +PLAN 01-cubin-matmul: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin omega_matmul_bf16 16 16 8 +PLAN 02-cubin-gqa: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin omega_gqa_attention_causal 2 8 1 +PLAN 03-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 04-pair1-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 05-pair2-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 06-pair3-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 07-pair4-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 08-pair5-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 09-torch-cudapp: spark-window run env CUDAPP_TORCH_LIB=~/work/hive/t_a2d9375e/artifacts/absent.so PYTHONPATH=~/work/hive/t_a2d9375e/omega-bridge/attach/torch ~/work/BridgeAttach/venv/bin/python ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py ~/work/hive/t_a2d9375e/omega-bridge/evidence/device-window/L939/torch-receipt.json +INPUTS +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py +OK ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py +MISSING ~/work/hive/t_a2d9375e/artifacts/absent.so +OK ~/workspace/maxinterop/venv/bin/python +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/libomega_gpu.a +OK torch importable by PYTHON=~/work/BridgeAttach/venv/bin/python +ROWS 9 (2 cubin + 1 conformance + 5 paired + 1 torch); GPU rows NOT_RUN +DRY-RUN INCOMPLETE: build missing inputs before the window +rc=1 +## 7 negative: PYTHON without torch (/usr/bin/python3) +$ env CUDA_VISIBLE_DEVICES= PYTHON=/usr/bin/python3 sh tools/run-device-window.sh --ledger L939 --dry-run +DRY-RUN ledger=L939 window=maxinterop-device-L939 pairs=5 out=evidence/device-window/L939 +WOULD: spark-window open maxinterop-device-L939 --ledger L939 --gb10 exclusive --quiet none --lease 20 --wait +PLAN 01-cubin-matmul: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin omega_matmul_bf16 16 16 8 +PLAN 02-cubin-gqa: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin omega_gqa_attention_causal 2 8 1 +PLAN 03-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 04-pair1-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 05-pair2-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 06-pair3-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 07-pair4-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 08-pair5-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 09-torch-cudapp: spark-window run env CUDAPP_TORCH_LIB=~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so PYTHONPATH=~/work/hive/t_a2d9375e/omega-bridge/attach/torch /usr/bin/python3 ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py ~/work/hive/t_a2d9375e/omega-bridge/evidence/device-window/L939/torch-receipt.json +INPUTS +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py +OK ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py +OK ~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so +OK ~/workspace/maxinterop/venv/bin/python +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/libomega_gpu.a +MISSING torch for PYTHON=/usr/bin/python3 (set PYTHON to an interpreter with torch) +ROWS 9 (2 cubin + 1 conformance + 5 paired + 1 torch); GPU rows NOT_RUN +DRY-RUN INCOMPLETE: build missing inputs before the window +rc=1 +## 8 negative: evidence dir exists (dry-run) +$ env CUDA_VISIBLE_DEVICES= sh tools/run-device-window.sh --ledger NEGCTL-EXISTS --dry-run +DRY-RUN ledger=NEGCTL-EXISTS window=maxinterop-device-NEGCTL-EXISTS pairs=5 out=evidence/device-window/NEGCTL-EXISTS +WOULD: spark-window open maxinterop-device-NEGCTL-EXISTS --ledger NEGCTL-EXISTS --gb10 exclusive --quiet none --lease 20 --wait +PLAN 01-cubin-matmul: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin omega_matmul_bf16 16 16 8 +PLAN 02-cubin-gqa: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin omega_gqa_attention_causal 2 8 1 +PLAN 03-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 04-pair1-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 05-pair2-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 06-pair3-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 07-pair4-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 08-pair5-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device +PLAN 09-torch-cudapp: spark-window run env CUDAPP_TORCH_LIB=~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so PYTHONPATH=~/work/hive/t_a2d9375e/omega-bridge/attach/torch ~/work/BridgeAttach/venv/bin/python ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py ~/work/hive/t_a2d9375e/omega-bridge/evidence/device-window/NEGCTL-EXISTS/torch-receipt.json +INPUTS +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh +OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py +OK ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py +OK ~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so +OK ~/workspace/maxinterop/venv/bin/python +OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/libomega_gpu.a +OK torch importable by PYTHON=~/work/BridgeAttach/venv/bin/python +EXISTS ~/work/hive/t_a2d9375e/omega-bridge/evidence/device-window/NEGCTL-EXISTS (device mode refuses to overwrite evidence) +ROWS 9 (2 cubin + 1 conformance + 5 paired + 1 torch); GPU rows NOT_RUN +DRY-RUN INCOMPLETE: build missing inputs before the window +rc=1 +## 9 negative: evidence dir exists (device mode refuses before any window opens; SPARK_WINDOW=NEGCTL-none so even a broken refusal could not open one) +$ env SPARK_WINDOW=NEGCTL-none sh tools/run-device-window.sh --ledger NEGCTL-EXISTS +REFUSE: ~/work/hive/t_a2d9375e/omega-bridge/evidence/device-window/NEGCTL-EXISTS exists; evidence is never overwritten, use a new --ledger id +rc=2 +# NEGCTL-EXISTS contents after 9 (must be empty): [] +# spark-window status after 9: no window open +## 10 dry-run creates no evidence dir +$ ls evidence/device-window/L939 +ls: cannot access 'evidence/device-window/L939': No such file or directory +rc=2 +## 11 CPU conformance (no --device) +$ env CUDA_VISIBLE_DEVICES= sh conformance/run.sh +test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok +test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok +test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok +test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok +test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok +test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok +test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok + +---------------------------------------------------------------------- +Ran 7 tests in 0.058s + +OK +build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'} +build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'} +build/omega_runner: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=53286a8bc75888ddd484cc22f50a76c85e3c794b, for GNU/Linux 3.7.0, not stripped +{"accelerator_api": "cpu", "compile_seconds": 2.1555091550108045, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "execute_seconds": 0.001126343966461718, "max_version": "unknown", "numeric_path": "fp32-mul-add (exact for this fixture)", "output_sha256": "60a7f7d46597cfff1cd126df12aa8583f191fc6c64a2a608341608f2de8e70a4", "runner": "modular-max", "shape": [4, 3], "spark_window": null} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"} +{"accelerator_api": "cpu", "compile_seconds": 2.022073525004089, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "execute_seconds": 0.0006670129951089621, "max_version": "unknown", "numeric_path": "fp32-softmax", "output_sha256": "4e9b2bf0402156d5a431dce04d46ac8cd62069c9c6193491e0889e39f1f2fcb0", "runner": "modular-max", "shape": [2, 4, 128], "spark_window": null} +{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"} +{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"} +DEVICE RUNS: NOT_RUN (pass --device inside an authorized spark-window) +CONFORMANCE HARNESS PASS +rc=0 +# 11 wall seconds 6 +# git status --porcelain: [] diff --git a/evidence/device-window/dry-run.log b/evidence/device-window/dry-run.log new file mode 100644 index 0000000..a54874f --- /dev/null +++ b/evidence/device-window/dry-run.log @@ -0,0 +1,59 @@ +# host spark-b87b 2026-11-06T20:28:14Z head 64f76a5698b1afd9004ffa484c0017f243b08d01 script sha256 02377643308615bb3bf45abb12c85259639ef37c559f7619bdc3d48198f36fb1 +# inputs built CPU-only (not executed): CUDApp b774723f537cec16a359fe082b8100317a5b5490 make cubin-probe -> cubin_probe sha256 866cd6036db958092a7715e16fba899af7a309e75d93534c7c658a663506ee83; make CC="gcc -fPIC" OUT_DIR=build-pic libomega_gpu + attach/torch/build.sh -> libcudapp_attach.so sha256 9ab55c775184ba78cecc5a0549703b974423a06dc6058513c0743b556a23c3c7 (outside repo, not committed) +# CPU timing: CUDA_VISIBLE_DEVICES= sh conformance/run.sh (no --device) rc=0 CONFORMANCE HARNESS PASS, 39.46 s wall; host diagnostic only, not a device timing +## 1 dry-run: CUDA_VISIBLE_DEVICES= CUDAPP= CUDAPP_TORCH_LIB= sh tools/run-device-window.sh --ledger DRYRUN-DRA105 --dry-run +DRY-RUN ledger=DRYRUN-DRA105 window=maxinterop-device-DRYRUN-DRA105 pairs=5 out=evidence/device-window/DRYRUN-DRA105 +WOULD: spark-window open maxinterop-device-DRYRUN-DRA105 --ledger DRYRUN-DRA105 --gb10 shared --quiet none --lease 10 +PLAN 01-cubin-matmul: spark-window run /home/drakestapleton/work/hive/BridgeCompiler/W105Window/cudapp/build/cubin_probe /home/drakestapleton/work/hive/BridgeCompiler/W105Window/cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin omega_matmul_bf16 16 16 8 +PLAN 02-cubin-gqa: spark-window run /home/drakestapleton/work/hive/BridgeCompiler/W105Window/cudapp/build/cubin_probe /home/drakestapleton/work/hive/BridgeCompiler/W105Window/cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin omega_gqa_attention_causal 2 8 1 +PLAN 03-conformance-device: spark-window run /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/conformance/run.sh --device +PLAN 04-pair1-conformance-device: spark-window run /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/conformance/run.sh --device +PLAN 05-pair2-conformance-device: spark-window run /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/conformance/run.sh --device +PLAN 06-pair3-conformance-device: spark-window run /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/conformance/run.sh --device +PLAN 07-pair4-conformance-device: spark-window run /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/conformance/run.sh --device +PLAN 08-pair5-conformance-device: spark-window run /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/conformance/run.sh --device +PLAN 09-torch-cudapp: spark-window run env CUDAPP_TORCH_LIB=/home/drakestapleton/work/hive/BridgeCompiler/W105Window/artifacts/libcudapp_attach.so PYTHONPATH=/home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/attach/torch python3 /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/attach/torch/test_cudapp_torch.py /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/evidence/device-window/DRYRUN-DRA105/torch-receipt.json +INPUTS +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/cudapp/build/cubin_probe +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/conformance/run.sh +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/conformance/max_runner.py +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/attach/torch/test_cudapp_torch.py +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/artifacts/libcudapp_attach.so +OK /home/drakestapleton/workspace/maxinterop/venv/bin/python +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/cudapp/build/libomega_gpu.a +ROWS 9 (2 cubin + 1 conformance + 5 paired + 1 torch); GPU rows NOT_RUN +DRY-RUN PASS: plan complete, no device opened +rc=0 +## 2 negative: missing --ledger +REFUSE: no ledger id; usage: run-device-window.sh --ledger ID [--dry-run] [--pairs N] +rc=2 +## 3 negative: visible-device simulation CUDA_VISIBLE_DEVICES=0 (env only; no device opened) +REFUSE: dry-run requires CUDA_VISIBLE_DEVICES set and empty (got '0') +rc=3 +## 4 negative: CUDA_VISIBLE_DEVICES unset +REFUSE: dry-run requires CUDA_VISIBLE_DEVICES set and empty (got 'unset') +rc=3 +## 5 negative: --pairs 4 +REFUSE: --pairs 4 < 5 +rc=2 +## 6 negative: torch lib absent (default CUDAPP_TORCH_LIB path) +DRY-RUN ledger=DRYRUN-DRA105 window=maxinterop-device-DRYRUN-DRA105 pairs=5 out=evidence/device-window/DRYRUN-DRA105 +WOULD: spark-window open maxinterop-device-DRYRUN-DRA105 --ledger DRYRUN-DRA105 --gb10 shared --quiet none --lease 10 +INPUTS +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/cudapp/build/cubin_probe +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/conformance/run.sh +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/conformance/max_runner.py +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/attach/torch/test_cudapp_torch.py +MISSING /home/drakestapleton/work/hive/BridgeCompiler/W105Window/omega-bridge/attach/torch/libcudapp_attach.so +OK /home/drakestapleton/workspace/maxinterop/venv/bin/python +OK /home/drakestapleton/work/hive/BridgeCompiler/W105Window/cudapp/build/libomega_gpu.a +ROWS 9 (2 cubin + 1 conformance + 5 paired + 1 torch); GPU rows NOT_RUN +DRY-RUN INCOMPLETE: build missing inputs before the window +rc=1 +## 7 evidence dir not created by dry-run +ls: cannot access 'evidence/device-window/DRYRUN-DRA105': No such file or directory +rc=2 diff --git a/tools/run-device-window.sh b/tools/run-device-window.sh index ab0d9b8..79a2113 100755 --- a/tools/run-device-window.sh +++ b/tools/run-device-window.sh @@ -1,36 +1,167 @@ #!/bin/sh -# One-shot GB10 device qualification for the MAX interop work. Requires an -# authorized window: the ledger (--ledger) must be in the coordinator's -# CHIP-RESERVED allow-list, otherwise spark-window exits 3 and this stops. +# One-shot GB10 device qualification for every row of MISSION-REPORT.md §3 that +# a window can unblock. Opens ONE exclusive spark-window (chip lock exclusive, +# no quiet lock: the rows compare values, so their timings are shared-machine +# diagnostics, not speed receipts), waits its turn in line, and closes the +# window by its id when done or on any exit. # -# sh tools/run-device-window.sh --ledger L679 +# sh tools/run-device-window.sh --ledger L679 # device run (needs an authorized lease) +# CUDA_VISIBLE_DEVICES= sh tools/run-device-window.sh --ledger L679 --dry-run # -# Does, in order, inside ONE window: loads/launches the exported cubins through -# the vendor driver, then runs the separate-process Omega/MAX conformance with -# --device. Never resets the GPU, changes the driver, or touches the serving -# process. All results carry the SPARK_WINDOW id. +# Device mode does, in order, inside ONE window: +# 1. cubin_probe on cubins exported by the CURRENT CUDApp writer (CUBIN_DIR): +# matmul 16x16x8 load + launch against the probe's fp32 oracle; GQA +# (hq 8, hkv 1, hd 128) load + symbol resolve only (cubin_probe launches the +# matmul ABI; an attention launch needs an attention probe, MAX Gate 3); +# negative control: the pre-fix image committed in CUDApp +# evidence/MAX-INTEROP/68 (no .note.nv.tkinfo, CUDApp#202) must be rejected. +# 2. conformance/run.sh --device (Omega native + MAX 26.7 max_runner.py --device gpu, +# matmul and GQA, each judged by the independent oracle) +# 3. paired runs: conformance/run.sh --device repeated PAIRS times (default 5, minimum 5) +# 4. attach/torch/test_cudapp_torch.py (PR #30) against CUDAPP_TORCH_LIB +# Export the cubins on the CPU before the window (opens no device; the exporter +# refuses an existing file, so use an empty CUBIN_DIR): +# (cd $CUDAPP && make artifact-export cubin-probe && mkdir -p build/window-cubins && +# build/artifact-export matmul --m 16 --k 16 --n 8 \ +# --contract-id 647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704 \ +# --out build/window-cubins/matmul-16x16x8 --commit $(git rev-parse HEAD) && +# build/artifact-export attention --q-heads 8 --kv-heads 1 \ +# --contract-id 003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359 \ +# --out build/window-cubins/attention-hd128-gqa8 --commit $(git rev-parse HEAD)) +# The exported cubins and manifests are copied into the evidence directory. +# Raw stdout/stderr and rc of every step go to evidence/device-window//, +# with the window id, host and source identity in window.txt and each +# conformance row's device result files (.json metadata + .bin output) in +# .out/. Never resets the GPU, changes the driver, or touches the serving +# process. +# +# --dry-run opens nothing: no spark-window, no probe, no device file. It +# refuses unless CUDA_VISIBLE_DEVICES is set and empty, prints the plan, and +# checks that every input file exists and that $PYTHON can find torch (an +# importlib find_spec lookup; torch itself is not imported). rc 0 = plan complete. set -eu -ledger="" -while [ $# -gt 0 ]; do case $1 in --ledger) ledger=$2; shift 2 ;; *) echo "unknown $1" >&2; exit 2 ;; esac; done -[ -n "$ledger" ] || { echo "usage: run-device-window.sh --ledger ID" >&2; exit 2; } +ledger="" dry=0 pairs=${PAIRS:-5} +while [ $# -gt 0 ]; do + case $1 in + --ledger) [ $# -ge 2 ] || { echo "REFUSE: --ledger needs an ID" >&2; exit 2; }; ledger=$2; shift 2 ;; + --dry-run) dry=1; shift ;; + --pairs) pairs=$2; shift 2 ;; + *) echo "unknown $1" >&2; exit 2 ;; + esac +done +[ -n "$ledger" ] || { echo "REFUSE: no ledger id; usage: run-device-window.sh --ledger ID [--dry-run] [--pairs N]" >&2; exit 2; } +case $ledger in *[!A-Za-z0-9._-]*) echo "REFUSE: ledger id must match [A-Za-z0-9._-]+" >&2; exit 2 ;; esac +case $pairs in ''|*[!0-9]*) echo "REFUSE: --pairs must be an integer" >&2; exit 2 ;; esac +[ "$pairs" -ge 5 ] || { echo "REFUSE: --pairs $pairs < 5" >&2; exit 2; } here=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd) -cudapp="$here/../cudapp" +cudapp=${CUDAPP:-$here/../cudapp} +torchlib=${CUDAPP_TORCH_LIB:-$here/attach/torch/libcudapp_attach.so} +out="$here/evidence/device-window/$ledger" name="maxinterop-device-$ledger" +cubins=${CUBIN_DIR:-$cudapp/build/window-cubins} +mm_cubin="$cubins/matmul-16x16x8.cubin" +gqa_cubin="$cubins/attention-hd128-gqa8.cubin" +# Pre-fix writer output (CUDApp evidence/MAX-INTEROP/G2/README.md: "do not use it +# as the current writer's output"); only ever the expected-reject control. +stale_cubin="$cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin" + +# step NAME CMD...: one plan row. Dry-run prints; device mode runs under spark-window. +n=0 fail=0 +step() { + n=$((n + 1)); label=$(printf '%02d-%s' "$n" "$1"); shift + if [ "$dry" = 1 ]; then echo "PLAN $label: spark-window run $*"; return 0; fi + set +e + spark-window run "$@" >"$out/$label.log" 2>&1 + rc=$? + set -e + echo "$label rc=$rc" | tee -a "$out/rc.txt" + [ "$rc" = 0 ] || fail=1 +} +# conf_step NAME: one conformance/run.sh --device row. Device results of an earlier +# row are removed first, so .out/ only ever holds files this row wrote. +cbuild="$here/conformance/build" +conf_step() { + if [ "$dry" != 1 ]; then rm -f "$cbuild"/omega-gpu-* "$cbuild"/max-gpu-*; fi + step "$1" "$here/conformance/run.sh" --device + if [ "$dry" != 1 ]; then + mkdir -p "$out/$label.out" + for f in "$cbuild"/omega-gpu-* "$cbuild"/max-gpu-*; do if [ -e "$f" ]; then cp "$f" "$out/$label.out/"; fi; done + (cd "$out/$label.out" && sha256sum -- * 2>/dev/null) >"$out/$label.out.sha256" || true + fi +} +need() { if [ -e "$1" ]; then echo "OK $1"; else echo "MISSING $1"; missing=1; fi; } +plan() { + step cubin-matmul "$cudapp/build/cubin_probe" "$mm_cubin" omega_matmul_bf16 16 16 8 + step cubin-gqa-load "$cudapp/build/cubin_probe" --load-only "$gqa_cubin" omega_gqa_attention_causal 2 8 1 + step cubin-stale-reject "$cudapp/build/cubin_probe" --expect-reject "$stale_cubin" omega_matmul_bf16 16 16 8 + conf_step conformance-device + i=1 + while [ "$i" -le "$pairs" ]; do conf_step "pair$i-conformance-device"; i=$((i + 1)); done + step torch-cudapp env CUDAPP_TORCH_LIB="$torchlib" PYTHONPATH="$here/attach/torch" \ + "${PYTHON:-python3}" "$here/attach/torch/test_cudapp_torch.py" "$out/torch-receipt.json" +} + +if [ "$dry" = 1 ]; then + if [ "${CUDA_VISIBLE_DEVICES-unset}" = unset ] || [ -n "${CUDA_VISIBLE_DEVICES}" ]; then + echo "REFUSE: dry-run requires CUDA_VISIBLE_DEVICES set and empty (got '${CUDA_VISIBLE_DEVICES-unset}')" >&2 + exit 3 + fi + [ -z "${SPARK_WINDOW:-}" ] || { echo "REFUSE: dry-run inside an open SPARK_WINDOW=$SPARK_WINDOW" >&2; exit 3; } + echo "DRY-RUN ledger=$ledger window=$name pairs=$pairs out=evidence/device-window/$ledger" + echo "WOULD: spark-window open $name --ledger $ledger --gb10 exclusive --quiet none --lease 20 --wait" + plan + echo "INPUTS" + missing=0 + need "$cudapp/build/cubin_probe"; need "$mm_cubin"; need "$gqa_cubin"; need "$stale_cubin" + need "$here/conformance/run.sh"; need "$here/conformance/max_runner.py" + need "$here/attach/torch/test_cudapp_torch.py"; need "$torchlib" + need "${MAXPY:-$HOME/workspace/maxinterop/venv/bin/python}"; need "$cudapp/build/libomega_gpu.a" + py=${PYTHON:-python3} + if "$py" -c 'import importlib.util, sys; sys.exit(importlib.util.find_spec("torch") is None)' 2>/dev/null; then + echo "OK torch importable by PYTHON=$py" + else + echo "MISSING torch for PYTHON=$py (set PYTHON to an interpreter with torch)"; missing=1 + fi + if [ -e "$out" ]; then echo "EXISTS $out (device mode refuses to overwrite evidence)"; missing=1; fi + echo "ROWS $n (3 cubin + 1 conformance + $pairs paired + 1 torch); GPU rows NOT_RUN" + if [ "$missing" = 1 ]; then echo "DRY-RUN INCOMPLETE: build missing inputs before the window"; exit 1; fi + echo "DRY-RUN PASS: plan complete, no device opened" + exit 0 +fi + +# Evidence is additions only: a second run under the same ledger id never overwrites the first. +[ ! -e "$out" ] || { echo "REFUSE: $out exists; evidence is never overwritten, use a new --ledger id" >&2; exit 2; } +mkdir -p "$out" +: >"$out/rc.txt" +opened=0 wid="" +trap '[ "$opened" = 1 ] && spark-window close "$wid" || true' EXIT +trap 'exit 130' INT TERM if [ -z "${SPARK_WINDOW:-}" ]; then - spark-window open "$name" --ledger "$ledger" --gb10 shared --quiet none --lease 10 + wid=$(spark-window open "$name" --ledger "$ledger" --gb10 exclusive --quiet none --lease 20 --wait) || + { echo "REFUSE: spark-window open failed; no row ran" >&2; exit 3; } opened=1 else - opened=0 + wid=$SPARK_WINDOW fi -trap '[ "$opened" = 1 ] && spark-window close "$name" 2>/dev/null || true' EXIT - -# 1. Load/run the exported cubins through the vendor driver (probe refuses without SPARK_WINDOW). -spark-window run "$cudapp/build/cubin_probe" \ - "$cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin" omega_matmul_bf16 16 16 8 -spark-window run "$cudapp/build/cubin_probe" \ - "$cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin" omega_gqa_attention_causal 2 8 1 - -# 2. Separate-process Omega and MAX GPU runs, judged by the independent oracle. -spark-window run "$here/conformance/run.sh" --device +{ + echo "window_id $wid" + echo "opened_here $opened" + echo "host $(hostname)" + echo "start_utc $(date -u +%Y-%m-%dT%H:%M:%SZ)" + echo "bridge_head $(git -C "$here" rev-parse HEAD 2>/dev/null || echo unknown)" + echo "bridge_dirty $(git -C "$here" status --porcelain --untracked-files=no 2>/dev/null | wc -l)" + echo "cudapp_head $(git -C "$cudapp" rev-parse HEAD 2>/dev/null || echo unknown)" + echo "script_sha256 $(sha256sum < "$0" | cut -d' ' -f1)" + for f in "$cudapp/build/cubin_probe" "$mm_cubin" "$gqa_cubin" "$stale_cubin" "$torchlib" "$cudapp/build/libomega_gpu.a"; do + echo "input_sha256 $(sha256sum < "$f" | cut -d' ' -f1) $(basename "$(dirname "$f")")/$(basename "$f")" + done + echo "pairs $pairs" +} >"$out/window.txt" +mkdir -p "$out/cubins" +cp "$cubins"/matmul-16x16x8.* "$cubins"/attention-hd128-gqa8.* "$out/cubins/" +plan +echo "end_utc $(date -u +%Y-%m-%dT%H:%M:%SZ)" >>"$out/window.txt" +[ "$fail" = 0 ] && echo "DEVICE WINDOW $ledger: all $n rows rc=0" || echo "DEVICE WINDOW $ledger: FAIL (see $out/rc.txt)" +exit "$fail"