Repository navigation
loom coverage: --manifest reads the shipped catalogue (engine#3156) - #3509
Conversation
QUANTS stopped at Q\d+_K_[MSL], so every UD-* card and every UD-* row named no quant at all: the routed, gate-passed Qwen3.8-27B row read 'REQUANT ... has (no quant named), we ship None', and Qwen3.5-4B-UD-Q4_K_XL read UNCOVERED, for cards that bind our pinned bytes. Three fixes, all in the matcher, none in the verdicts: - QUANTS also matches UD[-_]?Q\d+_K_[A-Z]+ and Q\d+_K_[A-Z]+ (XL/XS/XXS suffixes). - canon_quant() gives one spelling, so the row's UD_Q4_K_XL (from a file name) compares equal to the card's UD-Q4_K_XL (from its lock). - _quant_token() drops the standalone xl/xs/xxs/ud tokens, which qualify the quant and must not separate a card from its row. Self-test unchanged (11 ok, 0 failed).
The map's row source was registry/check_models.tsv, which is one model per architecture where a file is at hand (9 rows) -- not what the stick ships. The shipped list is the payload's server_models.json, which os/v3/puppy/catalogue-manifest.py turns into `hrx <id>` lines for /etc/1bit/onebit-models.txt. Nothing read that shape. --manifest takes it. Each id is resolved to the files we pin (stem or repo name, trailing -gguf dropped), because every verdict this tool makes is about a FILE, and an id that resolves to nothing is reported as unresolved rather than name-matched -- a coverage claim resting on a name is the trap the tool exists to avoid. Without --manifest nothing changes.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
…#3156) #3510 fixed --manifest to resolve the stick's own ids, but the self-test had no arm for that path -- which is exactly why the wrong input shape shipped in #3509: it was validated against a manifest synthesised from the issue's row names, and against the real file it resolved 0 of 24 ids and printed an empty map that read like a clean one. This adds arm()'s manifest counterpart, manifest_arm, which asserts the resolved (device, model) ROWS and the unresolved list rather than only the verdict, because "no rows" is a state a verdict-only arm cannot see. 11 arms: - the stick's -1bit suffix is the distribution's, not the model name (hrx GLM-4.7-Flash-1bit) - a resolved id earns a real verdict (COVERED on bytes), and can still be DIFFERENT-UPLOAD - an id resolves on stem + quant spec, not prefix: qwen3-4b must not claim qwen3-4b-instruct-2507-q4_k_m.gguf - a repo-style id ending -GGUF resolves; a bare .gguf id is a file name - an id we pin nothing for is reported unresolved, never name-matched - npu rows are skipped, and are not counted as unresolved either - one id owning several pins yields one row per file (the REQUANT mechanism) - mode=, comments, blank and junk lines are not rows The card-writing half of arm() is factored into make_card() so both arms build the same tree; no existing arm changes behaviour (11/11 still pass unchanged). Control: with rows_from_manifest reverted to the #3509 resolver, the new self-test reports 17 ok / 5 failed -- the three -1bit arms resolve to nothing (rows [], unresolved ['GLM-4.7-Flash-1bit']), the instruct arm does the same, and the prefix arm resolves BOTH files for Qwen3-4B (qwen3-4b-instruct-2507-q4_k_m.gguf and qwen3-4b-q4_k_m.gguf), i.e. it claims the instruct model's bytes for the base model. Against the fixed resolver: 22 ok, 0 failed. Real artifact, unchanged by this commit: --manifest on /etc/1bit/onebit-models.txt as the box generates it (24 hrx ids) still resolves 18 of 24, with 6 reported unresolved (MiniCPM-V-4.6, Qwen3-Reranker-0.6B, ZAYA1-8B-PM, flint-40b-a2.5b, jina-reranker-v1-tiny-en, nomic-embed-text-v2-moe) and 5 rows COVERED on bytes. pre-pr-checks.sh --tree-only --base origin/main: 15 green, 3 skipped, 0 could not be told.
…#3156) (#3511) #3510 fixed --manifest to resolve the stick's own ids, but the self-test had no arm for that path -- which is exactly why the wrong input shape shipped in #3509: it was validated against a manifest synthesised from the issue's row names, and against the real file it resolved 0 of 24 ids and printed an empty map that read like a clean one. This adds arm()'s manifest counterpart, manifest_arm, which asserts the resolved (device, model) ROWS and the unresolved list rather than only the verdict, because "no rows" is a state a verdict-only arm cannot see. 11 arms: - the stick's -1bit suffix is the distribution's, not the model name (hrx GLM-4.7-Flash-1bit) - a resolved id earns a real verdict (COVERED on bytes), and can still be DIFFERENT-UPLOAD - an id resolves on stem + quant spec, not prefix: qwen3-4b must not claim qwen3-4b-instruct-2507-q4_k_m.gguf - a repo-style id ending -GGUF resolves; a bare .gguf id is a file name - an id we pin nothing for is reported unresolved, never name-matched - npu rows are skipped, and are not counted as unresolved either - one id owning several pins yields one row per file (the REQUANT mechanism) - mode=, comments, blank and junk lines are not rows The card-writing half of arm() is factored into make_card() so both arms build the same tree; no existing arm changes behaviour (11/11 still pass unchanged). Control: with rows_from_manifest reverted to the #3509 resolver, the new self-test reports 17 ok / 5 failed -- the three -1bit arms resolve to nothing (rows [], unresolved ['GLM-4.7-Flash-1bit']), the instruct arm does the same, and the prefix arm resolves BOTH files for Qwen3-4B (qwen3-4b-instruct-2507-q4_k_m.gguf and qwen3-4b-q4_k_m.gguf), i.e. it claims the instruct model's bytes for the base model. Against the fixed resolver: 22 ok, 0 failed. Real artifact, unchanged by this commit: --manifest on /etc/1bit/onebit-models.txt as the box generates it (24 hrx ids) still resolves 18 of 24, with 6 reported unresolved (MiniCPM-V-4.6, Qwen3-Reranker-0.6B, ZAYA1-8B-PM, flint-40b-a2.5b, jina-reranker-v1-tiny-en, nomic-embed-text-v2-moe) and 5 rows COVERED on bytes. pre-pr-checks.sh --tree-only --base origin/main: 15 green, 3 skipped, 0 could not be told. Co-authored-by: bong-water-water-bong <[email protected]>
The coverage map's row source was
registry/check_models.tsv, which its own header defines as one model per architecture a backend maps, where a model file is at hand on Strix Halo — 9 rows. What the stick ships is a different list: the payload'sserver_models.json, whichos/v3/puppy/catalogue-manifest.pyturns intohrx <id>lines for/etc/1bit/onebit-models.txt. Nothing in the tool could read that shape, so #3156's master table could never be a machine answer.--manifesttakes it. Without the flag nothing changes.How an id becomes a row
Every verdict here is about a file — the bytes a card binds — while a catalogue id names a model, so an id is resolved to the files we pin: last path segment, trailing
-ggufdropped, matched against the basenames inmodels/pins.json. An id that resolves to nothing is reported as unresolved rather than name-matched, because a coverage claim resting on a name match is the trap the tool exists to avoid.What it says about table A
Run against
~/amd-oss/loom-fun/{cards,cards-staging}plus the1bit-*cards staged from HF, with a manifest built from the checklist's GPU rows:Every
DIFFERENT-UPLOADagrees with the table's "rebind", everyUNCOVEREDwith "none"/"private kit", so the card column is right where it was specific. Three rows move:1bit-*cards bind our pinned bytes on both (509287f7,cc324af0), so with loom coverage: our own published cards are cards (engine#3156) #3507 + loom coverage: UD (Unsloth Dynamic) quants are quants (engine#3156) #3508 those two rows are COVERED on bytes and only the gate is left.1bit-*card our pin isb252c5610a42— COVERED. Either the table predates that card or it is looking at the corpus card only; worth a look either way.Q4_K_Mquant where we shipMXFP4, i.e. REQUANT, not a rebind of the same quant.Not done
This is the code half. CI still has to be handed the manifest — it is generated from the payload, which this repo does not check in — so
--manifestis inert until the stick build drops (or CI checks in)onebit-models.txt. With the file, "COVERED" in #3156's table becomes a machine answer for all 23 rows instead of 9 architecture samples.Self-test:
11 ok, 0 failed(unchanged; the manifest path adds no verdicts).