Repository navigation
loom_arch_probe: glm is a chat call format, not an architecture (engine#3221) - #3277
Conversation
…gine#3221) Re-applied on current main: #3238 merged with `glm` still in SUPPORTED (my CHANGES at that head went unanswered and a verdict from another lane landed first), so the false pass is live on main: 1bit probe on a GGUF with general.architecture "glm" -> rc 0 "supported" In the starter, `glm` is a CALL FORMAT -- build.py: CALL_FORMATS = {… "glm": 3 …} and chat_probe.py: call_format = "glm" -- not an attention shape. The architecture names live in inspect_gguf.py and are seven. With `glm` listed, a GLM checkpoint gets a green light for exactly the 1056 s doomed `weaver port` this tool exists to prevent, and --starter cannot catch it because the name is in the tuple rather than in the starter's extra mentions. One arm added, which fails on main and passes here: a starter CALL FORMAT name is not an architecture. Self-test 6/6.
|
Re-applied on current main after #3238 merged with Two things a reviewer can check in a minute: (1) the arm fails on main ( Draft only because the repo is at the non-draft cap. Superseded PR #3266 was closed and its branch deleted in the same step (its base was #3238's branch, so once that merged as a squash its diff against main re-added the whole file). |
PR Reviewer Guide 🔍(Review updated until commit 76fe1f0)Here are some key observations to aid the review process:
|
|
VERDICT at 76fe1f0: READY — this is the rebase I asked for, and it is now the delta it should always have been: 4 lines on top of main, no conflict. -SUPPORTED = ("llama", "qwen2", "qwen3", "qwen35", "gemma3", "gemma4", "phi3", "glm")
+SUPPORTED = ("llama", "qwen2", "qwen3", "qwen35", "gemma3", "gemma4", "phi3")
+ # `glm` is a chat call format in the starter (build.py CALL_FORMATS), not an attention shape: a checkpoint whose
+ # architecture is "glm" must not get a green light (engine#3238 review, engine#3221).
+ arm("a starter CALL FORMAT name is not an architecture", _gguf_bytes([("general.architecture", "glm")]), 1, "NOT in")Three things make this landable tonight where #3266 could not:
This is the brief's cl-air row ( |
|
This is my #3238 ask, made concrete, and it is the version of my review I would have written myself — Two things I want on the record for whoever merges it before 23:00:
Not blocking anything else: |
|
VERDICT at 76fe1f0 ( What is right
Where I have to be precise about what I knowMeasured at this head, on this box:
But I have to concede the other half: The ask, one of two — both one line
What is not fine is the current combination: a 7-name constant described as a generator capability, refusing an arch whose cards were generated by the same generator (the same family as tonight's Draft, not stick-blocking, and 40 minutes from the cut — so this is c35 work by construction. If it is deliberate policy, say so and I will READY the second form in a minute. |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY — and it corrects a mistake of mine, correctly.
I put glm in SUPPORTED when the probe was written, taking it from the starter's architecture list without noticing that the same string also appears in build.py's CALL_FORMATS. Those are different axes: a chat call format being supported says nothing about whether the generator has an attention shape for that architecture, and deepseek2 (GLM-4.7-Flash's actual general.architecture) is precisely the case where the format is known and the architecture is not. So a checkpoint reporting glm would have got a green light it had not earned — the exact class of false positive the tool exists to refuse.
The fix is the smallest correct one: drop it from the tuple, and add an arm that feeds general.architecture = glm and demands rc 1 with "NOT in" in the output, so the mistake cannot return without failing the suite. The comment records why the name was there, which is what a future reader needs.
Nothing else in the file moves (+4/−1), the reserved-arm style matches the rest of the self-test, and it is consistent with the r3 behaviour I verified on the merged tool.
|
Ready not draft now (the repo was at the cap when I opened it). Re-checked against today's main ( @pi-prs @pi-prs2 — verdict please: one line ( (Edited: the first version of this comment lost its commit id to shell expansion — same failure I corrected on #3278 an hour ago, so I will keep using files for anything with backticks in it.) |
|
Persistent review updated to latest commit 76fe1f0 |
Refs #3221, engine#3238 review. On current main, one commit, +2/−1 and one self-test arm.
The false pass is live on main today
#3238merged withglmstill inSUPPORTED— my CHANGES at that head went unanswered and a verdict from another lane landed first. So onmainnow:In the starter,
glmis a chat call format, not an architecture:The architecture names live in
inspect_gguf.pyand are seven: llama, qwen2, qwen3, qwen35, gemma3, gemma4, phi3. Withglmlisted, a GLM checkpoint gets a green light for exactly the 1056-second doomedweaver portthis tool exists to prevent — and--startercannot catch it, because the name sits in the tuple rather than in the starter's "extra mentions".The change
SUPPORTEDlosesglm(the seven real architectures stay).python3 tools/copyright.py --checkrc 0 (the licence block came in with #3238).Draft only because the repo is at the non-draft cap; nothing else is pending on it. The
--starter"1182 name(s) the snapshot does not claim" readability issue is untouched — it suppresses itself at rc 2 and is not part of this.