Skip to content

census: review the two moved pins and three new d3 packs, and stop the FLM half alerting on a reviewed class (Refs #1451) - #1457

Merged
bong-water-water-bong merged 1 commit into
mainfrom
1bit/1451-census-pins
Nov 8, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
1bit/1451-census-pins

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Refs #1451 — the 2026-11-08 watcher run, triaged with evidence rather than closed by silence.

What the run actually said (checked with tools/census_watch.py --full, not just the issue text)

The issue's snapshot is a few hours old; the live run has no uncovered class in the newest models (RMSN has aged
out of that window) and the alerts that do fire today are the two moved pins and three unseen d3 repos. Both views are
handled below.

Dispositions

item disposition
ROCm/FLM_Q4NX_Converter pin bumped d1d5232 → 93b8398, reviewed: 2026-11-08
vllm-project/semantic-router pin bumped 632f087 → b7adcfa (152 commits, d3 contract unchanged)
vllm-sr/d3-ultra-{INT4,FP8,NVFP4} added to d3_sources.known
RMSN declined → registry/significant.json (watch: report)
PhobosScratchLM, Lfm3V9ForCausalLM . REMOTE-CODE, one uploader each → left to the REMOTE_CODE_SPREAD trigger
MiniCPMV4_7, MiniCPMOcr, smolvla, the !! NPU FLM families still alerting on purpose, reasons in docs/arch-gaps.md

The converter bump matters to this route, not just to the bookkeeping. d1d5232 → 93b8398 fixes the Qwen3.5 family
converters: full-attention layers are detected from attn_q.weight instead of "every Nth layer" — the commit names full
attention at 2, 5, 8, 9, 10, 11 for d3:edge, exactly the irregularity our safetensors_to_q4nx.py takes from
layer_types — an MTP block (nextn_predict_layers > 0, counted in block_count) no longer leaks out as a bogus
decoder layer, and the Qwen35 value-head reorder comes from the v/qk head ratio. Stock Qwen3.5 0.8B/2B/4B (Q4_K, Q4_1)
are 124/124 tested in that PR and the output is byte-identical for GGUFs without an MTP block, so
scripts/repack_gguf.py's declared-scale guard is unaffected.

The router bump is 152 commits and none of them is the contract: d3_format.py, d3_server.py and
d3_runtime.py do not appear in the diff at all; the only System One files touched are two dashboard frontend pages.
What moved is router-side (vela{2,3}-labels-spans.yaml, a decision-balance recipe, a canonical_decision_model CRD).

RMSN evidence (config read today): dim, depth, slots, seq_len, a measured val_lyap Lyapunov exponent, no
hidden_size/head count/intermediate_size; repo tags physics-informed, port-hamiltonian, metriplectic-mechanics,
lyapunov-stability, sheaf-theory, dissipative-soliton; the repo carries a pickled pytorch_model.pt. Not an alias.

The tool fix (this is what keeps the daily issue coming back)

The model census already printed a reviewed-not-an-alias class as . REVIEWED, but the FLM half ignored
registry/significant.json — so Lfm3ForCausalLM and DFlash2DraftModel, both declined on 2026-11-07, kept printing
!! NEW FLM ... registry: none and kept the issue open on an answered question. flm_line() now takes the reviewed set:
such a pack prints . FLM ... registry: none (reviewed, not an alias) and is not counted in the "publish a family this
engine does not serve" total.

Verified

$ python3 tests/census_watch_test.py                 -> all checks passed  (2 new checks; FAILS when the marker rule is reverted)
$ python3 tools/registry_build.py --check-gaps       -> rc 0 ("none of the 34 reviewed significant classes is mapped without a reason")
$ python3 tools/registry_build.py --check-pins       -> rc 0
$ python3 tools/census_watch.py --full               -> the two SUPPORT MOVED alerts are now "+ SUPPORT PIN ... reviewed 2026-11-08";
                                                        the d3 repo alert is gone; LFM3/DFlash2 print ". FLM ... (reviewed, not an alias)"
$ python3 tools/copyright.py --check                 -> rc 0

The census still exits 1, and should: MiniCPMV4_7/MiniCPMOcr/smolvla are unmapped work items and the !! NPU FLM
families need engine #588 (the NPU route), not a registry edit. That is stated in docs/arch-gaps.md so the next run's
issue reads as a known list rather than a new breach. No device, no ticket, no build.

@github-actions

github-actions Bot commented Nov 8, 2026

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

