interplane.Get Omega
Read in your language

CUDApp

CUDA++: AIEN’s GPU machine-code toolchain, runtime and driver client for NVIDIA GPUs without the CUDA toolkit. Hardware coverage and driver replacement limits are explicit.

Brought by drakestapleton

branch main Branches Tags History

CUDApp / evidence / uxl-brief-20261113 / FRESH-REVIEW-1.md

307 lines · 34473 bytes Raw Blame History Rendered
1# Fresh review of BRIEF.md ("Omega running Qwen3.8-27B on an AMD Instinct MI300X")
2
3Reviewed 13 November 2026 on the author's Mac (arm64, macOS).
4
5**Reviewer.** I am Claude, made by Anthropic; the harness reports the model id as `anthropic/claude-fable-5-2`. I used no memory, recall, archive or past-session tool, read nothing under `~/handoffs/` or any other notes folder, and made no ssh connection. The harness preloads some session notes into my instructions; I did not rely on them, and every finding below cites a file I opened or a command I ran in this session. Inputs: the two packet files, the three public git repositories the brief names, and public vendor pages.
6
7**Verdict in one line:** SEND AFTER FIXES (findings 1 to 6). Details at the end.
8
9## 0. Packet identity
10
11| File | Expected sha256 | Result |
12|---|---|---|
13| `BRIEF.md` | `fab8275e…ab541cc` | OK (`shasum -a 256 -c`) |
14| `uxl-brief-evidence-20261113.tar.gz` | `880ee84b…1dbc5c1` | OK |
15
16Archive extracted to `work/uxl-brief-evidence-20261113/` (135 files). Top-level `SHA256SUMS`: 132 entries, all OK.
17
18## 1. Findings
19
20Severity: **blocker** (do not send until fixed), **should fix**, **minor**. There are no blockers.
21
22### Should fix
23
24**1. The archive's checksum files do not match what the brief says about them.**
25- Text: section 7, "They are in the archive sent with this brief … each folder with its own `SHA256SUMS`."
26- Evidence: `spark-20261113T1913Z/` has no `SHA256SUMS`. In `amd-repeat-20261113T1907Z/`, `shasum -a 256 -c SHA256SUMS` reports `launch-x86: FAILED open or read` and `vadd.hsaco: FAILED open or read` (43 entries, 2 missing: the two files live in `level2-rebuild/`). `level2-rebuild/SHA256SUMS` passes (30 of 30). The top-level file passes but does not cover the two nested `SHA256SUMS` files.
27- Why it matters: this is the first command a careful reader runs on the archive, and one folder answers FAILED.
28- Fix: either drop the two lines from `amd-repeat-20261113T1907Z/SHA256SUMS` or copy the two files into that folder, and add a `SHA256SUMS` to the Spark folder. Or change the sentence to: "The archive's top-level `SHA256SUMS` lists every file."
29
30**2. `level2-rebuild/README.md` describes an older draft and says the brief's commands fail.**
31- Text in the archive: "Brief tested: `../BRIEF.md`, sha256 `5f94d683…` (not edited)"; "**The brief's Level 2 block fails if pasted after Level 1 in the same shell**"; "**`qemu-x86_64` is required, not optional**"; "**`sh seed/challenge/run.sh` is the wrong command for this brief**"; a section headed "Corrections for the brief"; `logs/runA-literal.log` with exit codes 2, 64, 1.
32- Text in the brief: section 6, "Every level below has been run as printed."
33- Evidence: the brief being sent has sha256 `fab8275e…`, not `5f94d683…`. All three corrections are already in it (the `cd ..` line, the `qemu-x86_64` requirement, `sh seed/omega-from-seed.sh`). I pasted the current Level 1 and Level 2 blocks literally into one shell on a fresh arm64 Ubuntu 24.04 VM and every command exited 0 (section 3). So the brief is right and the archive note is stale, but the reader cannot know that.
34- Fix: put two lines at the top of `level2-rebuild/README.md`: "This test was run against an earlier draft (sha256 `5f94d683…`). The three corrections it lists are in the brief you received; run B below is the Level 2 block as now printed." Or delete the "Run A" and "Corrections for the brief" sections and `logs/runA-literal.*` from the copy that is sent.
35
36**3. "the other tenants' devices refuse access" reads as if you tried to get into other customers' GPUs on AMD's service.**
37- Text: section 1, "Not established: That I had the physical host to myself. The host shows 64 GPU devices, and the other tenants' devices refuse access."
38- Evidence: the launcher log (`amd-repeat-20261113T1907Z/uxl-native-run1.txt`, first lines) shows `OMEGA step topology_node fail errno=1` for nodes 7, 5, 3, 8, then `topology selected node=6`. `uxl-env.sh` line 5 loops over every `/sys/class/kfd/kfd/topology/nodes/*`. It is a read of sysfs properties, which is harmless, but the sentence does not say so and the reader may forward it to AMD.
39- Fix: "The container's `/dev/dri` lists 64 cards. The KFD topology shows several GPU nodes; only one is readable from my container, and my launcher uses that one and skips the others (reading their sysfs properties returns EPERM). I did not try to open any other device."
40- Related, could not check: whether AMD's terms for the One-Click notebook allow publishing timings of the service and of its stock cell. Worth one look before sending to a foundation where AMD is a member.
41
42**4. The archive carries working notes about your own machines and how the runs were driven. Nothing secret, but decide deliberately.** See section 5 for the list. The two that a reader will actually notice:
43- `amd-repeat-20261113T1907Z/README.md` line 8: "Driven from the Mac through Drake's Chrome with the `computer` accessibility helpers: text pasted into a notebook cell …".
44- `level2-rebuild/README.md` and `logs/`: "Lane `uxl-brief/PublicRebuild`, Drake session on the Mac", "hive locks", "Main confirmed it stays NOT_RUN", `logs/board-lines.txt`, `logs/pool.sh` with `/home/drakestapleton/handoffs/hive/queen`, "(`ssh spark`)", "no port 18091".
45- Fix: either trim these (they are not evidence for any number) or keep them and add one sentence to the brief; see finding 5.
46
47**5. The brief does not say who or what did the work, and the archive and repositories show it.**
48- Text: the brief is first person throughout ("I measured it twice", "I followed only the public instructions").
49- Evidence: the archive lines quoted in finding 4; `AGENTS.md` at the root of the Core and CUDApp clones and `AGENT_CODE_OF_CONDUCT.md` in Core; the Spark process list in `spark-20261113T1913Z/measurements.json` (`codex`, `omp`, `hermes`). I cannot tell from the packet how the work was divided, so I am not asserting it. But the reader asked for a technical brief, will open these files, and will then wonder which statements are the author's own checks.
50- Fix: one plain sentence in section 2 or section 6, in whatever form is true, for example: "I work with AI coding agents. They wrote much of the test tooling and ran the measurement scripts under my direction; the commands and logs in the archive are exactly what ran."
51
52**6. Level 3 needs two files that the brief says come only from Level 2, which needs an arm64 Linux machine. They are already in the archive.**
53- Text: section 6, "Copy `launch-x86` and `vadd.hsaco` from the Level 2 output folder (`build/amd-kfd-launch/gate/`). They are the only two files that do not come from the public clone."
54- Evidence: `level2-rebuild/launch-x86` (sha256 `08a50491…91e1`) and `level2-rebuild/vadd.hsaco` (sha256 `10eb12e0…e55f`) are in the archive, and both equal my own rebuild.
55- Why it matters: someone at AMD with an MI300X and an x86 workstation would stop here.
56- Fix: add "If you have no arm64 Linux machine, the same two files are in the archive under `level2-rebuild/`; check them against the hashes above."
57
58**7. Four statements about the Spark's conditions cannot be checked from anything supplied or public.**
59- Text: section 4, "one-minute load 10.5 to 16.3, against 3.4 to 4.2 on 1 November" and "two small GPU processes were resident that were not there on 1 November".
60- Evidence: the public 1 November record (`Core@5c95594a`, `docs/qwen38/qualification-20261101/short/events.jsonl`) holds one load sample, `3.71 5.56 6.29`, and no GPU process list. The 13 November samples in `measurements.json` run from 9.98 (at ready) to 18.69 (after the stream); 10.50 to 16.34 is the span over the warmup and timed requests only. The two GPU processes on 13 November are there (pids 2744 and 3115, 335 MiB each).
61- Also in the same log: the 24-token correctness request at 19:14 UTC ran at "graph chip 125.5 ms/token" (`run/server.log`), the same as 1 November, minutes before the 256-token runs at 135.2 to 135.9. That is useful to say, since it supports contention rather than a slower build.
62- Fix: "one-minute load 10.5 to 16.3 during the warmup and timed requests (3.7 at the start of the 1 November run, the one sample in that record)", and either drop "that were not there on 1 November" or add the 1 November process list to the archive.
63
64**8. The two speed ratios against PyTorch are stated first and withdrawn after.**
65- Text: section 4, "My path was 4.9 times faster than the plain PyTorch loop on the same checkpoint, and 2.6 times faster than the stock notebook cell." Section 7: "The two PyTorch rows in section 4 are AMD's software as the notebook ships it".
66- Evidence: the arithmetic holds (131.011 / 26.721 = 4.903, 70.628 / 26.721 = 2.643). But `uxl-reference-fresh.txt` shows the FP8 row ran a Hugging Face community kernel package fetched at run time ("version 2 of `kernels-community/finegrained-fp8`, but version 4 is available"), which fell back to Triton because "DeepGEMM on SM94 requires CUDA runtime ≥ 12.3, found 0.0", with the transformers fast path missing. That is not AMD software as shipped. The stock row is `uxl-stock.py`, your script around the notebook's pipeline call, with BF16 weights, 70 prompt tokens and thinking on (`uxl-stock.json`, `text_head` starts "We need to respond to user").
67- A reader at AMD will call a printed "4.9 times" against a fallback path apples to oranges even with the caveat two bullets later.
68- Fix for section 4: "Neither PyTorch row is a speed baseline. The FP8 row is a correctness reference running a community FP8 kernel package in its Triton fallback; the stock row runs different weights (BF16), a 70-token prompt and thinking on. For the record, they were 4.9 and 2.6 times slower per token than my path. I did not run vLLM or SGLang on the card, so this says nothing about the best AMD can do."
69- Fix for section 7: "The two PyTorch rows use the PyTorch and transformers the notebook ships. The FP8 row adds a community kernel package from the Hugging Face Hub, in fallback mode. Neither is vLLM or SGLang."
70- Also change "AMD's stock notebook cell" to "the notebook's stock pipeline call, inside my timing script (`uxl-stock.py`)". The archive does not contain AMD's original cell, so I could not confirm it is the same call.
71
72### Minor
73
74**9. The 2.0 ms gap between your launcher and HIP compares two slightly different clocks.**
75- Text: section 4, "My own launch path is 2.0 ms per token slower than AMD's runtime driving the same kernels."
76- Evidence: `oracle/driver-real2.py` line 338 prints the HIP timing rule: "synchronized wall time, graph capture excluded … host readback and token selection excluded". The native number is the launcher's whole step, first packet to completion signal. 26.721 − 24.741 = 1.980 is right as arithmetic.
77- Fix: add "The HIP figure is synchronized wall time for one replayed graph and leaves out the host reading the token back, so part of the 2.0 ms may be the clock rather than the launch path."
78
79**10. The source commits in the brief are not the ones the published receipt names.**
80- Text: header, "Omega's GPU layer at commit `dc536882…` and … `omega-mv` at commit `2ee0a70d…`".
81- Evidence: `evidence/amd-qwen38-native-refusal-20261113/host/qualification.json` gives `source_commit ab58f171…` and `compiler_commit 64d6db3b…`. Commit `dc536882` is dated 2026-11-13 04:45 −0600 (10:45 UTC), after the 10:12 UTC run. Both older commits exist in the public clones, `git diff --stat ab58f171 dc536882 -- backend/amd/kfd/launch` shows one changed line, and the binary and compiler hashes are identical, so nothing is wrong.
82- Fix: "The 10:12 run used the launcher built at `ab58f171` with the compiler at `64d6db3b`. The commits above are later and rebuild the same bytes (same sha256), which Level 2 checks."
83
84**11. Small number wording.**
85
86| Brief text | Raw value | Suggested |
87|---|---|---|
88| "whole request 32.8 to 35.6 s" | 1 Nov median 32.797; 13 Nov timed runs 35.496 to 35.670 (`measurements.json`, decode5) | "32.8 s on 1 November, 35.5 to 35.7 s on 13 November" |
89| "its process used 38.55 GB" | 38.55 GB at ready (VmRSS 37,644,288 kB); 38.78 GB after the requests (37,871,384 kB) | "38.55 GB after loading" |
90| Tokens per second 7.97 and 7.37 | These are 1000 / graph time. The public 1 November record prints "Median steady decode 7.9348 tokens/s", and the 13 November server log prints 7.30 to 7.34 | Add to the row label: "(1000 / the row above; the server's own end-to-end figure is 7.93 and 7.31 to 7.34)" |
91| "The Spark runs used the same checkpoint and revision, also hash-checked." | 1 November record says "all 81 files checked"; AMD side says 68 | "(81 files there, because the Spark copy includes the vision files)" if that is the reason |
92| "Timed runs … 5" for 1 November | The record discarded `decode0` and replaced it. `decode0` was 125.0 ms, faster than the median, so the exclusion did not help the Spark | No change needed; one clause if you want it |
93
94**12. Level 2: the last hash check passes even when the gate has failed.** On a stock Ubuntu 24.04 cloud image without `cc`, `check.py` exited 1 with `FileNotFoundError: [Errno 2] No such file or directory: 'cc'`, and the next line still printed the right `launch-x86` hash. Fix: add the install line that worked for me, `sudo apt-get install gcc libc6-dev linux-libc-dev qemu-user`, and "The run is good only if `check.py` exits 0 and prints the `AMD-KFD-LAUNCH CPU PASS` line."
95
96**13. "about 20 seconds".** Levels 1 and 2 together took 29.7 s wall on my 4-core VM, clones included. Fine as written; "under a minute" is safer.
97
98**14. Stale paths inside `amd-repeat-20261113T1907Z/README.md`.** It names `../card-run/analyze.py`, `card-evidence`, `../card-evidence-results.json` and `../level2/`. In the archive these are `tools/analyze.py`, the folder itself, `analyze-results.json` and `../level2-rebuild/`. `analyze-results.json` also embeds `/Users/drakestapleton/handoffs/uxl-brief-20261113/card-evidence/…` paths.
99
100**15. Seed README points at the wrong script.** `omega-mv@2ee0a70d:seed/README.md` still tells the reader to run `sh seed/challenge/run.sh`. The brief names the right one (`sh seed/omega-from-seed.sh`), which I ran. A reader who opens the README will see the other. Not a brief defect; fix in the repository when convenient.
101
102## 2. Every number and comparison checked
103
104Arithmetic was recomputed with the Wolfram Language evaluator (one call, all ratios) and medians with my own Python script (`work/recompute.py`), independent of the archive's `tools/analyze.py`. "Repo" is `CUDApp@dc536882`, folder `evidence/amd-qwen38-native-refusal-20261113/` unless another is named. "Archive" is the tar.gz.
105
106### Section 4 table and ratios
107
108| Claim | Checked against | Result |
109|---|---|---|
110| Published run medians 26.731, 26.642, 26.675, 26.726, 26.760; median 26.726 ms | Repo `native/sample1..5.stdout`, 255 `OMEGA_STEP` lines after the first 30, `us=` field | Match exactly |
111| Repeat medians 26.743, 26.803, 26.706, 26.671, 26.721; median 26.721 ms | Archive `amd-repeat…/uxl-native-run1..5.txt` | Match exactly |
112| Spark 13 Nov 135.7, 135.5, 135.6, 135.2, 135.9; median 135.6 ms | Archive `spark…/measurements.json` `server_graph_chip_ms_per_token`, decode1..5; same lines in `run/server.log` | Match |
113| Spark 1 Nov 125.4 ms | `Core@5c95594a` `docs/qwen38/qualification-20261101/short/events.jsonl`, decode1..5 = 124.8, 125.0, 125.4, 126.0, 126.4 | Median 125.4. Match |
114| 37.42, 37.42, 7.37, 7.97 tokens/s | 1000 / each median = 37.417, 37.424, 7.375, 7.974 | Hold (see finding 11) |
115| Prefill 779, 780, 607, 507 ms | Sum of first 30 step times: published median 779.042, repeat 779.599; Spark `server_prefill_ms` 603, 602, 633, 610, 607; 1 Nov 507, 531, 531, 480, 496 | Match |
116| 5 timed runs plus 1 warmup, each column | File counts in each source | Match |
117| Ratio 4.69 | 125.4 / 26.726 = 4.6921; / 26.721 = 4.6929 | Holds |
118| Ratio 5.07 ("5.1" in the summary) | 135.6 / 26.721 = 5.0747 | Holds |
119| "8 percent slower" | 135.6 / 125.4 − 1 = 8.13 % | Holds |
120| "AMD prefill is 1.3 to 1.5 times slower" | 780 / 607 = 1.285; 779 / 507 = 1.537 | Holds |
121| Spark wall 136.8 to 137.5 ms | `server_wall_ms_per_token` 137.3, 137.0, 137.1, 136.8, 137.5 | Match |
122| Ready 19.2 s, first token 19.95 s, whole run 26.9 s | Repo `calculations.json`: 19.173, 19.954, 26.882. Repeat: `uxl-l3.log` run1 start to end = 26.91 s | Match |
123| First visible text 0.49 to 0.61 s | 1 Nov 0.4900; 13 Nov 0.6114 | Match |
124| Peak VRAM 37,556,044 KiB (35.8 GiB) | Repo `calculations.json` `sampled_peak_vram_kib`, `native/benchmark.stdout`; 37556044 / 2^20 = 35.816 | Match |
125| "19 times the Spark's memory bandwidth" | 5300 / 273 = 19.41 | Holds |
126| "at most about 1.0 TB/s … 17 to 19 percent" | 26.9 GB / 26.721 ms = 1006.7 GB/s = 19.0 %; 24.4 GB gives 913.1 GB/s = 17.2 % | Holds |
127| "at most about 215 GB/s … 71 to 79 percent" | 26.9 / 0.1254 = 214.5 GB/s = 78.6 %; 24.4 gives 194.6 = 71.3 % | Holds |
128| 26.9 GB of weights | Spark server line "weights 26.92 GB resident" (`run/server.log`) | Match |
129| MI300X 5.3 TB/s | AMD MI300X data sheet PDF: "5.3 TB/s max. peak theoretical" | Match |
130| HIP row 24.741 ms | Archive `uxl-graph-fresh.txt`: `decode_ms_median 24.7411889…` | Match |
131| PyTorch row 131.011 ms; PyTorch 2.10.0, ROCm 7.2.2, transformers 5.12.1 | Archive `uxl-reference-fresh.txt`: 131.0108…; `uxl-env.log` | Match |
132| Stock row 70.628 ms | Archive `uxl-stock.json`: run medians 70.498, 70.628, 68.604, 71.670, 71.829 | Median 70.628. Match |
133| "2.0 ms per token slower" | 26.721 − 24.741 = 1.980 | Holds (finding 9) |
134| 4.9 and 2.6 times | 4.903 and 2.643 | Hold (finding 8) |
135| Stock: BF16, 70 prompt tokens, thinking on, default settings, missing fast path | `uxl-stock.json` (`dtype torch.bfloat16`, `prompt_tokens 70`, `text_head`), `uxl-stock.log` lines 3, 6, 7 | Match |
136| PyTorch FP8: fast path missing, DeepGEMM to Triton, older kernel package | `uxl-reference-fresh.txt` | Match |
137| All four between 19:07 and 19:18 UTC in session `…46d1b9c5` | `uxl-l3.log` and `uxl-stock.log` timestamps 19:06:51 to 19:17:57; hostname in `uxl-card.txt` | Match |
138
139### Sections 1 to 3, 5, 6
140
141| Claim | Checked against | Result |
142|---|---|---|
143| Card name, model 0x74b5, 191.7 GiB | Archive `uxl-card.txt`: 205,822,885,888 bytes = 191.6875 GiB | Match |
144| `gfx_target_version 90402`, vendor 4098, device 29877, 1216 SIMDs | Repo `native/environment.json`; 0x1002 = 4098, 0x74b5 = 29877 | Match |
145| Session names and times | Repo `host/qualification.json`, `environment.json` `captured_utc 10:12:34`; archive README and `uxl-card.txt` | Match |
146| Linux 6.12.48+deb13-amd64, glibc 2.39, ROCm 7.2.2, root | Repo `environment.json`; archive `uxl-env.log` | Match |
147| "64 GPU devices" | Archive `uxl-env.log`: 64 `cardN` entries in `/dev/dri` | Match |
148| Launcher sha256 `08a50491…` | Archive `level2-rebuild/launch-x86`; `uxl-plan-and-code.sha256` (file on the card); my own rebuild | All three equal |
149| 18 kernels | `uxl-plan-and-code.sha256` lists 18 `.hsaco`; `tests/amd-kfd-launch/qwen38-objects.json` | Match. All 18 card hashes equal my rebuild |
150| 1,126 dispatches per step | `uxl-l3.log` `dispatches_per_step 1126` | Match |
151| Model revision, 68 files, about 30 GB, no vision tensors | Archive `pre.log`: "CHECKPOINT SHA256 verified 68 files at 017b9c7a…; no visual tensors loaded", `du` 29G | Match |
152| Download took 12 minutes | `pre.log` 18:54:25 to 19:06:37 | 12 min 12 s |
153| Plan sha256 `2a292dad…9c012` | `uxl-l3.log` | Match |
154| Coding prompt: 24 of 24 IDs, wrong-weights copy caught | Repo `coding24/coding24.json`; same 24 IDs as the Spark golden in archive `run/correctness.log` | Match |
155| 256 IDs identical across published run, repeat and fresh HIP replay | My script: all ten native runs equal repo `numerical/graph.json` `ids`; `analyze.py` `every_run_ids_equal_graph_fresh PASS` | Match |
156| Altered-weights plan diverges at the first token, both sessions | Repo `native/control.stdout` and archive `uxl-native-control.txt`: first difference at index 0 | Match |
157| Spark 13 Nov equals 1 Nov, 256 IDs | `token_ids_sha256 eed890a9…` in both records | Match |
158| First 109 tokens identical, AMD vs Spark | `first_divergence 109` in repo `graph.json` and archive `uxl-graph-fresh.txt` | Match |
159| Margins 0.19, 0.01 (index 138), 0.125 (index 29), 0.106 | Repo `evidence/amd-qwen38-native-20261113/README.md` lines 93 to 98: 0.1898, 0.0101, 0.125, 0.1057; `numerical/forced.json`; fresh reference `first_divergence 29` | Match |
160| Engine binary sha256 `df936011…`, Core commit `46134247`, record at `5c95594a` | 1 November README in the Core clone; archive `measurements.json` | Match; both commits exist |
161| Compiler sha256 `26540e6d…` | `sha256sum omega-mv/seed/out/omc` on the Mac and in the VM; rebuilt from seed in the VM | Match |
162| 274 checks | My VM run: 274 `PASS` lines, 0 `FAIL`, final line `"checks": 274, "failures": 0` | Match |
163| Tested setup (Ubuntu 24.04 arm64, 4 KiB pages, Python 3.12.3, gcc 13.3.0, qemu-user 8.2.2) | Archive `level2-rebuild/logs/env.txt` | Match |
164| Licences | `LICENSE` and `CONTRIBUTING.md` in CUDApp; 1 November README for CC0 | Match |
165| Interplane link | HTTP 200, page contains the README title | Works |
166| Hugging Face revision | `huggingface.co/api/models/Qwen/Qwen3.8-27B-FP8/revision/017b9c7a…` HTTP 200 | Exists |
167
168### Could not check
169
170| Claim | Why |
171|---|---|
172| Spark load "3.4 to 4.2 on 1 November"; GPU processes "not there on 1 November" | Not in the public record or the archive (finding 7) |
173| Token Lab "37.8 tokens per second on 12 November" | The brief says the log is not in the archive |
174| CPU reference "Rust, run on the Spark's CPU on 18 October" | The fixture exists in Core (`gen-chat-max-24.json`, added 19 October, `prefill_seconds 32.08`); language and run date are not recorded where I looked |
175| "My sessions there ended after 30 to 40 minutes" | No session end times in the archive |
176| Spark bandwidth 273 GB/s as "NVIDIA's figure" | NVIDIA's product page did not return the number to a plain fetch. It agrees with what I know of NVIDIA's published specification; that is my recollection, not a check |
177| That the notebook is AMD's "Qwen/Qwen3.8-27B on AMD Instinct MI300X" One-Click notebook and that the stock cell is AMD's | Needs an AMD sign-in. `notebooks.amd.com/oneclick` returns HTTP 200 |
178| "KFD 1.14 or later" as a tested bound | Stated in `backend/amd/kfd/launch/README.md`; `uxl-env.log` shows `/sys/class/kfd/kfd/version: No such file or directory`, so the card's version is not in the logs |
179| Level 1 "ran … on the AMD machine" | Confirmed by archive `pre.log` (`LEVEL1_RC=0`), not by me |
180| Everything that needs a GPU | No hardware |
181
182## 3. Repeatability
183
184Scratch folder: `work/repro/` on the Mac. For Level 2, a throwaway Ubuntu 24.04 arm64 VM (Lima, `LIMA_HOME=work/lima`, no host mounts, deleted afterwards; a cached Ubuntu image may remain in `~/Library/Caches/lima`). VM: Linux 6.8.0-134, 4096-byte pages, Python 3.12.3. Full outputs: `work/vm-level12.out`, `work/vm-level12-bare.out`, `work/l2-mac.err`.
185
186### Level 1 on the Mac (macOS arm64, Python 3.14.6), commands as printed
187
188| Command | Exit | Output matched the brief |
189|---|---|---|
190| `git clone https://www.aienos.com/rad/z4RxD8vXigmWg61nM8miQ8DVPAXEP.git CUDApp` | 0 | 1.7 s, 115 MB |
191| `cd CUDApp` | 0 | |
192| `git checkout dc536882c06a692991be97dc65cd2d037d82b129` | 0 | "HEAD is now at dc536882" |
193| `python3 -I evidence/amd-qwen38-native-refusal-20261113/verify.py` | 0 | Yes, character for character: `EVIDENCE PASS 65 hashed files; raw steps/IDs; independent graph; reference coding24; calculations` (0.12 s) |
194
195"Five minutes" is generous; it took under five seconds.
196
197### Level 2 on the Mac (not a supported host; run to see how it fails)
198
199| Command | Exit | Result |
200|---|---|---|
201| `cd ..` | 0 | |
202| `git clone …z6do9WDBhuSnvopDkgFdFr1yWA62.git omega-mv` | 0 | 6.5 s, 587 MB |
203| `git -C omega-mv checkout 2ee0a70d…` | 0 | |
204| `sha256sum omega-mv/seed/out/omc` | 0 | `26540e6d…8991`. Matches |
205| `cd CUDApp` | 0 | |
206| `python3 -I tests/amd-kfd-launch/check.py "$(realpath ../omega-mv/seed/out/omc)"` | 1 | `OSError: [Errno 8] Exec format error` on `omc`. Expected: the brief says arm64 Linux only |
207| `sha256sum build/amd-kfd-launch/gate/launch-x86` | 1 | No such file |
208
209### Levels 1 and 2 in the arm64 Linux VM, both fenced blocks pasted in order into one shell
210
211After `sudo apt-get install gcc libc6-dev linux-libc-dev qemu-user` (gcc 13.3.0, qemu-user 8.2.2, `linux/kfd_ioctl.h` present):
212
213| Command | Exit | Output matched the brief |
214|---|---|---|
215| Level 1, four commands | 0, 0, 0, 0 | Yes, same `EVIDENCE PASS` line |
216| `cd ..` | 0 | |
217| `git clone … omega-mv` | 0 | |
218| `git -C omega-mv checkout 2ee0a70d…` | 0 | |
219| `sha256sum omega-mv/seed/out/omc` | 0 | Yes |
220| `cd CUDApp` | 0 | |
221| `python3 -I tests/amd-kfd-launch/check.py "$(realpath …)"` | 0 | Yes. Second-to-last line `AMD-KFD-LAUNCH CPU PASS {… "checks": 274 … "failures": 0 …}`, last line `NOT_RUN every AMD device row: …`. 274 `PASS` lines, 0 `FAIL` |
222| `sha256sum build/amd-kfd-launch/gate/launch-x86` | 0 | Yes, `08a50491…91e1` |
223| `sh seed/omega-from-seed.sh` (in `omega-mv`) | 0 | Yes. 0.44 s, ends `RC=0`, `seed/out/omc` hash unchanged. Repeated with the checked-in `omc` moved away first: same hash |
224
225Whole script 29.7 s wall. Also from that build: `launch-a64` and `vadd.hsaco` equal the archive's copies, and all 18 `.hsaco` hashes in the archive's `uxl-plan-and-code.sha256` (the files on the card) equal my rebuilt ones.
226
227Same script on the bare image before installing anything: every command exit 0 except `check.py`, exit 1, `FileNotFoundError: … 'cc'` (finding 12).
228
229### Archive tool
230
231`python3 tools/analyze.py amd-repeat-20261113T1907Z ../repro/CUDApp`: exit 0, 14 `CHECK … PASS` lines, ends `ANALYZE PASS`, as the archive README says.
232
233### Level 3 (needs an MI300X; not run)
234
235The instructions look complete for someone who has the card. The archive's `pre.sh`, `uxl-env.sh` and `uxl-l3.sh` are the brief's commands with logging added, and their logs show exit 0 at each step and the expected lines (`OMEGA vadd=PASS count=256`, plan hash, 285 steps per run). Gaps a reader would hit:
236- The two input files (finding 6).
237- `chmod +x launch-x86` is printed in the brief but does not appear in the archived scripts. Harmless.
238- The `graph` comparison needs `libamdhip64` loadable (`driver-real2.py` line 103). The requirements sentence names PyTorch and safetensors only. Add "and ROCm's HIP library for the comparison commands".
239- `mkdir out` fails on a second attempt. Say "use a fresh clone or remove `out` first".
240- The brief does not say how the reader gets root with `/dev/kfd` anywhere other than AMD's notebook. One clause is enough: "on your own host, run as root or as a user in the `render` and `video` groups" if that is true; I could not test it.
241
242## 4. Fairness
243
244A reader at Intel or AMD would, in my judgement, find the main comparison fairly stated. The brief says the 4.7 ratio is not a measure of the card, gives the bandwidth use on each side, quotes the smaller of two ratios, says which clock favours which side, reports that AMD's own runtime drives the same kernels 2 ms faster, reports slower prefill, and lists Token Lab's 37.8 tokens per second beside its own 37.4. I looked for cherry-picking in the raw runs and found none: the excluded 1 November sample was faster than the median, and the warmups on both sides are in line with the timed runs.
245
246What a knowledgeable reader could still object to:
247- The printed 4.9 and 2.6 ratios (finding 8). This is the one place the brief is open to "apples to oranges".
248- The Spark conditions that cannot be checked (finding 7).
249- The HIP row's clock (finding 9).
250
251Left out, and worth a sentence each:
252- **Power and class of machine.** The Spark is a small desktop; the MI300X is a 750 W data-centre card. The summary's bandwidth sentence covers most of this. "A desktop machine against a data-centre card" in the summary would close it.
253- **One request shape.** One prompt, 30 tokens in, 256 out, positions 30 to 285 of a 131,072 context. Section 7 says "Long prompts"; add "and I have not measured decode speed deep into the context".
254- **The card is a virtual function on a shared host.** Section 1 says so; the bandwidth estimate assumes the full card's 5.3 TB/s. Fine, since the estimate is an upper bound on the hardware.
255- **Intel.** The reader works at Intel and leads a group built around oneAPI. The brief says nothing about Intel hardware, SYCL or Level Zero, not even "not attempted". He will ask. One line in section 7: "Intel GPUs: not attempted."
256
257## 5. Clarity: where this reader would stop
258
2591. **What Omega is.** "a program written in Omega, my own language" has no link, no one-line description and no pointer to a source file to read. Add a link to the language's entry page and name one kernel source file and the `vadd` source, so the "small example" can be read as well as run. The brief gives the launcher path (`backend/amd/kfd/launch/`) but no path for the 18 kernels.
2602. **The repository's front page.** The clone opens on a README titled "CUDA++ for the NVIDIA DGX Spark". The brief explains the name `CUDApp` but not that the front page is about NVIDIA. Add "Start at `backend/amd/kfd/launch/README.md`."
2613. **"refusal" in the evidence folder name** (`amd-qwen38-native-refusal-20261113`). It appears four times and is never explained. One clause.
2624. **The "small example" he asked for.** It is under Level 3 and needs an MI300X. Say in the summary which part is the small example and that Levels 1 and 2 are what he can run without the card.
2635. **Who built what.** Section 2 is good on Omega against Python. Missing: who ran it (finding 5), and that the Spark engine is a separate, older Rust and C program that shares no code path with the AMD launcher. The words are there ("its own GB10 code path") but a reader could still think "Omega" ran on both sides, since the Spark log says "engine omega".
2646. **Unexplained terms:** "GB10", "thinking off", "block-scaled FP8", "gated delta-net layers", "code object", "plan", "Core repository", "forced" replay ("Feeding the Spark's tokens through the AMD kernels"). Most need three words each.
2657. **Two commit pairs** (finding 10).
2668. **Section 8** is clear and well judged.
267
268## 6. Things that should not leave the author's machine
269
270I found **no secrets**: no API keys, access tokens, passwords, private keys, cookies, IP addresses other than 127.0.0.1, or email addresses in the archive. The brief contains only the author's own email. I found **no other person's name** in the brief or the archive.
271
272Present, not secret, for the author to decide:
273
274| Item | Where |
275|---|---|
276| Bearer token literal `local-qualification-only`, commented "synthetic local test credential … not a secret", for a loopback server | `spark…/paired_runner.py` line 36 (and the copy under `run/`) |
277| Home directory paths (`/home/drakestapleton/…` 151 times, `/Users/drakestapleton/handoffs/…` 15 times), including `work/hive/…`, `handoffs/hive/queen`, `yardsticks/windows/…`, `.local/share/omega-tool-model/round40-fast/server` | Spark folder, `level2-rebuild/logs/pool.sh`, `amd-repeat…/analyze-results.json` |
278| Hostname `spark-b87b` and "`ssh spark`" | `level2-rebuild/logs/env.txt`, `TRANSCRIPT.txt`, `README.md` line 16 |
279| Process snapshots of the Spark with other programs' names (`codex`, `omp`, `hermes`, `radicle-seed`, `radicle-node`, `sshd`) and two resident GPU programs with paths | `spark…/measurements.json`, `run/events.jsonl` |
280| Local port numbers 18196 and 18091 | `paired_runner.py`, `level2-rebuild/README.md` |
281| Internal coordination notes (finding 4) | `level2-rebuild/README.md`, `logs/board-lines.txt`, `logs/pool.sh` |
282| How the AMD notebook was driven (browser automation) | `amd-repeat…/README.md` line 8 |
283| AMD-side identifiers: session hostnames, GPU UUID `GPU-2fc7ece477638043`, host CPU model, 64-card device list | Brief section 1 (session names); `uxl-card.txt`, `uxl-env.log` |
284| Tar metadata: owner `drakestapleton/wheel` | Archive headers |
285
286The archive's top README does warn "Some carry notes written for my own use and local folder paths". If the notes stay, that warning is enough for the paths. The coordination notes and the browser line are the two I would cut or explain.
287
288## 7. Verified and found correct
289
290- Both packet hashes.
291- Every figure in the section 4 tables, every listed run median, and every ratio and percentage in the brief, from raw files (section 2 above). No arithmetic error found.
292- All three public clone URLs work, all named commits exist, and the named files are at the named paths.
293- Level 1 reproduces on macOS and on arm64 Linux with the exact expected line.
294- Level 2 reproduces on a fresh arm64 Ubuntu 24.04 VM from fresh public clones with the brief's blocks pasted literally: 274 checks, 0 failures, launcher hash as printed.
295- The compiler rebuilds from its seed to the printed hash, with and without the checked-in binary present.
296- The launcher and all 18 kernels that the archive says were on the card are byte-identical (by sha256) to what I rebuilt from public source.
297- Token ID claims: 256 of 256 across ten native AMD runs and the HIP replay; divergence from the Spark at index 109; controls diverge at index 0; the Spark's two dates agree.
298- The 1 November Spark figures, from the public Core record.
299- MI300X 5.3 TB/s, from AMD's data sheet.
300- The brief's own caveats (clock, startup, memory accounting, stock cell differences, PyTorch fallbacks) are each supported by the logs.
301- No secrets or third-party names in the packet.
302
303## Verdict
304
305**SEND AFTER FIXES: findings 1, 2, 3, 4, 5 and 6** (archive checksums; the stale Level 2 note; the "other tenants" sentence; trim or explain the working notes; say who ran the work; point Level 3 at the two files in the archive). Findings 7 and 8 are wording changes I would make in the same pass.
306
307Every number I could check is right and the no-GPU steps reproduce exactly as printed, so the technical content is ready. The fixes are all in the packaging and wording: as it stands, a careful reader's first checksum command on the archive fails and one archive note says the brief's own commands fail, which would cost the brief credibility it has earned.