From 7bd364e5387567fe36340ee262fe4c3f71069f12 Mon Sep 17 00:00:00 2001 From: Robert Karl Date: Mon, 19 Oct 2026 18:25:07 -0700 Subject: [PATCH] GLM 3.0bit: the file carries no draft block (header checked); the pod's draft arm was lookup-only, MODEL-FILES row and correctness finding corrected Co-Authored-By: Claude Fable 5.1 --- bench/unbiased/correctness/README.md | 8 +++++--- docs/MODEL-FILES.md | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bench/unbiased/correctness/README.md b/bench/unbiased/correctness/README.md index f5fb62b..e236fa8 100644 --- a/bench/unbiased/correctness/README.md +++ b/bench/unbiased/correctness/README.md @@ -419,11 +419,13 @@ bias (T2), and naming a kernel needs per-layer vectors. Ticket USTRAT-10. log-probability, every argmax the same). That is finding 2 again: lookup windows of five or more tokens change the bits, shorter ones do not. - **GLM: 0 of 16 identical, from step 0, including p04 and p09 where the draft arm made no guess at all.** The cause is - placement, not drafting: the draft block takes 0.4 GiB of the card, the engine keeps 10,115 instead of 10,167 experts - in VRAM, and the 52 that moved are computed by the CPU in one arm and the GPU in the other, which round differently + placement, not drafting: the draft arm's defaults take 0.4 GiB of the card (the file carries no draft block, as its + header shows, so the arm was the n-gram lookup with its window-8 verification buffers), the engine keeps 10,115 + instead of 10,167 experts in VRAM, and the 52 that moved are computed by the CPU in one arm and the GPU in the other, which round differently (finding 4's mechanism, now on `strata-poly`). Per step the two arms differ by up to 0.05 to 0.50 in log-probability and the argmax moves on 0 to 11 steps a sequence (lru 5 of 400, puzzle 11 of 324, r16k 21 of 510), inside T2 in both. - A clean T0 for the GLM draft block needs the same expert set in both arms (an explicit expert count, or a card that + A clean T0 for GLM's lookup (and for its draft block, which `tools/glm_draft_fetch.py` supplies as `--draft-model` + and which these runs did not have) needs the same expert set in both arms (an explicit expert count, or a card that holds all 12,096). Ticket USTRAT-9. ### 8.3 Reference drift (llama.cpp master against the pinned commit, DeepSeek) diff --git a/docs/MODEL-FILES.md b/docs/MODEL-FILES.md index 2d0e410..7ea62b5 100644 --- a/docs/MODEL-FILES.md +++ b/docs/MODEL-FILES.md @@ -15,7 +15,7 @@ with correct text, streaming, a tool call and reasoning, through `frontend/tests | `Qwen3.6-35B-A3B-UD-IQ4_XS.gguf` (no draft block) | `unsloth/Qwen3.6-35B-A3B-GGUF` | 17,730,509,792 | `649d7508507b84638732c4f52c24c8b15843c6dca2f3ff793ae07c14a67ebbb3` | `strata-poly` | pod | on disk, untried: without the draft block the engine runs without speculation | not run | | `Qwen3.6-35B-A3B-UD-Q3_K_M.gguf` (no draft block) | `unsloth/Qwen3.6-35B-A3B-GGUF` | 16,600,710,112 | `1b715841683f960bd9a49f008181bd910ee169b78d4cf465b6fde7f4d929ff99` | `strata-poly` | pod | on disk, untried; downloaded by mistake for the row above, kept to compare | not run | | `DeepSeek-V4-Flash-0731-UD-IQ2_XXS-00001-of-00003.gguf` + `-00002-` + `-00003-of-00003.gguf` | `unsloth/DeepSeek-V4-Flash-0731-GGUF` @ `fbbb5b93` | 5,257,664 + 49,890,588,800 + 40,964,890,464 | `c58c9d62eac7b62e9578b52613f425e48313d7212ab8d1d76caed8ea8de26595`, `65a113df6d4469f16db6882b6919e153c464c3c78c833f5e1b41a33803cdbd52`, `a69102ddfaf4a84426e11fdb66716654f4260dc3a1de3ade9fd50e006b8691d3` | `strata-poly` | 2x B200 pod (one card, 91 GB of VRAM used at a 32K context) | works (2026-10-19, first start through the fork, `tools/pod/bringup.sh 100 big` files; docs/DEEPSEEK.md's run config as engine args, `--conversation-cache-mib 8192`): ready 32 s after start; 78 tok/s decode on short prompts, 94 tok/s prompt reading on a 22-token prompt, reasoning split into `reasoning_content` with thinking on; with `chat_template_kwargs.thinking=false` the content begins with a stray `` (to look at); PLAN.md step 13 (2026-10-19, `bench/unbiased/2026-10-19-step13-acceptance/`): pi completes all four work items and Minesweeper at temperature 1.0 once tool-call arguments are accepted in any order (USTRAT-7); API checks pass, 72 tok/s decode, 1,954 tok/s prompt reading on one card | step 12 on the 2x RTX PRO 6000 pod (2026-10-19, `bench/unbiased/correctness/` section 8, reference llama.cpp 3cf03257 GPU, floor its CPU run): T2 pass on every set, base/draft 0.69 to 1.00x the floor, prompt chunks of 512 0.89 to 1.06x; T1 3 flips at margin positions where both reference runs agree (USTRAT-10); draft arm bitwise the base arm on 15 of 16 sequences (d4k from step 112, USTRAT-2); llama.cpp master's own CPU run differs from the pinned reference as much as the engine does (USTRAT-11) | -| `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (draft block in the file) | `neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF` @ `7feedfeb` | 113,585,695,168 | `5f03b74ffe7513479795ca60a0fd8c40cbb3101769672b2c91b3df01138d9f6d` | `strata-poly` | 2x B200 pod (one card, 113 GB of VRAM used at a 32K context) | works after a fix (2026-10-19): the front end's vocabulary load refused the file's architecture name `glm5-next`, which llama.cpp does not know (USTRAT-6); the load is retried with the name overridden (vocabulary only), after which the server starts, the template renders (`[gMASK]<|system|>Reasoning Effort: …`) and answers; 74 tok/s decode on a short prompt (5 of 11 drafts accepted), reasoning split with thinking on; PLAN.md step 13: pi completes all four work items and Minesweeper at temperature 1.0 at `reasoning_effort` low (the template treats anything but low/high as max, and at max it thinks to the token cap) once arguments are accepted in any order; API checks pass, 74 tok/s decode, 1,341 tok/s prompt reading on one card | step 12 on the 2x RTX PRO 6000 pod (2026-10-19, `bench/unbiased/correctness/` section 8, reference llama.cpp master 99db719b because the pinned tree does not know `glm5-next`): T2 pass on every set, 0.89 to 1.13x the floor; T1 5 flips where both reference runs agree plus 2 at reference-spread positions (USTRAT-10); the draft arm is not bitwise the base arm on any sequence because its 0.4 GiB moves 52 experts to the CPU (USTRAT-9) | +| `GLM-5.3-Flash-GSQ-RCO-3.0bit-q4kattn.gguf` (no draft block in the file, checked in its header 2026-10-19: the block is cut from Unsloth's UD-IQ2_XXS files with `tools/glm_draft_fetch.py`, 2,787,998,016 bytes, SHA-256 `91a04445…6e3218`, and given to the engine as `--draft-model`; the pod runs of 2026-10-19 ran without it) | `neuralll/GLM-5.3-Flash-GSQ-RCO-3.0bit-Q4Kattn-GGUF` @ `7feedfeb` | 113,585,695,168 | `5f03b74ffe7513479795ca60a0fd8c40cbb3101769672b2c91b3df01138d9f6d` | `strata-poly` | 2x B200 pod (one card, 113 GB of VRAM used at a 32K context) | works after a fix (2026-10-19): the front end's vocabulary load refused the file's architecture name `glm5-next`, which llama.cpp does not know (USTRAT-6); the load is retried with the name overridden (vocabulary only), after which the server starts, the template renders (`[gMASK]<|system|>Reasoning Effort: …`) and answers; 74 tok/s decode on a short prompt (5 of 11 drafts accepted), reasoning split with thinking on; PLAN.md step 13: pi completes all four work items and Minesweeper at temperature 1.0 at `reasoning_effort` low (the template treats anything but low/high as max, and at max it thinks to the token cap) once arguments are accepted in any order; API checks pass, 74 tok/s decode, 1,341 tok/s prompt reading on one card | step 12 on the 2x RTX PRO 6000 pod (2026-10-19, `bench/unbiased/correctness/` section 8, reference llama.cpp master 99db719b because the pinned tree does not know `glm5-next`): T2 pass on every set, 0.89 to 1.13x the floor; T1 5 flips where both reference runs agree plus 2 at reference-spread positions (USTRAT-10); the draft arm is not bitwise the base arm on any sequence because its 0.4 GiB moves 52 experts to the CPU (USTRAT-9) | | `mmproj-F16.gguf` (Qwen3.6 vision projector, `qwen3vl_merger`, projection width 2048; on the VM at `/mnt/ds4/unbiased-strata/qwen36/`, on the pod at `/opt/us2-models/qwen36-mtp/`) | `unsloth/Qwen3.6-35B-A3B-MTP-GGUF` | 899,283,584 | `71f3cbc1f7cc0f30d09d41cfa924c0060827ebc33bf15ace7e86661e856f0160` | front end (`--mmproj`; the encoder runs in `unbiased-strata`, the engine takes the rows over `GENI`) | A6000 VM, pod | works (2026-10-18, A6000 VM with UD-IQ4_XS: `bench/unbiased/2026-10-18-a6000-qwen36-iq4xs-images-step8/`; six facts read off a 1920x1080 screenshot at the 300-row default, 15 s to encode on the VM's Ryzen 7 1700; CPU encoder only, see README "Known limits") | not in scope (the encoder is llama.cpp's own code in the front end) | Rules: a file is added here when it is first downloaded for this fork, with its hash from the Hugging Face LFS object id