Repository navigation
Record v1.0.12 gfx1151 Qwen model and HTTP qualification - #994
Conversation
cwschroeder
left a comment
There was a problem hiding this comment.
Approved as the scoped evidence submission at eb70b730, with the recorded device source pinned to 833bbfcb / v1.0.12. My independent CPU audit found no material inconsistency:
- All 19 file checksums and 16 publication hashes agree. The 48 recorded checkpoint digest/expected pairs agree internally.
- Log counts recompute to 130 model PASS, 11 SKIP, 41 exercised HTTP comparisons and four unexercised draft comparisons.
- All 183 captured HTTP responses join their server-log token/cache/hash-prefix/speculation records. The 33 identical-request groups agree on the complete reported token SHA-256; all 36 drafted 35B responses record positive accepted counts. The extra 9B server completion stays outside the captured HTTP count.
- Replaying the unmodified pinned
serve_check.pyagainst the stored responses consumes all 183 captures and reproduces its 45 printed successes. A changed full token hash is rejected even after file and publication checksums are refreshed.
Reproducible CPU audit and negative control.
This review checks the submitted data and comparison logic. It does not independently rehash token IDs, authenticate weights/binaries, or reproduce GPU execution or timed interleaving. The documented exclusions and the boundary against later main commits remain in force.
…, add radix memory and cancellation The HTTP checks ran under record-served.py, which records each exchange and does not change request bodies for serve_check; it is now published and in the reproduction. The 9B serve_rewind run was stopped and is incomplete, and the later rc=77 skips came from the recorder's own marker, so those upstream scripts never ran. 0 of 183 HTTP requests were rejected; content refusal was not tested. The four accepted/drafted counts are the drafted == serial checks; all 36 drafted 35B replies accepted drafts (974 of 1593). Follow-up on the same binaries and checkpoints: the radix-memory control with 2048 synthetic IDs passes 8 of 8 radix checks on each checkpoint, and serve_cancel.py reports failed 0 on each.
There was a problem hiding this comment.
The original context-refusal/cancellation qualification gap is addressed by the replacement receipts at dcd5be5151c712dbf59e9cb53e3ef38fe1267cb4: #994 (review). The documentation request is closed in the source/CPU receipt-review scope; the newly recorded 27B runtime cancellation failure remains unresolved.
Original finding:
The receipt-only delta at ae534091 has one material qualification gap below. My earlier approval was scoped to eb70b730.
The added radix-memory evidence is internally consistent: the 2048 IDs match the stated formula; the invariant totals are 43/0/4, 47/0/0 and 43/0/4; each log has eight passing radix checks. All 31 receipt files match their pinned Git blobs, all 30 file checksums and 27 publication hashes verify, and the prior HTTP/model CPU audit still passes. The recorded 35B draft aggregate also recomputes to 974 accepted of 1593 across 36 replies.
CPU audit, pinned offline replay and semantic negative control. No GPU/model execution or independent weight/binary authentication was performed.
|
|
||
| The remaining skips are the drafting controls of the two checkpoints without a draft head. | ||
| [ids2048.npy](ids2048.npy) holds `1000 + (i * 7919) % 50000` for `i < 2048`, the upstream synthetic formula made longer. | ||
| After each cancelled long prompt, the next short request took as long as one alone (9B 0.84 s and 0.84 s, |
There was a problem hiding this comment.
[P2] Classify the cancellation follow-up as unexercised
All three *-server-8092-cancel.log files show the same outcome for every long request: 20,438 rendered prompt tokens exceed the 16,384-token window, and the server returns HTTP 400 before prefill. There are nine such refusals in total. The six completed requests per model are the short baseline/recovery requests.
The pinned serve_cancel.py compares only the next short reply and its elapsed time; it never checks that the dropped long request was admitted or entered prefill. Its three printed ok lines per model therefore also pass when no prompt cancellation was exercised. The statement “After each cancelled long prompt” overstates these logs.
Please retain the raw results but mark prompt-pass cancellation as unexercised in the README and structured summary. These runs support recovery after context refusal. A future cancellation qualification needs a prompt inside the served context plus evidence it reached prefill before the client disconnected. The documentation can be corrected without scheduling a new hardware run.
There was a problem hiding this comment.
A documentation-only correction is available in the existing receipt gist, under SCOPE-CORRECTION.md and pr994-context-refusal-scope.patch (local commit 627bf2a5, based on ae534091).
It updates the README and derived summary to mark prompt-pass cancellation as unexercised and record three context refusals per model, then refreshes their manifests. All 27 other files are byte-unchanged. The CPU audit still verifies 30 file checksums, 27 publication digests and the 45 offline comparisons over the stored HTTP responses. Apply-check and whitespace checks pass. No new server or hardware run, full project preflight, or competing PR.
…ord the 27B failure The follow-up's long cancel prompt (3,000 words, 20,438 tokens) was refused by the 16,384-token window before prefill, so it exercised no cancellation. Run again with 2,200 words (14,994 tokens): every long request now reaches prefill and ends client-left. The 9B and 35B pass; the 27B fails, its cancelled request ending about 5 s after it arrived. Also: the stopped rewind run no longer claims an exchange count, and the build command uses $ZIG_DIR.
cwschroeder
left a comment
There was a problem hiding this comment.
The original cancellation-evidence request is addressed at dcd5be51. I verified all 31 Git blobs, 30 checksum entries and publication digests, then checked the replacement logs against summary.json. All nine long requests now report 14,994 prompt tokens inside the 16,384-token window and end client-left, with no context refusal.
The client results and timing threshold agree with the raw logs:
| Model | Result | Next short request | Alone |
|---|---|---|---|
| 9B | 3 pass | 2.09 s | 0.85 s |
| 35B | 3 pass | 0.56-0.62 s | 0.20 s |
| 27B | 3 fail | 6.49-6.51 s | 1.90 s |
The updated offline audit also rejects the old context-refusal receipts, despite their printed success. The original 183 HTTP exchanges and 45 pinned-script offline comparisons still pass the consistency checks.
The scoped documentation request is closed, and my earlier documentation-only patch is superseded by this run. The 27B runtime cancellation failure remains unresolved. The README correctly keeps after= as arrival-to-end and the chunk explanation as an inference; it is not a measured disconnect-to-release latency. I did not rerun the GPU tests or establish the cause of that delay.
|
Thank you @cwschroeder, your context-refusal finding was right: the follow-up's 3,000-word cancel prompt (20,438 tokens) was refused by the 16,384 window and exercised nothing. dcd5be5 reruns serve_cancel.py with 2,200 words (14,994 tokens) on the same pinned binaries: every long request now reaches prefill and ends client-left, none refused. The 9B and 35B pass; the 27B fails (next short request 6.5 s against 1.9 s alone), recorded as a limit. It also drops the rewind exchange count and uses $ZIG_DIR in the build command. Would you re-review at dcd5be5? |
cwschroeder
left a comment
There was a problem hiding this comment.
Re-reviewed at dcd5be51: approved for the 31 receipt/documentation files in this PR. The file, checksum and semantic audit covers this head, and all four current-head CI checks are green.
The original cancellation-evidence gap is addressed. The replacement logs and summary preserve the 27B's three failed cancellation timing cases. That runtime failure remains unresolved; this approval covers the accuracy and scope of the published evidence, not qualification of that failing path.
|
Thanks @ThinkOffApp for dcd5be5 and for keeping the failing 27B result. Our review accepts this as corrected, bounded release evidence rather than a runtime fix. The 14,994-token prompt now fits and reaches prefill, so the 9B/35B successes and 27B failure are exercised results. The next short request taking 6.5 seconds versus 1.9 seconds alone remains unresolved. Keep that limit alongside the original pins, skips and hashes; removing the old unexercised cancellation claim is essential. A later runtime fix needs a failing cancellation control and fresh device checks before that cell can be called qualified. Posted by Ash's AI Assistant Synthena |
|
Thank you, @ThinkOffApp, for the pinned gfx1151 receipts and corrected cancellation evidence. We merged the receipt set for 1.1.0 in 4c8ba46, including the 14,994-token cancellation prompt that fits the served window. The set keeps its skipped cells and the unresolved 27B cancellation case visible. The slow short request after cancellation still needs a fix with a failing control; merging these measurements does not resolve that case. These remain contributor 1.0.12 receipts; no final 1.1.0 gfx1151 rerun or cancellation fix is recorded. Posted by Ash's AI Assistant Synthena |
…, with the 27B's cancellation failure and what stays unqualified
What this changes
Adds the pinned single-GPU gfx1151 evidence requested in #426 for Qwen3.5-9B MLX 4-bit, Qwen3.6-35B-A3B MLX 4-bit with MTP, and Qwen3.8-27B MLX 4-bit, tested at clean v1.0.12 (
833bbfcba9109bb38c7af7303f80da0ca12b213c). The receipt directory with its reproduction recorder (record-served.py); no inference implementation changes. Refs #426.Receipt
833bbfcb, clean tree; Zig 0.17.0, Ubuntu HIP 7.1.52801, clang 21.1.8; BOSGAME M5, AMD Ryzen AI MAX+ 395 / Radeon 8060S (gfx1151), single GPU. Checkpointslmstudio-community/Qwen3.5-9B-MLX-4bit@b455506b,TensorFold/Qwen3.6-35B-A3B-MLX-4bit-MTP@f84b054c,TensorFold/Qwen3.8-27B-MLX-4bit@70ae7fac; all 48 checkpoint files match their pinned revisions (checkpoints.json).tf-qwen35-test check: 130 passed, 0 failed, 11 skipped.serve_check.py(run under the publishedrecord-served.py, which records each exchange and does not change request bodies for this run): 41 comparisons exercised and passed, 4 drafting comparisons not exercised (9B and 27B have no draft head). All 183 HTTP responses were 200 (no request rejected); grouping identical request bodies while ignoring onlydraftgives 33 groups with zero full-token SHA-256 mismatches. All 36 drafted 35B replies accepted drafts (974 of 1593 drafted tokens), and drafted == plain held for greedy and sampled. Follow-up on the same binaries: the radix-memory control with 2048 synthetic IDs passes 8 of 8 radix checks on each checkpoint, andserve_cancel.py(2,200 prompt words, so the long prompt fits the 16,384 window and is really cancelled mid-prefill) passes on the 9B and 35B and fails on the 27B: the cancelled request ended about 5 s after it arrived (the client left at 0.4 s), and the next short request took 6.5 s against 1.9 s alone.summary.json.serve_rewind.pyran on the 9B and was stopped (rc=-15), incomplete and unqualified; on every later run the recorder skipped it andstructured_served.py(rc=77, its own marker), so neither upstream script ran there. 0 of 183 HTTP requests were rejected; content refusal behavior was not tested. No cross-engine accuracy reference, long-context performance, multi-GPU or other family. Metal and CUDA not run (no inference change).Checklist
"draft": false, a resumed prompt equals a fresh one, and concurrent equals solo. (On gfx1151, as above; drafted == plain on the 35B only.)This is an evidence submission, not a claim that every remaining AMD coverage item is complete.