🎫 Ticket compliance analysis 🔶

1451 - Partially compliant

Compliant requirements:

  • The new architecture class RMSN is recorded in registry/significant.json with watch: report
  • The moved pins ROCm/FLM_Q4NX_Converter and vllm-project/semantic-router are updated in registry/support_pins.json
  • The new d3 repos vllm-sr/d3-ultra-{INT4,FP8,NVFP4} are added to registry/support_pins.json
  • The docs/arch-gaps.md is updated with the evidence for the decisions
  • The FLM census no longer alerts on reviewed classes that are not aliases

Non-compliant requirements:

  • None

Requires further human verification:

  • None

588 - Partially compliant

Compliant requirements:

  • The census now watches FastFlowLM's HF org and GitHub releases
  • A state file is maintained to track changes
  • Tests are added in tests/census_watch_test.py with recorded fixtures

Non-compliant requirements:

  • None

Requires further human verification:

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

Incorrect Alerting for Reviewed Classes

The FLM census was incorrectly alerting on classes that were reviewed and recorded in registry/significant.json as not aliases (watch: report). This caused a daily issue to remain open for classes like Lfm3ForCausalLM and DFlash2DraftModel even though they were already handled. The fix ensures that such classes are listed instead of alerted, aligning the FLM census behavior with the model census.

def flm_line(repo, reviewed=None):
    """One repo, one line: files, license, base model, architecture, both mapping answers.

    `reviewed` is `reviewed_report_classes()`: a class recorded there as not-an-alias is printed as
    `. FLM ... registry: none (reviewed, not an alias)` instead of `!! NEW FLM`, so an answered question
    stops being asked (engine#1451)."""
    parts = []
    size = sum(item["size"] for item in repo["q4nx"])
    if repo["q4nx"]:
        names = ", ".join(item["name"] for item in repo["q4nx"])
        parts.append(f"q4nx {len(repo['q4nx'])} file(s)"
                     + (f" {gib(size)}" if size else "") + f" [{names}]")
    else:
        parts.append("no q4nx file")
    if repo["license"]:
        parts.append(f"license {repo['license']}")
    if repo["base_models"]:
        parts.append("base " + ", ".join(repo["base_models"]))
    parts.append(f"arch {repo['architecture'] or 'none (no config in the repo)'}")
    if repo["mapped"]:
        parts.append(f"registry {repo['registry_class']} -> {repo['registry_gguf']}")
        parts.append(f"npu route: {repo['npu_model_type']}" if repo["npu"] else "npu route: no")
    else:
        seen = (reviewed if reviewed is not None else reviewed_report_classes())
        parts.append("registry: none (reviewed, not an alias - registry/significant.json)"
                     if repo["architecture"] in seen else "registry: none")
    if repo["derivative"]:
        parts.append("derivative drop (no config by design)")
    seen = (reviewed if reviewed is not None else reviewed_report_classes())
    decl = class_unmapped(repo) and repo["architecture"] in seen
    marker = ("!! NPU FLM" if npu_gap(repo)
              else (". FLM" if decl else ("!! NEW FLM" if unmapped(repo) else "+ FLM")))
    return f"{marker} {repo['id']}  ({repo['lastModified'][:10]})  " + "  ".join(parts)
Cache Invalidation for Reviewed Classes

The reviewed_report_classes() function caches the reviewed classes, but there is no mechanism to invalidate this cache if the registry/significant.json file changes. This could lead to stale data if the file is modified without restarting the process.

_REVIEWED_CACHE = {}


def reviewed_report_classes():
    """Classes the registry has reviewed and recorded as NOT an alias (`watch: report`).

    The FLM half of the census ignored `registry/significant.json`, so a pack whose family this engine has
    explicitly declined (`Lfm3ForCausalLM`, `DFlash2DraftModel`) printed `!! NEW FLM ... registry: none` and
    kept the daily issue open forever, while the same class in the model census printed `. REVIEWED`. Same
    rule now applies to both halves: a reviewed class is listed, not alerted (engine#1451).
    """
    if "v" not in _REVIEWED_CACHE:
        sig = json.load(open(os.path.join(REG, "significant.json")))["classes"]
        _REVIEWED_CACHE["v"] = frozenset(c for c, e in sig.items() if e.get("watch") == "report")
    return _REVIEWED_CACHE["v"]

@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 d4ddcf210ffd666259665a32ddd89fa7a7a7d51b

The two pins this records are the live heads, checked against the repos rather than against the census's own complaint:

