Skip to content

registry: decline the one uncovered class the census alert is for, and record the dispositions (Fixes #1328) - #1349

Merged
bong-water-water-bong merged 2 commits into
mainfrom
registry/1328-census-classes
Nov 7, 2026
Merged

bong-water-water-bong merged 2 commits into
mainfrom
registry/1328-census-classes

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Fixes #1328. The 2026-11-07 census-watch run named nine classes it could not map. Each now has a decision and the evidence behind it, and
the one class that was actually alerting stops alerting. Diff is additive: +5 lines of data, +43 of documentation.

class census models disposition
GRTForCausalLM 8 declined — research decoder; nothing at the pin registers it
GravityMoEForCausalLM 12 left . REMOTE-CODE — one uploader; alert at REMOTE_CODE_SPREAD
RicursiveForCausalLM 17 left . REMOTE-CODE — same
K2HorizonForCausalLM 150 left . REMOTE-CODE — same; the count is the one worth watching
Lfm3OmniForConditionalGeneration 5 left . REMOTE-CODE; LFM3 already declined by name
MiniCPMV4_7ForConditionalGeneration 4 not a decline — same family as a mapped class, one converter registration away
MiniCPMOcrForConditionalGeneration pack only declined for now — custom minicpm-ocr library
DFlash2DraftModel, Lfm3ForCausalLM — already declined in significant.json; recorded, not re-added

Why this is right for each one

  • GRTForCausalLM (MatterWaveAI/grt-30m-code + 7) is not an alias — config read today: model_type: grt, n_qkv_rotations: 11,
    mor_router_mode: rotational, coupling_init_mode: diagonal, learnable_rope with rope_placement: stream, residual_gate_mode: bounded_depth, no residual norm, and transformers_version: 5.23.0.dev0. A rotational coupling mixer, not a llama/qwen shape with extra
    keys; conversion/ and src/llama-arch.cpp at the pin have no grt name. Mapping it would claim a graph the engine cannot run, so it
    carries "watch": "report" in registry/significant.json and prints as . REVIEWED.
  • The four . REMOTE-CODE classes are deliberately not silenced. They run their own modelling code, each arrived from a single uploader,
    and docs/arch-gaps.md already states the policy for KeuralMoECausalLM: the . REMOTE-CODE line plus the alert at 3 uploaders is the
    review trigger — "not to silence it now". They are documented instead, with K2HorizonForCausalLM flagged on count (150 models).
  • MiniCPMV4_7ForConditionalGeneration is the LNewq case, not a decline: its text_config.model_type is qwen3_5_moe_text, the same
    tower that makes MiniCPMV4_6 map to qwen35. conversion/minicpm.py registers only the V4_6 class, so what is missing is one
    converter registration in the fork
    . It stays unmapped on purpose: a registry entry without a converter class would claim the engine can
    convert a file it cannot.
  • MiniCPMOcrForConditionalGeneration (openbmb/MiniCPM-OCR-1.0, library_name: minicpm-ocr) declined for now — the existing upstream
    GGUFs come from that project's own pipeline, and nothing at the pin registers the class.

Why not registry/architectures.json, which the issue names

There is no decline to write there. All 298 entries are {gguf, backends} and coverage is bool(cls and entry.get("backends")), so an
entry with empty backends still reads as unmapped and one with backends claims support — neither expresses "declined". The repository's
declines register is registry/significant.json ("reviewed as NOT aliases of a supported family") plus docs/arch-gaps.md, which the watcher
already honours (quiet keeps the exit code at 0 and the class prints as . REVIEWED), guarded by ctest registry_gaps and
tests/census_watch_test.py. Two of the nine classes in this issue were already there (DFlash2DraftModel, Lfm3ForCausalLM) — which is
the strongest evidence that it is the right register rather than a new one. Adding a parallel decline mechanism inside architectures.json
would mean changing the schema, the tool, the counts and two tests to duplicate a concept the repo already has.

Verified

  • tests/registry_gaps_test.py → PASS; tests/census_watch_test.py → all checks passed.
  • The alert decision replayed offline, not assumed: a GRTForCausalLM batch returns no alerting class where it previously returned
    ['GRTForCausalLM'], and the full nine-class sweep returns none (quiet = remote_code ∪ reviewed_report).
  • tools/copyright.py --check → clean (exit 0).

Not done on purpose: no mapping for anything, because no class here has a converter/runtime at the pin; and no mapped_ok reasons, since none
of these is mapped (that field is for a reviewed class a pinned backend does implement).

…d record the dispositions (Fixes #1328)

The 2026-11-07 census-watch run named nine classes it could not map. Each now has a decision with the
evidence behind it, and the single class that was actually alerting stops alerting:

- `GRTForCausalLM` (8 models) is **declined**, with `"watch": "report"` in registry/significant.json.
  Its config was read on 2026-11-07: model_type grt, n_qkv_rotations 11, n_mixer_rotations 1,
  mor_router_mode rotational, coupling_init_mode diagonal, learnable_rope with rope_placement stream,
  residual_gate_mode bounded_depth, no residual norm, transformers_version 5.23.0.dev0 - a rotational
  coupling mixer, not a llama/qwen shape with extra keys. Neither conversion/ nor src/llama-arch.cpp at
  the pin has a grt name, so mapping it would claim a graph the engine cannot run.
- The four `. REMOTE-CODE` classes (GravityMoE, Ricursive, K2Horizon, Lfm3Omni) are **deliberately left
  out** of significant.json: they run their own modelling code, each came from one uploader, and the
  policy already recorded for KeuralMoECausalLM in docs/arch-gaps.md is that the `. REMOTE-CODE` line
  plus the alert at REMOTE_CODE_SPREAD uploaders is the review trigger. Silencing it now would remove
  the prompt. K2Horizon is flagged in the doc as the one worth reading on count alone (150 models).
- `MiniCPMV4_7ForConditionalGeneration` is **not** a decline: its text_config.model_type is
  qwen3_5_moe_text, the same tower that makes MiniCPMV4_6 map to qwen35, so what is missing is one
  converter registration in the fork. It stays unmapped on purpose - a registry entry without a
  converter class would claim the engine can convert a file it cannot.
- `MiniCPMOcrForConditionalGeneration` is declined for now (custom `minicpm-ocr` library; the upstream
  GGUFs come from that project's own pipeline), and DFlash2DraftModel / Lfm3ForCausalLM were already
  declined in the same file, so they are recorded as such rather than re-added.

Why not registry/architectures.json, which the issue names: there is no decline there to write. All 298
entries are {gguf, backends} and coverage is `bool(cls and entry["backends"])`, so an entry with empty
backends still reads as unmapped and one with backends claims support - neither is a decline. The
repository's declines register is registry/significant.json ("reviewed as NOT aliases of a supported
family") plus docs/arch-gaps.md, which the watcher already honours (the class prints as `. REVIEWED` and
`quiet` keeps the exit code 0), guarded by ctest `registry_gaps` and tests/census_watch_test.py; two of
the nine classes in this issue were already there, which is what confirms it as the right place.

Verified: tests/registry_gaps_test.py PASS, tests/census_watch_test.py "all checks passed", and the
alert decision replayed offline - a GRT batch returns no alerting class where it previously returned
['GRTForCausalLM'], and the full nine-class sweep returns none. Diff is additive: +5 lines of data,
+43 of documentation.

Fixes #1328
@github-actions

github-actions Bot commented Nov 7, 2026 •

Copy link
Copy Markdown

PR Reviewer Guide 🔍

(Review updated until commit 46969ff)

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

1328 - Partially compliant

Compliant requirements:

  • The PR addresses the uncovered classes from the census alert by recording their dispositions
  • The GRTForCausalLM class is properly declined and documented in registry/significant.json and docs/arch-gaps.md
  • The PR adds documentation explaining why each class was handled as it was, including the rationale for declining or leaving as . REMOTE-CODE

Non-compliant requirements:

  • The PR does not add new architecture mappings to registry/architectures.json for the uncovered classes
  • The PR does not implement serving model families on the NPU route for the uncovered classes

Requires further human verification:

  • Confirmation that the census watcher no longer alerts on GRTForCausalLM after this change
  • Verification that the documentation accurately reflects the decisions made and that the reasoning is clear
⏱️ Estimated effort to review: 2 🔵🔵⚪⚪⚪
🧪 No relevant tests
🔒 No security concerns identified
⚡ Recommended focus areas for review

Incorrect Disposition Entry

The entry for GRTForCausalLM in registry/significant.json includes a detailed explanation but lacks a clear indication of whether this is a decline or a review. The description states that it is "declined with this reason on 2026-11-07 under engine #1328", but the structure and content imply it should be a review entry rather than a decline, which could be misleading.

"GRTForCausalLM": {
 "model_type": "grt",
 "family": "GRT rotational/coupling decoder (MatterWaveAI grt-30m-code, 8 models in registry/census.json). Not an alias of anything mapped: the config reads model_type grt with a rotational coupling mixer (n_qkv_rotations 11, n_mixer_rotations 1, mor_router_mode rotational, mor_delta_scale 0.5, coupling_init_mode diagonal, angle_init_scale 0.1), learnable_rope with rope_placement stream, residual_gate_mode bounded_depth, no residual norm, and it declares transformers_version 5.23.0.dev0 - a research decoder, not a llama/qwen shape with extra keys. Nothing at the pin registers the class or a 'grt' gguf architecture (conversion/ has no grt module, src/llama-arch.cpp has no grt arch), so mapping it would claim a graph the engine cannot run. Declined with this reason on 2026-11-07 under engine #1328; the census reports it as . REVIEWED instead of !! UNCOVERED. Remove this entry and watch: report if a backend ever ports it.",
 "watch": "report"
}

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT: READY at 1b3429b70db6f9e48d9af9903118ca20b2c0b2b3. The one decline is evidenced and lands in the register the watcher already honours. The remote-code classes are deliberately left loud, which is the documented policy.

Checked

  • registry/significant.json (+5): GRTForCausalLM → {model_type: grt, family: …, watch: report}, the same shape as the existing needle decline. The file parses. tests/registry_gaps_test.py → PASS, tests/census_watch_test.py → all checks passed, copyright.py --check rc 0.
  • The decline's evidence, re-read: MatterWaveAI/grt-30m-code's config.json is model_type: grt, architectures: ['GRTForCausalLM'], n_qkv_rotations: 11, mor_router_mode: rotational, transformers_version: 5.23.0.dev0, exactly as the entry says. At main's llama.cpp pin 67d8c42e, src/llama-arch.cpp has no grt arch and conversion/ has no grt module, so "mapping it would claim a graph the engine cannot run" holds.
  • The MiniCPM argument's code half holds: conversion/minicpm.py at the pin registers only MiniCPMV4_6ForConditionalGeneration (:119), so leaving V4_7 unmapped until the fork gains the registration is right.
  • Why significant.json and not architectures.json: the body's reasoning is correct. That file's entries are {gguf, backends} with coverage meaning "has backends", so it cannot express "declined", and two of the nine classes already live in significant.json.

Nit: I couldn't confirm the text_config.model_type: qwen3_5_moe_text claim for MiniCPMV4_7. openbmb/MiniCPM-V-4.7 serves no config.json at that id, and the FastFlowLM NPU pack's config names the class but has no text_config.model_type. Name the repo the config was read from in docs/arch-gaps.md. It drives no data change here, since the class stays unmapped.

@bong-water-water-bong bong-water-water-bong left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

VERDICT: READY at 1b3429b70db6f9e48d9af9903118ca20b2c0b2b3.

The decision that carries the PR — "GRTForCausalLM is not an alias" — re-derives from the model card, field for field. I fetched
MatterWaveAI/grt-30m-code/config.json myself:

model_type grt | n_qkv_rotations 11 | mor_router_mode rotational | coupling_init_mode diagonal
learnable_rope true | rope_placement stream | residual_gate_mode bounded_depth | transformers_version 5.23.0.dev0

which is the list the doc gives, model_type: grt included, and it is plainly a rotational-coupling decoder rather than a llama/qwen
shape with extra keys. And the "nothing at the pin registers it" half is true as well: git grep -c grt -- conversion/ src/llama-arch.cpp at the pin returns 0. So declining is the right disposition and the reason is evidence rather than impression.

The rest of the machinery checks out:

registry/significant.json          valid JSON, 33 classes; the new entry carries watch: report + the full reason
tests/census_watch_test.py         all checks passed                                              rc 0
tools/census_watch.py:215          loads registry/significant.json["classes"]
tools/census_watch.py:748          ". REVIEWED {cls}: N model(s) … reviewed, not an alias, report only"
                                   ". REMOTE-CODE {cls} … alerts once {REMOTE_CODE_SPREAD} uploaders use it"

so the two dispositions the doc distinguishes are two different branches of one tool, and the sentence "the one class that was actually
alerting stops alerting, and the four . REMOTE-CODE ones are deliberately not silenced" is exactly what the code does — the
REMOTE_CODE_SPREAD alert stays as the review trigger.

conversion/minicpm.py at the pin registers only MiniCPMV4_6ForConditionalGeneration (both the text and vision models), and
MiniCPMV4_6TextModel(Qwen3_5TextModel) is the mapped class, so "the same tower, one converter registration away" is corroborated on
the engine side.

One claim I could not verify, stated so it is not read as checked: MiniCPMV4_7ForConditionalGeneration's
text_config.model_type = qwen3_5_moe_text. openbmb/MiniCPM-V-4_7's config.json returns HTTP 401 (gated), and the census file
holds counts rather than model ids, so I could not reach a copy. The engine-side half above is verified; the Hub half is the author's
read. It only affects the reason for not declining that class, not the disposition — leaving it unmapped is the safe side either way,
since a registry entry without a converter class would claim a conversion the engine cannot perform.

Fixes #1328 is the right reference, the diff is additive (+5 data, +43 docs), and recording DFlash2DraftModel / Lfm3ForCausalLM as
already-declined rather than re-adding them is the detail that keeps significant.json from accumulating duplicates.

@github-actions

github-actions Bot commented Nov 7, 2026

Copy link
Copy Markdown

Persistent review updated to latest commit 46969ff

@bong-water-water-bong
bong-water-water-bong merged commit 4480a6d into main Nov 7, 2026
9 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the registry/1328-census-classes branch November 7, 2026 20:43
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.

census: new HF model class uncovered by the registry

1 participant