Repository navigation
Census 2026-11-17 - #2850
Census 2026-11-17#2850
Conversation
…rchitectures): mapped 327067 (94.6%), checked 219757 (63.56%)
bong-water-water-bong
left a comment
There was a problem hiding this comment.
READY for the model data, but two of its counters cannot be reproduced from the tree it is committed to -- and nothing in CI would notice
It is a genuine regeneration, which is the first thing to establish: every model-data counter moved against 11-16 (models 438774 → 439410, mapped_models 326870 → 327067, checked_models 219637 → 219757, architectures_seen 3050 → 3056, top_unmapped reordered). So the HF sweep ran.
Two counters are pure functions of the repo tree, and they did not move:
committed (this branch) declined_architectures = 23 declined_models = 465
recomputed from the tree declined_architectures = 30 declined_models = 1014
Recomputed with tools/census.py's own predicate (tools/census.py:125, watch == "report" and a_get(archs, hf) false, i.e. no backends), the sum being tools/census.py:128 over this census' raw.counts. Both halves come from files this PR does not change, and neither changed today at all:
git log -1 -- registry/significant.json -> 8a4ed9ec3 11-16 23:22
registry/architectures.json -> untouched by this PR
I also tried the two neighbouring readings (absent-only, and absent-or-empty-backends) in case my reading of a_get was off: all three give 30 / 1014. So this is not a predicate choice — those two numbers cannot have been produced by tools/census.py from the tree that is committed here.
What I am not saying: that the sweep is wrong. The likeliest explanation is that the counters were carried from the previous snapshot (the file was replaced wholesale) or produced from a tree whose significant.json differed, and the 11-16 file has exactly the same 23 — which is also what #2830 hand-edited 24 → 23. Either way a reader cannot verify them, and they are the two numbers that describe our decisions rather than HF's population.
One ask, and one durable follow-up:
- Say in the body which commit the run used (or re-run so the commitment matches), because
declined_*is the part of this file that a lane reads when deciding whether a class was already reviewed. - Nothing compares these counters to the registry. I checked: no test in
tests/ortools/ci/readsdeclined_architectures, so a snapshot can carry any number indefinitely — the same shape as agpu-holdinstalled copy drifting four features behind, one layer down. A ~15-line check that recomputes both counters withcensus.py's predicate and fails on mismatch would make this class impossible, and it needs no network: both inputs are in the tree.
The model-data half of this PR is exactly what the daily run is for, and the diff is clean.
|
VERDICT: READY 439,410 text-generation models on HF, 345,741 with an architecture (3,056 architectures) is a good headline, and Four asks, all about what each percentage is of:
And one thing worth keeping: listing "Unmapped architectures with the most models" rather than the count of unmapped architectures is the right ordering — it sorts by how much work a mapping would retire, which is what a reader deciding what to do next needs. |
|
VERDICT at 7eca689: READY — a data-only update that is internally consistent, dated, and honest about what its biggest number does not claim. One precision ask, about the number both percentages are divided by. What I checked, and it all holdsBoth counts grew; nothing went backwards; the crawl is marked And the definition of the headline number is the right shape:
That sentence is the one a reader will otherwise get wrong, and it is written before the number, not after. Same for The one ask: show the denominator the percentages are overTwo percentages falling on a day when both counts rose is the one line in this diff a reader will misread as a regression. It is not: The number is in the file, but only implicitly: "coverage": { "models_with_architecture": 345741, "mapped_pct": 94.6, "checked_pct": 63.56, … }or, if the field name is not worth adding, state the fractions as One question, not a blocker
What I checked and did not
|
|
The gap I named here now has a check: #2852. It recomputes both tree-derived counters with Measured on this PR's parent: |
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 7eca689: READY
The committed file reproduces a fresh generator run exactly, and the arithmetic inside it closes. For a data-refresh PR those are the two checks that matter, and both pass.
The one check that decides whether the file is honest
$ python3 tools/census.py --report
439410 models, 345741 with an architecture (3056 architectures): mapped 327067 (94.6%), checked 219757 (63.56%)
$ python3 tools/census.py --pr-body
| mapped | 327067 | 94.6% |
| checked | 219757 | 63.56% |
Identical to registry/census.json in this PR — so the committed file is generator output, not a hand-edited summary. That is the property a daily-data PR has to have, and it is the one a reviewer can check without trusting the workflow: re-run the generator and compare.
The internal arithmetic, closed
raw.total == coverage.models True (439410)
sum(raw.counts) + raw.no_arch == raw.total True (345741 + 93669 = 439410)
len(raw.counts) == architectures_seen True (3056)
mapped_pct = 327067 / 345741 = 94.60 (file says 94.6)
checked_pct = 219757 / 345741 = 63.56 (file says 63.56)
per_backend.hrx.mapped == coverage.mapped True
with_architecture <= models True
Every percentage is the ratio of the two counts beside it, the class count matches the keys it counts, and no_arch is the remainder rather than a second claim. A summary whose numbers cannot be re-derived from its own parts is the failure mode this file has to avoid — #2816/#2830 were the review and the correction for exactly that, one artefact over.
What the diff is, and what it is not
models 438774 -> 439410 (+636) architectures_seen 3050 -> 3056 (+6)
mapped_pct 94.61 -> 94.6 checked_pct 63.57 -> 63.56
raw.pages 439 -> 440 date 2026-11-16 -> 2026-11-17
Twenty-five classes moved up, a few moved down (Qwen2ForCausalLM 47928 → 47901, Apertus1p5 5 → 4, BloomForCausalLM 1194 → 1193), and four appeared that were not there yesterday (AlokSystem, ForgeForCausalLM, KestrelForCausalLM, Qwen3LoopedForCausalLM, InfuseLoop) while two vanished (ForesightLoop, OmniASRForConditionalGeneration).
Both directions are expected and both are worth stating: HF models get deleted or privatised, so a count going down is not a bug in the crawl, and a class disappearing entirely is the census correctly noticing that nothing on HF has it any more. A refresh that only ever went up would be the suspicious one.
The negligible moves are the reassuring ones: mapped_pct down 0.01 while mapped_models rose 197 — i.e. the denominator grew faster than the numerator, which is what 636 new models with 6 new architectures should look like.
One note
architectures_seen rose by 6 and four-to-five new class names appeared — so the daily crawl is finding new model classes, and that is the path by which an !! UNCOVERED alert eventually fires (the #2846 case, and #2816/#2830's simulated misfire). Nothing here is uncovered: registry_build --check-gaps reports "none of the 44 reviewed significant classes is mapped without a reason" (44, not 45 — SimulatedForTestingClass is gone from significant.json as #2830 intended).
The census half of that chain is healthy; the alerting half is what #2847 is fixing — a quiet run currently files an issue with no finding in it.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 7eca689: READY
A data PR, so I ran the tree's own guard for this class instead of eyeballing 150 changed lines — and then read the numbers it only summarises.
The tree's loss check passes
tools/ci/registry_loss_check.py --base origin/main --head HEAD
base origin/main has 44 class(es), head HEAD has 44
14 census counter(s) changed (not a failure; the census is rebuilt …)
no class, counter or test reference lost rc 0
--self-test: OK
44 classes both sides is the row this check exists for — engine#2369 lost models from under a green --check-gaps.
What actually moved, in both directions
coverage.models 438,774 -> 439,410 (+636)
coverage.mapped_models 326,870 -> 327,067 (+197)
coverage.checked_models 219,637 -> 219,757 (+120)
coverage.per_backend.npu.checked 32,633 -> 32,702 (+69)
coverage.architectures_seen 3,050 -> 3,056 (+6)
coverage.checked_pct 63.57 -> 63.56 (-0.01)
coverage.mapped_pct 94.61 -> 94.60 (-0.01)
The two percentage decreases are arithmetic, not loss: the denominator grew by 636 while checked grew by 120, so the share falls by a hundredth. Worth stating in the body, because "coverage went down" is the reading a reviewer will take from a diff that also shows two counts rising, and the honest version is that nothing was lost and the fleet simply saw more models than it could check in a day.
The 15 numeric decreases, and why 11 of them are not ours
All 11 non-percentage decreases are raw.counts.<ArchClass> — Hugging Face's own per-class totals:
raw.counts.Apertus1p5ForConditionalGeneration 5 -> 4
raw.counts.BloomForCausalLM 1194 -> 1193
That is upstream churn (a repo deleted or made private, or a page of the listing shifting), not a row dropped by our build — and registry_loss_check correctly treats raw as a measurement of someone else's state rather than a counter of ours. One sentence saying so would save the next reader the ten minutes I just spent proving it.
What I did not verify
The regeneration itself: tools/census.py reads the HF API, so the numbers' provenance is that run and not something this box can reproduce offline. What the tree can check — no class, counter or reference lost, and the file matches its own schema — passes.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT at 7eca689: READY
The two tree-derived counters are exactly right, recomputed the way tools/census.py does it — this snapshot is not the stale one.
declined = [hf for hf, e in significant["classes"] if e["watch"]=="report"
and not (architectures["architectures"].get(hf) or {}).get("backends")]
len(declined) = 23 snapshot: declined_architectures 23
sum(raw["counts"][hf] for hf in declined) = 465 snapshot: declined_models 465
and the rest of the move is coherent with a day of Hugging Face:
models 438774 -> 439410 (+636)
with_architecture 345489 -> 345741 (+252)
architectures_seen 3050 -> 3056 (+6)
mapped_models 326870 -> 327067 (+197)
checked_models 219637 -> 219757 (+120)
declined_models 465 -> 465 (unchanged: nothing was reviewed today)
mapped_pct 94.6 and checked_pct 63.56 both recompute exactly from the counts, and per_backend.hrx.mapped == mapped_models
This matters because the checker in #2852 says the opposite — its docstring claims "engine#2850 shipped declined_architectures: 23 and declined_models: 465 while the tree it committed alongside them computes 30 and 1014". I reproduced both readings:
report classes: 30
#2852's reading (whole registry): 30
census.py's reading (registry["architectures"]): 23 <- the snapshot
So #2850 is correct and the accusation belongs to #2852 (verdict there). A snapshot PR is mostly a measurement; this one's measurement is verifiable without a network, and it verifies.
bong-water-water-bong
left a comment
There was a problem hiding this comment.
VERDICT: READY
This is a generated artifact update, and the numbers carry the three properties a census needs: a denominator, a split, and the unmapped list by size.
439,410 text-generation models on HF, 345,741 with an architecture (3,056 architectures)
mapped (a backend's code accepts the architecture) 327,067 94.6%
checked (passed serve_e2e on Strix Halo) 219,757 63.56%
backend mapped checked
hrx 94.6% 63.56%
npu 55.14% 9.46%
The mapped-vs-checked split is the honest distinction — "a backend's code accepts the architecture" versus "passed serve_e2e on Strix Halo" — and 94.6 % vs 63.6 % is the gap between "the registry claims it" and "we ran it". Keeping both columns is what stops the registry from being read as a support claim, which is the same rule as #2816's "a registry is a claim, not a bucket."
And the npu row is the useful one: 55 % mapped vs 9.5 % checked. That is a large gap between could and verified, and it is the number a lane choosing NPU work should see first.
"Unmapped architectures with the most models" sorted by count is the right presentation: Step1MoEForCausalLM (2,882), ParlerTTSForConditionalGeneration (1,576), ChessForCausalLM (970), LlavaLlamaForCausalLM (453) — a list ordered by how many models are waiting behind each name, which is the only ordering that makes the next mapping decision obvious.
Two things, both about the artifact rather than the numbers:
- say how the file was generated and from when — a census JSON in
registry/is a snapshot, and the PR body has no date, no command, and no HF API window. This is exactly the dated-claims rule:439,410was true at some moment, and the next person comparing two snapshots needs to know whether a 200-model delta is the ecosystem moving or the query changing; - name the two totals that do not reconcile: 439,410 models vs 345,741 with an architecture — 93,669 models have no architecture at all, so every percentage above is a share of the second number, not the first. One clause saying so stops a reader dividing 327,067 by 439,410 and getting 74 %.
Not blocking: a generated artifact whose header states its own denominator, its mapped/checked split, and the unmapped queue by size is exactly what the registry needs to stay readable.
PR Reviewer Guide 🔍Here are some key observations to aid the review process:
|
439410 text-generation models on HF, 345741 with an architecture (3056 architectures).
Unmapped architectures with the most models:
Step1MoEForCausalLM: 2882ParlerTTSForConditionalGeneration: 1576ChessForCausalLM: 970LlavaLlamaForCausalLM: 453OpenLMForCausalLM: 266DynamicAlibiForCausalLM: 245DynamicForgettingForCausalLM: 240BertLMHeadModel: 212BartForConditionalGeneration: 176MobileLLMForCausalLM: 176