ROCm/FLM_Q4NX_Converter     recorded 93b83988519377935a648ec80740068920ba4076   live head 93b839885193   match
vllm-project/semantic-router recorded b7adcfaa042a750fce80855056dc2a601cd1e002  live head b7adcfaa042a   match
both "reviewed": "2026-11-08"

and the three vllm-sr/d3* sources (d3-FP8, d3-NVFP4, d3-NVFP4-AWQ) are added under d3_sources, which is exactly the alert my own census run printed twice today ("3 vllm-sr/d3* repo(s) not in registry/support_pins.json … add it to the list once looked at"). So the sweep after this lands should go from four alerts to zero.

One thing worth expecting rather than discovering: semantic-router moved from fb05a3c49b3d to b7adcfaa042a inside the 15 minutes between my two census runs this morning. A pin file that records "the commit last reviewed" is supposed to trip the !! SUPPORT MOVED alert again the moment upstream publishes — that is the design, not a defect — but it does mean this particular entry will likely need re-review at the next sweep, and the reviewed date is a statement about when a human read it, not a claim that upstream has stopped.

The file keeps its two useful properties: each entry carries why (so a later reader knows what the dependency is for, not just that it moved) and the about text states the alert's semantics — "alerts when a pinned commit moves" — which is what makes an unread upstream distinguishable from a quiet day.

Not run: nothing to run — the verification is the two sha comparisons above. If a future entry pins a repo that does not exist publicly, the alert should say "not readable" rather than "moved", and the existing census body already distinguishes those.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Heads-up, not a new verdict: #1456 and #1457 both add an RMSN entry to registry/significant.json (with different family text), and git merge-tree of the two heads conflicts. They are two lanes triaging the same #1451 run. #1457 is the superset (both pin bumps, the d3 packs, RMSN, and the FLM-half tool fix). Suggest landing #1457 and closing #1456 as covered, or #1456 first and rebasing #1457 to drop its RMSN entry, so the queue does not try to land both.

…p the FLM half alerting on a reviewed class

