Skip to content

registry: record Needle3ForCausalLM, SepiaCharMLP and KairoForCausalLM as reviewed (engine#330) - #334

Merged
bong-water-water-bong merged 4 commits into
mainfrom
fix/registry-reviewed-classes
Oct 6, 2026
Merged

bong-water-water-bong merged 4 commits into
mainfrom
fix/registry-reviewed-classes

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

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) — its config.json is 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 (with model_type/family) and documented in docs/arch-gaps.md.

Verified: python3 tools/registry_build.py --check-gaps reports "none of the 14 reviewed significant classes is 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".

One thing for the reviewer to decide rather than assume: census_watch.py still 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 to report()'s quiet set; I left it alone because it would also silence the reminder.

… 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.
@github-actions

github-actions Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

PR Reviewer Guide 🔍

(Review updated until commit a8ea66f)

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

330 - Partially compliant

Compliant requirements:

  • All three uncovered classes (Needle3ForCausalLM, SepiaCharMLP, KairoForCausalLM) are now recorded in registry/significant.json with their respective model_type and family fields
  • The classes are documented in docs/arch-gaps.md explaining why they are not aliases
  • The census tool no longer flags these classes as uncovered after the changes

Non-compliant requirements:

  • None

Requires further human verification:

  • None
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Documentation Clarity

The documentation for Needle3ForCausalLM and SepiaCharMLP mentions that the models are not transformer configurations, but does not explicitly state how this impacts compatibility or support in the engine. Clarification on whether these models are fully unsupported or partially supported would help in understanding the implications.

### `needle3` - `webmp3/Sakura-Needle3-ONNX`

Architecture class `Needle3ForCausalLM`, `model_type: needle3`, no `auto_map` - so the
census classes it as native, not custom code. It is a small research model shipped as an
ONNX export; no pinned backend (`hrx`, `npu`) implements the class, and an ONNX graph is
not a GGUF architecture any backend could claim. Reviewed 2026-10-06: **not an alias**.

### `sepia-char-mlp` - `LUSCAINK/SEPIA-0`

Architecture class `SepiaCharMLP`, `model_type: sepia-char-mlp`, no `auto_map`. Its
`config.json` is not a transformer configuration at all (`forward`, `vocab`, `embedding`,
`hidden` - a character-level MLP), so it cannot be an alias of any supported family.
Reviewed 2026-10-06: **not an alias**.

### `kairo` - `kairo-crypto-model/kairo-v1.5`

Architecture class `KairoForCausalLM`, `model_type: kairo`, no `auto_map` - so the census
classes it as native rather than custom code. Nothing in the pinned llama.cpp tree
mentions `kairo`, and no pinned backend (`hrx`, `npu`) implements the class. Reviewed
2026-10-06: **not an alias**.
Model Type Consistency

The family field for Needle3ForCausalLM is set to "Sakura Needle-3 (ONNX export)", while for SepiaCharMLP it is "SEPIA character-level MLP". It would be beneficial to ensure consistency in naming conventions for family descriptions across similar models to maintain clarity and uniformity in the registry.

"Needle3ForCausalLM": {
 "model_type": "needle3",
 "family": "Sakura Needle-3 (ONNX export)"
},
"SepiaCharMLP": {
 "model_type": "sepia-char-mlp",
 "family": "SEPIA character-level MLP"
},
"KairoForCausalLM": {
 "model_type": "kairo",
 "family": "Kairo (crypto-model research)"
}

@bong-water-water-bong
bong-water-water-bong enabled auto-merge (squash) October 6, 2026 19:34
@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

Persistent review updated to latest commit 67ac61d

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

Preparing review...

@github-actions

github-actions Bot commented Oct 6, 2026

Copy link
Copy Markdown

Persistent review updated to latest commit a8ea66f

@bong-water-water-bong
bong-water-water-bong merged commit 1603b14 into main Oct 6, 2026
6 of 7 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the fix/registry-reviewed-classes branch October 6, 2026 19:48
bong-water-water-bong added a commit that referenced this pull request Nov 13, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant