interplane.Get Omega
Read in your language

omega-bridge

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

Brought by drakestapleton

branch main Branches Tags History

omega-bridge / evidence / device-window / dry-run-L939.log

167 lines · 16432 bytes Raw Blame History
1# host spark-b87b 2026-11-07T02:54:53Z head ecf782fafdad4e20e002784c1823ab5d55bb4550 script sha256 cb5956f4a46994cca4dbba9f81213cfa12c8ab0297e24ab1b4ae366af62b74b3
2# 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)
3# input sha256: cubin_probe 866cd6036db958092a7715e16fba899af7a309e75d93534c7c658a663506ee83 libcudapp_attach.so 9ab55c775184ba78cecc5a0549703b974423a06dc6058513c0743b556a23c3c7 libomega_gpu.a 18af54fd1c4f79afdb763aabb153a0bf7b36f293a556353373ef680d51b37008
4# PYTHON=<BridgeAttach venv> torch 2.14.1+cpu; MAXPY=<maxinterop venv> max 26.7.0
5# spark-window status before: no window open
6## 1 dry-run (L939)
7$ env CUDA_VISIBLE_DEVICES= sh tools/run-device-window.sh --ledger L939 --dry-run
8DRY-RUN ledger=L939 window=maxinterop-device-L939 pairs=5 out=evidence/device-window/L939
9WOULD: spark-window open maxinterop-device-L939 --ledger L939 --gb10 exclusive --quiet none --lease 20 --wait
10PLAN 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
11PLAN 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
12PLAN 03-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
13PLAN 04-pair1-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
14PLAN 05-pair2-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
15PLAN 06-pair3-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
16PLAN 07-pair4-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
17PLAN 08-pair5-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
18PLAN 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
19INPUTS
20OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe
21OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin
22OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin
23OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh
24OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py
25OK ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py
26OK ~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so
27OK ~/workspace/maxinterop/venv/bin/python
28OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/libomega_gpu.a
29OK torch importable by PYTHON=~/work/BridgeAttach/venv/bin/python
30ROWS 9 (2 cubin + 1 conformance + 5 paired + 1 torch); GPU rows NOT_RUN
31DRY-RUN PASS: plan complete, no device opened
32rc=0
33## 2 negative: missing --ledger
34$ env CUDA_VISIBLE_DEVICES= sh tools/run-device-window.sh --dry-run
35REFUSE: no ledger id; usage: run-device-window.sh --ledger ID [--dry-run] [--pairs N]
36rc=2
37## 3 negative: CUDA_VISIBLE_DEVICES=0 (env only; no device opened)
38$ env CUDA_VISIBLE_DEVICES=0 sh tools/run-device-window.sh --ledger L939 --dry-run
39REFUSE: dry-run requires CUDA_VISIBLE_DEVICES set and empty (got '0')
40rc=3
41## 4 negative: CUDA_VISIBLE_DEVICES unset
42$ env -u CUDA_VISIBLE_DEVICES sh tools/run-device-window.sh --ledger L939 --dry-run
43REFUSE: dry-run requires CUDA_VISIBLE_DEVICES set and empty (got 'unset')
44rc=3
45## 5 negative: --pairs 4
46$ env CUDA_VISIBLE_DEVICES= sh tools/run-device-window.sh --ledger L939 --dry-run --pairs 4
47REFUSE: --pairs 4 < 5
48rc=2
49## 6 negative: torch lib absent
50$ env CUDA_VISIBLE_DEVICES= CUDAPP_TORCH_LIB=~/work/hive/t_a2d9375e/artifacts/absent.so sh tools/run-device-window.sh --ledger L939 --dry-run
51DRY-RUN ledger=L939 window=maxinterop-device-L939 pairs=5 out=evidence/device-window/L939
52WOULD: spark-window open maxinterop-device-L939 --ledger L939 --gb10 exclusive --quiet none --lease 20 --wait
53PLAN 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
54PLAN 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
55PLAN 03-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
56PLAN 04-pair1-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
57PLAN 05-pair2-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
58PLAN 06-pair3-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
59PLAN 07-pair4-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
60PLAN 08-pair5-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
61PLAN 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
62INPUTS
63OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe
64OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin
65OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin
66OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh
67OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py
68OK ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py
69MISSING ~/work/hive/t_a2d9375e/artifacts/absent.so
70OK ~/workspace/maxinterop/venv/bin/python
71OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/libomega_gpu.a
72OK torch importable by PYTHON=~/work/BridgeAttach/venv/bin/python
73ROWS 9 (2 cubin + 1 conformance + 5 paired + 1 torch); GPU rows NOT_RUN
74DRY-RUN INCOMPLETE: build missing inputs before the window
75rc=1
76## 7 negative: PYTHON without torch (/usr/bin/python3)
77$ env CUDA_VISIBLE_DEVICES= PYTHON=/usr/bin/python3 sh tools/run-device-window.sh --ledger L939 --dry-run
78DRY-RUN ledger=L939 window=maxinterop-device-L939 pairs=5 out=evidence/device-window/L939
79WOULD: spark-window open maxinterop-device-L939 --ledger L939 --gb10 exclusive --quiet none --lease 20 --wait
80PLAN 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
81PLAN 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
82PLAN 03-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
83PLAN 04-pair1-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
84PLAN 05-pair2-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
85PLAN 06-pair3-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
86PLAN 07-pair4-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
87PLAN 08-pair5-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
88PLAN 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
89INPUTS
90OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe
91OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin
92OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin
93OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh
94OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py
95OK ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py
96OK ~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so
97OK ~/workspace/maxinterop/venv/bin/python
98OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/libomega_gpu.a
99MISSING torch for PYTHON=/usr/bin/python3 (set PYTHON to an interpreter with torch)
100ROWS 9 (2 cubin + 1 conformance + 5 paired + 1 torch); GPU rows NOT_RUN
101DRY-RUN INCOMPLETE: build missing inputs before the window
102rc=1
103## 8 negative: evidence dir exists (dry-run)
104$ env CUDA_VISIBLE_DEVICES= sh tools/run-device-window.sh --ledger NEGCTL-EXISTS --dry-run
105DRY-RUN ledger=NEGCTL-EXISTS window=maxinterop-device-NEGCTL-EXISTS pairs=5 out=evidence/device-window/NEGCTL-EXISTS
106WOULD: spark-window open maxinterop-device-NEGCTL-EXISTS --ledger NEGCTL-EXISTS --gb10 exclusive --quiet none --lease 20 --wait
107PLAN 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
108PLAN 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
109PLAN 03-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
110PLAN 04-pair1-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
111PLAN 05-pair2-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
112PLAN 06-pair3-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
113PLAN 07-pair4-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
114PLAN 08-pair5-conformance-device: spark-window run ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh --device
115PLAN 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
116INPUTS
117OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/cubin_probe
118OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/matmul-16x16x8.cubin
119OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/evidence/MAX-INTEROP/68/attention-hd128-gqa8.cubin
120OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/run.sh
121OK ~/work/hive/t_a2d9375e/omega-bridge/conformance/max_runner.py
122OK ~/work/hive/t_a2d9375e/omega-bridge/attach/torch/test_cudapp_torch.py
123OK ~/work/hive/t_a2d9375e/artifacts/libcudapp_attach.so
124OK ~/workspace/maxinterop/venv/bin/python
125OK ~/work/hive/t_a2d9375e/omega-bridge/../cudapp/build/libomega_gpu.a
126OK torch importable by PYTHON=~/work/BridgeAttach/venv/bin/python
127EXISTS ~/work/hive/t_a2d9375e/omega-bridge/evidence/device-window/NEGCTL-EXISTS (device mode refuses to overwrite evidence)
128ROWS 9 (2 cubin + 1 conformance + 5 paired + 1 torch); GPU rows NOT_RUN
129DRY-RUN INCOMPLETE: build missing inputs before the window
130rc=1
131## 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)
132$ env SPARK_WINDOW=NEGCTL-none sh tools/run-device-window.sh --ledger NEGCTL-EXISTS
133REFUSE: ~/work/hive/t_a2d9375e/omega-bridge/evidence/device-window/NEGCTL-EXISTS exists; evidence is never overwritten, use a new --ledger id
134rc=2
135# NEGCTL-EXISTS contents after 9 (must be empty): []
136# spark-window status after 9: no window open
137## 10 dry-run creates no evidence dir
138$ ls evidence/device-window/L939
139ls: cannot access 'evidence/device-window/L939': No such file or directory
140rc=2
141## 11 CPU conformance (no --device)
142$ env CUDA_VISIBLE_DEVICES= sh conformance/run.sh
143test_hidden_accelerator_proceeds_to_cpu (__main__.CpuRunHidesGpuTests.test_hidden_accelerator_proceeds_to_cpu) ... ok
144test_visible_accelerator_is_refused (__main__.CpuRunHidesGpuTests.test_visible_accelerator_is_refused) ... ok
145test_invalid_version_is_unknown (__main__.MaxVersionMetadataTests.test_invalid_version_is_unknown) ... ok
146test_missing_version_is_unknown (__main__.MaxVersionMetadataTests.test_missing_version_is_unknown) ... ok
147test_observed_version_is_preserved (__main__.MaxVersionMetadataTests.test_observed_version_is_preserved) ... ok
148test_unavailable_module_is_unknown (__main__.MaxVersionMetadataTests.test_unavailable_module_is_unknown) ... ok
149test_unreadable_version_is_unknown (__main__.MaxVersionMetadataTests.test_unreadable_version_is_unknown) ... ok
150
151----------------------------------------------------------------------
152Ran 7 tests in 0.058s
153
154OK
155build/fixtures/matmul-v1.json {'a': '3aa39ad076cf6dc08de24cfb31132d2d6adc6444623933786889b2bca15a76cf', 'b': 'ecad04839ce22217a1f5e35def8ceee26fce87819d28a70067574fc4cb7604fe'}
156build/fixtures/gqa-causal-v1.json {'q': '1644b426e47bebd43a1c9b91bb11376f07e7a2678e727a43b37a681313e9c729', 'k': 'a621e99db699a04a01876ff78e30f85f4ccdfa6aa2d4507ae6c92db4fdbd4b08', 'v': '4427d100d96dfe263dde83154be5f60ec368d068b86baaea0f02dd878014ddc9'}
157build/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
158{"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}
159{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "cpu", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "modular-max"}
160{"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}
161{"checks": 12, "contract_id": "003696e422bba7274877ba9e01a61076ea0f862f32760cbaa06c60f85a115359", "device": "cpu", "fail": 0, "fixture": "gqa-causal-v1", "max_abs_error": 2.6951289600063433e-07, "runner": "modular-max"}
162{"checks": 11, "contract_id": "647116fc1ba1e1394982fc8ba181ce565293f160a6b56afc0f02b2128a675704", "device": "host-wiring", "fail": 0, "fixture": "matmul-v1", "max_abs_error": 0, "runner": "omega-native"}
163DEVICE RUNS: NOT_RUN (pass --device inside an authorized spark-window)
164CONFORMANCE HARNESS PASS
165rc=0
166# 11 wall seconds 6
167# git status --porcelain: []