Repository navigation
loom: a deepseek2 checkpoint had no recorded port path - the private kit is the home and the public starter gap is documented (engine#3221) - #3496
Conversation
…kit is the home and the public starter gap is documented (engine#3221) engine#3221 asks for one of two outcomes: the public port toolchain (loom-skills' loom-port-llm starter, reached through `weaver port`) learns deepseek2/MLA, or the private Loom kernel kit is recorded as the permanent home and the starter gap documented. The second is the measured truth: the starter's generator stops at its head-dim assert before any attention kernel is written (`starter/gen_llm.py:84` at loom-skills `e4dd46e1`: `D in (64, 128, 256)`; GLM-4.7-Flash's `key_length` is 576), and it has no MLA decomposition (0 matches for kv_lora / q_lora / compressed_kv / kv_a_proj / deepseek across `gen_llm.py`, `inspect_gguf.py` and `inspect_safetensors.py`). The tree said neither: the card map's GLM-4.7-Flash `gap` still claimed "absorbed-MLA attention + MoE kernels in progress", and `docs/hrx.md` said a model without a card gets programs written with loom-skills and weaver. - `KNOWN-ISSUES.md`: a new engine#3221 record in the #3157 pattern: the decision (the private, out-of-tree Loom kernel kit is the permanent home for new-architecture Loom ports), the starter gap with file:line evidence, the measured kernel/route evidence from the issue thread (not re-run), the corrected scope (the affected class is deepseek2: GLM-4.7-Flash and DeepSeek-Coder-V2-Lite; the `DeepSeek-R1-Distill-*` GGUFs are qwen2 and unaffected), what a future public-starter port would need, and the docs corrected with it. - `docs/hrx.md`: the "How a model moves" coverage bullet now says the weaver/loom-skills route holds when the public starter can express the architecture, and points at the record and the probe for the case where it cannot. - `docs/loom-route.md`: the card map's `none` bullet points at the record for that case. - `tools/loom_arch_probe.py`: a `DECIDED` table (deepseek2) so the verdict says where the port path lives instead of leaving "not in the starter" to read as "wait for the starter"; a new `--self-test` arm pins that line. - `tools/loom_cards.py` + `config/loom-cards.json`: GLM-4.7-Flash's gap note (the same string in both; the JSON is the generator's build output) now says the public starter has no MLA path, the port path is the private kit, and a published card + gate row is what a route entry needs. Evidence: - Control (origin/main `9d9e2db6`): `git show origin/main:KNOWN-ISSUES.md | grep -c 'engine#3221'` -> 0; `git show origin/main:tools/loom_arch_probe.py | grep -c DECIDED` -> 0; `git show origin/main:config/loom-cards.json | grep -c 'in progress (engine#3221)'` -> 1; origin/main's probe `--self-test` -> "6 arms, 6 ok, 0 failed" (the new arm does not exist there). Mutation control: the branch probe with the DECIDED print removed -> "FAIL a decided architecture says where its port path lives", "7 arms, 6 ok, 1 failed", rc 1. - After: the same greps -> 1 (KNOWN-ISSUES mentions engine#3221), 2 (DECIDED in the probe), 0 (the stale "in progress" string); `--self-test` -> "7 arms, 7 ok, 0 failed"; the probe on the pinned GGUF (unsloth/GLM-4.7-Flash-GGUF@0d32489e, Q4_K_M, sha256 `29837ed2...`) -> rc 1 with "it would need: MLA: q_lora_rank, kv_lora_rank, ..." and "the port path recorded for this architecture is the private Loom kernel kit, not this starter (KNOWN-ISSUES.md, engine#3221)". - `python3 tools/loom_cards.py --check` -> "loom-cards check: 0 errors"; `--self-test` -> "21 checks, 0 failed"; a script asserts config/loom-cards.json's GLM gap equals tools/loom_cards.py's NOTES string -> True; `python3 tools/copyright.py --check` -> ok. - `scripts/pre-pr-checks.sh --tree-only --base origin/main` -> "pre-pr-checks: all 15 check(s) green, 3 skipped, 0 could not be told, 2 open-PR row(s) not run (--tree-only)". The 3 skipped are environment rows (submodules not initialised in this worktree; no gpu-kernels tree). - The measured line in the record (a package built from the kit registers `ready` on loom-serve 0.3.0, after the chat-block terminal-marker fix the port needed, and answers known-answer prompts) is the 2026-11-24 strixhalo smoke recorded on engine#3221 (comment [7135545690](#3221 (comment))); this PR does not re-run it. No route entry, no card and no pin: config/loom-routes.json, config/loom.config, models/pins.json and os/v3/puppy/loom-cards.pin are untouched; the card map's data note changes only. Refs #3221 Assisted-by: DeepSeek Harness
da0407d to
ce550aa
Compare
PR Reviewer Guide 🔍(Review updated until commit ce550aa)Here are some key observations to aid the review process:
✅ Resolved findingsconfig/loom-cards.json:199Gap Description Update The tools/loom_cards.py:71-72Card Map Update The card map for KNOWN-ISSUES.md:118-196Issue Documentation The |
|
Note on the automated reviewer guide's one "non-compliant" item — "the public port toolchain does not yet learn deepseek2/MLA (this is a documentation-only change, not a code change)": that is the issue's accepted second outcome, not a gap in this PR. #3221's own Done when allows "a recorded decision that the private kit, not the public starter, is the permanent home for new-arch ports"; the first outcome is refused by the starter itself ( |
|
Persistent review updated to latest commit ce550aa |
loom: a deepseek2 checkpoint had no recorded port path - the private kit is the home and the public starter gap is documented (engine#3221)
engine#3221 asks for one of two outcomes: the public port toolchain (loom-skills' loom-port-llm
starter, reached through
weaver port) learns deepseek2/MLA, or the private Loom kernel kit isrecorded as the permanent home and the starter gap documented. The second is the measured truth:
the starter's generator stops at its head-dim assert before any attention kernel is written
(
starter/gen_llm.py:84at loom-skillse4dd46e1:D in (64, 128, 256); GLM-4.7-Flash'skey_lengthis 576), and it has no MLA decomposition (0 matches for kv_lora / q_lora /compressed_kv / kv_a_proj / deepseek across
gen_llm.py,inspect_gguf.pyandinspect_safetensors.py). The tree said neither: the card map's GLM-4.7-Flashgapstill claimed"absorbed-MLA attention + MoE kernels in progress", and
docs/hrx.mdsaid a model without a cardgets programs written with loom-skills and weaver.
KNOWN-ISSUES.md: a new engine#3221 record in the loom: the hybrid route's NPU prefill -> Loom decode KV handover (L4 design: two caller-owned state roots, f16 attention cache + f32 GDN state) #3157 pattern: the decision (the private,out-of-tree Loom kernel kit is the permanent home for new-architecture Loom ports), the starter
gap with file:line evidence, the measured kernel/route evidence from the issue thread (not
re-run), the corrected scope (the affected class is deepseek2: GLM-4.7-Flash and
DeepSeek-Coder-V2-Lite; the
DeepSeek-R1-Distill-*GGUFs are qwen2 and unaffected), what afuture public-starter port would need, and the docs corrected with it.
docs/hrx.md: the "How a model moves" coverage bullet now says the weaver/loom-skills routeholds when the public starter can express the architecture, and points at the record and the
probe for the case where it cannot.
docs/loom-route.md: the card map'snonebullet points at the record for that case.tools/loom_arch_probe.py: aDECIDEDtable (deepseek2) so the verdict says where the portpath lives instead of leaving "not in the starter" to read as "wait for the starter"; a new
--self-testarm pins that line.tools/loom_cards.py+config/loom-cards.json: GLM-4.7-Flash's gap note (the same string inboth; the JSON is the generator's build output) now says the public starter has no MLA path, the
port path is the private kit, and a published card + gate row is what a route entry needs.
Evidence:
9d9e2db6):git show origin/main:KNOWN-ISSUES.md | grep -c 'engine#3221'-> 0;
git show origin/main:tools/loom_arch_probe.py | grep -c DECIDED-> 0;git show origin/main:config/loom-cards.json | grep -c 'in progress (engine#3221)'-> 1;origin/main's probe
--self-test-> "6 arms, 6 ok, 0 failed" (the new arm does not exist there).Mutation control: the branch probe with the DECIDED print removed -> "FAIL a decided architecture
says where its port path lives", "7 arms, 6 ok, 1 failed", rc 1.
stale "in progress" string);
--self-test-> "7 arms, 7 ok, 0 failed"; the probe on the pinnedGGUF (unsloth/GLM-4.7-Flash-GGUF@0d32489e, Q4_K_M, sha256
29837ed2...) -> rc 1 with "it wouldneed: MLA: q_lora_rank, kv_lora_rank, ..." and "the port path recorded for this architecture is
the private Loom kernel kit, not this starter (KNOWN-ISSUES.md, engine#3221)".
python3 tools/loom_cards.py --check-> "loom-cards check: 0 errors";--self-test-> "21checks, 0 failed"; a script asserts config/loom-cards.json's GLM gap equals tools/loom_cards.py's
NOTES string -> True;
python3 tools/copyright.py --check-> ok.scripts/pre-pr-checks.sh --tree-only --base origin/main-> "pre-pr-checks: all 15 check(s)green, 3 skipped, 0 could not be told, 2 open-PR row(s) not run (--tree-only)". The 3 skipped are
environment rows (submodules not initialised in this worktree; no gpu-kernels tree).
readyon loom-serve0.3.0, after the chat-block terminal-marker fix the port needed, and answers known-answer prompts) is the
2026-11-24 strixhalo smoke recorded on engine#3221
(comment 7135545690); this PR
does not re-run it.
No route entry, no card and no pin: config/loom-routes.json, config/loom.config, models/pins.json
and os/v3/puppy/loom-cards.pin are untouched; the card map's data note changes only.
Refs #3221
Assisted-by: DeepSeek Harness