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