The 2026-11-08 watcher run (#1451) named one new class, two supporting pins that moved and three d3 repos it had
not seen. Dispositions, each with the evidence read:

* ROCm/FLM_Q4NX_Converter d1d5232 -> 93b8398: fixes the Qwen3.5 family converters (full attention detected from
  attn_q.weight instead of "every Nth layer" -- the commit names 2,5,8,9,10,11 for d3:edge, the same irregularity
  our converter takes from layer_types -- an MTP block no longer leaks out as a decoder layer, and the Qwen35
  reorder comes from the v/qk head ratio). Stock 0.8B/2B/4B are 124/124 tested there and byte-identical without
  an MTP block, so repack_gguf.py's declared-scale guard is unaffected.
* vllm-project/semantic-router 632f087 -> b7adcfa: 152 commits, and none of them is the contract -- d3_format.py,
  d3_server.py and d3_runtime.py are not in the diff; the System One files touched are dashboard frontend pages.
* vllm-sr/d3-ultra-{INT4,FP8,NVFP4} added to d3_sources.known: quantization variants of d3-ultra, each with its
  own config.json and decision_config.json, so d3 packs rather than a new family.
* RMSN recorded in registry/significant.json (watch: report): config has dim/depth/slots/seq_len and a val_lyap
  Lyapunov exponent with no hidden_size or head count, and the repo tags say port-Hamiltonian / metriplectic /
  dissipative-soliton -- not an alias of anything a pinned backend loads.

And one tool fix, because the daily issue was re-asking an answered question: the model census printed a reviewed
class as `. REVIEWED`, but the FLM half ignored registry/significant.json and printed `!! NEW FLM ... registry:
none` for Lfm3ForCausalLM and DFlash2DraftModel, both declined on 2026-11-07. flm_line() now takes the reviewed
set: such a pack prints `. FLM ... registry: none (reviewed, not an alias)` and is not counted in the unserved
total. tests/census_watch_test.py covers both halves (and the test fails when the marker rule is reverted).

Still alerting on purpose, and said so in docs/arch-gaps.md: MiniCPMV4_7 (one converter registration, not an
architecture), MiniCPMOcr (own library), smolvla (no config), and the HRX-only families that engine #588 has to
serve on the NPU route.

Refs #1451
@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

Rebased onto main (d2c019ac). The conflict was RMSN: #1456 landed the decline first, with a better-argued
entry than mine (it reads the model card and checks the pin: no attention/FFN keys, conversion/ has no module,
src/llama-arch.cpp has no arch, plus a "remove this if a backend ever ports it" note). So I dropped my duplicate and
kept only what #1456 does not cover. Net after the rebase: 4 files, 126+/41−, no class entry of mine at all.

What remains is the part #1456 is silent on, and it is the part that was keeping the daily issue open:

item disposition
ROCm/FLM_Q4NX_Converter pin bumped d1d5232 → 93b8398
vllm-project/semantic-router pin bumped 632f087 → b7adcfa (152 commits, d3 contract unchanged)
vllm-sr/d3-ultra-{INT4,FP8,NVFP4} added to d3_sources.known
Lfm3ForCausalLM, DFlash2DraftModel FLM half now honours registry/significant.json — both were declined on 2026-11-07 and still printed !! NEW FLM every run
PhobosScratchLM, Lfm3V9ForCausalLM left to the REMOTE_CODE_SPREAD trigger, per the policy #1456 also restates

The converter bump is not bookkeeping for this route. d1d5232 → 93b8398 fixes the Qwen3.5 family converters:
full attention is detected from attn_q.weight instead of "every Nth layer" — the commit names full attention at
2, 5, 8, 9, 10, 11 for d3:edge, exactly the irregularity our safetensors_to_q4nx.py takes from layer_types — an
MTP block (nextn_predict_layers > 0, counted in block_count) no longer leaks out as a bogus decoder layer, and the
Qwen35 value-head reorder comes from the v/qk head ratio. Stock Qwen3.5 0.8B/2B/4B (Q4_K, Q4_1) are 124/124 tested in that
PR and the output is byte-identical for GGUFs without an MTP block, so scripts/repack_gguf.py's declared-scale guard is
unaffected.

The router bump is 152 commits and none of them is the contract: d3_format.py, d3_server.py and d3_runtime.py
are not in the diff at all; the only System One files touched are two dashboard frontend pages. What moved is router-side
(vela{2,3}-labels-spans.yaml, a decision-balance recipe, a canonical_decision_model CRD).

The tool fix is the one that stops the issue recurring. The model census printed a reviewed class as . REVIEWED, but
the FLM half ignored registry/significant.json, so a pack whose family this engine has explicitly declined kept alerting
forever — an answered question re-asked daily. flm_line() now takes the reviewed set: such a pack prints
. FLM ... registry: none (reviewed, not an alias) and is not counted in the unserved total. Two new checks in
tests/census_watch_test.py, and the test fails when the marker rule is reverted.

Verified after the rebase:

tests/census_watch_test.py            -> all checks passed
registry_build.py --check-gaps        -> rc 0   (34 reviewed classes, none mapped without a reason)
registry_build.py --check-pins        -> rc 0
copyright.py --check                  -> rc 0
census_watch.py --full                -> both pins "+ SUPPORT PIN ... reviewed 2026-11-08"; the d3 alert gone;
                                         LFM3/DFlash2 print ". FLM ... (reviewed, not an alias)"

It still exits 1, and should: MiniCPMV4_7/MiniCPMOcr/smolvla are unmapped work items and the !! NPU FLM families
need engine #588. docs/arch-gaps.md says so, so the next run's issue reads as a known list. No device, no ticket, no build.

@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 b18faea08cebb3a190c6f026dafd4114e86aa577

The overlap I flagged is resolved. #1456 merged (with its RMSN entry), and this head is rebased onto main with no registry/significant.json change of its own. The diff is docs/arch-gaps.md, registry/support_pins.json, tools/census_watch.py and its test, and git merge-tree against main is clean.

Checked at this head:

  • The pins exist upstream: ROCm/FLM_Q4NX_Converter@93b83988… (committed 2026-10-31) and vllm-project/semantic-router@b7adcfaa… (2026-11-08), both full shas in support_pins.json.
  • The FLM-half fix is the right size. reviewed_report_classes() reads significant.json's watch: report set (cached). A reviewed-not-an-alias class prints . FLM … registry: none (reviewed, not an alias …) and is dropped from the unmapped list, while !! NPU FLM still wins over it, matching "still alerting on purpose". That's the same rule the model census already applied, now in both halves.
  • The tests pass: python3 tests/census_watch_test.py reports all checks passed; tools/registry_build.py --check-gaps reports none of the 34 reviewed significant classes is mapped without a reason; tools/copyright.py --check is rc 0.

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