Repository navigation
registry: record Needle3ForCausalLM, SepiaCharMLP and KairoForCausalLM as reviewed (engine#330) - #334
Conversation
… aliases The census watcher flagged both as new uncovered classes (engine#330). Neither is an alias of a supported family: Needle3ForCausalLM (model_type needle3, no auto_map) is an ONNX-exported research model, and SepiaCharMLP (model_type sepia-char-mlp) is a character-level MLP - its config.json is not a transformer configuration at all. No pinned backend (hrx, npu) implements either, so mapping them in registry/architectures.json would be dishonest. Recorded in registry/significant.json with model_type/family and documented in docs/arch-gaps.md, which is the fix the issue asks for. tools/registry_build.py --check-gaps passes (13 reviewed classes, none mapped without a reason), and a live python3 tools/census_watch.py now reports Needle3ForCausalLM as "reviewed, not an alias - docs/arch-gaps.md" instead of "new class".
Same treatment as Needle3ForCausalLM and SepiaCharMLP: model_type kairo, no auto_map, nothing in the pinned llama.cpp tree mentions it, no pinned backend implements the class. Recorded in registry/significant.json and docs/arch-gaps.md so the census reports it as reviewed rather than new. registry_build.py --check-gaps passes.
PR Reviewer Guide 🔍(Review updated until commit a8ea66f)Here are some key observations to aid the review process:
|
|
Persistent review updated to latest commit 67ac61d |
|
Preparing review... |
|
Persistent review updated to latest commit a8ea66f |
…to different files (#2320) llama.cpp #333/#334 are one change twice: the same 36 added lines, but each committed into its own branch, so the file-level test in this tool saw two independent PRs (carried=0 landed=0 own=2). My own verdict had to diff the two added-line sets by hand to find it. That is a question the tool did not ask, so it now does: SHARED 29 added line(s) of refs/pr/333 are also in refs/pr/334 -- one PR's work, two branches A subset rather than equality, because an identical block plus extra lines is still one PR taking another's work and extending it; and a floor of 10 lines, because two PRs that share '#include <cstdio>' share boilerplate, not work. Lines are stripped before comparing, so an indentation-only difference cannot hide a copied block. Four new self-test arms: the same block into two different files is neither carried nor landed but IS shared; three boilerplate lines are below the floor; disjoint changes share nothing. Measured on the real pair: shared_work=1 with rc 1, and 0 on a pair that is not a duplicate. Co-authored-by: bong-water-water-bong <[email protected]>
Records three HF architecture classes the census flagged as uncovered, as engine#330 asks.
None is an alias of a supported family:
Needle3ForCausalLM(model_type: needle3) — an ONNX-exported research model; no pinned backend (hrx,npu) implements the class.SepiaCharMLP(model_type: sepia-char-mlp) — itsconfig.jsonis not a transformer configuration at all (forward,vocab,embedding,hidden).KairoForCausalLM(model_type: kairo) — nothing in the pinned llama.cpp tree mentions it.All three are now in
registry/significant.json(withmodel_type/family) and documented indocs/arch-gaps.md.Verified:
python3 tools/registry_build.py --check-gapsreports "none of the 14 reviewed significant classes is mapped without a reason", and a livepython3 tools/census_watch.pynow reportsNeedle3ForCausalLMas "reviewed, not an alias — docs/arch-gaps.md" instead of "new class".One thing for the reviewer to decide rather than assume:
census_watch.pystill exits 1 for reviewed classes by design ("it alerts like any other"), so today the report text — not the exit code — is the signal that a class has been reviewed. If the intended end state is a clean exit once nothing new has arrived, that is a one-line change toreport()'squietset; I left it alone because it would also silence the reminder.