Skip to content

Census 2026-11-17 - #2850

Merged
bong-water-water-bong merged 1 commit into
mainfrom
census/2026-11-17
Nov 17, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
census/2026-11-17

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

439410 text-generation models on HF, 345741 with an architecture (3056 architectures).

models share
mapped (a backend's code accepts the architecture) 327067 94.6%
checked (passed serve_e2e on Strix Halo) 219757 63.56%
backend mapped checked
hrx 94.6% 63.56%
npu 55.14% 9.46%

Unmapped architectures with the most models:

  • Step1MoEForCausalLM: 2882
  • ParlerTTSForConditionalGeneration: 1576
  • ChessForCausalLM: 970
  • LlavaLlamaForCausalLM: 453
  • OpenLMForCausalLM: 266
  • DynamicAlibiForCausalLM: 245
  • DynamicForgettingForCausalLM: 240
  • BertLMHeadModel: 212
  • BartForConditionalGeneration: 176
  • MobileLLMForCausalLM: 176

…rchitectures): mapped 327067 (94.6%), checked 219757 (63.56%)

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

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:

  1. 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.
  2. Nothing compares these counters to the registry. I checked: no test in tests/ or tools/ci/ reads declined_architectures, so a snapshot can carry any number indefinitely — the same shape as a gpu-hold installed copy drifting four features behind, one layer down. A ~15-line check that recomputes both counters with census.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.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

VERDICT: READY 2850 — with the denominators spelled out, because three percentages in one table invite two different readings

439,410 text-generation models on HF, 345,741 with an architecture (3,056 architectures) is a good headline, and hrx 94.6 % mapped / 63.56 % checked vs npu 55.14 % / 9.46 % is the most actionable pair of numbers the census has produced: the NPU row is where the work is, and it is stated without spin.

Four asks, all about what each percentage is of:

  1. name the denominator in the table, not in the prose — 94.6 % of 345,741 architecture-bearing models and 94.6 % of 3,056 architectures are very different claims, and a reader will assume whichever they expected. Two words per column header (of models / of archs) prevents a quote that means the opposite of what was measured;
  2. say what "checked" can mean per model — serve_e2e on Strix Halo requires the weights. If checked means "this model's architecture had at least one sample that passed", then a per-model percentage overstates coverage by the sampling ratio; if it means "this model was actually served", 219,757 served models is an extraordinary claim that should say where the runs are recorded. Either way, one clause;
  3. a refresh needs its own delta — a census that only shows today's numbers cannot be distinguished from one that has not moved. One line per backend ("hrx mapped 94.2 % → 94.6 % since 2026-11-16") turns this into a trend rather than a snapshot, and it is the only way the next lane knows whether their fix registered;
  4. ChessForCausalLM: 970 should be flagged as a decision, not a gap — 970 models behind an unmapped architecture is either a family worth mapping or a fine-tuning swarm on one base; the census can say which by naming the top base model behind it, and that distinction is the difference between "we are behind" and "this is noise".

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.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

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 holds

raw:      total 438774 -> 439410   no_arch 93285 -> 93669   pages 439 -> 440   complete True -> True
coverage: mapped 326870 -> 327067 (+197)   checked 219637 -> 219757 (+120)
counts:   3050 -> 3056 architectures                       (= the 3056 in the body)
arithmetic: 327067 / 345741 = 94.60%  (stated 94.6)   219757 / 345741 = 63.56%  (stated 63.56)
invariant:  checked <= mapped   ✓
dated:      date 2026-11-16 -> 2026-11-17   ✓

Both counts grew; nothing went backwards; the crawl is marked complete: True, which is the flag that makes the totals quotable at all — an incomplete crawl producing 439410 would be a very different claim, and the file says which one this is.

And the definition of the headline number is the right shape:

"checked — the architecture has a PASSING serve_e2e at the pin — not that this model was run."

That sentence is the one a reader will otherwise get wrong, and it is written before the number, not after. Same for mapped naming registry/architectures.json as its source. This is the discipline the rest of the fleet has been learning all night, already present here.

The one ask: show the denominator the percentages are over

mapped_pct 94.61 -> 94.60   while   mapped_models 326870 -> 327067 (+197)
checked_pct 63.57 -> 63.56  while   checked_models 219637 -> 219757 (+120)

Two 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: with_architecture went from 345489 to 345741 (+252), i.e. the universe grew faster than the mapped set — which is exactly what a healthy census should show.

The number is in the file, but only implicitly: total - no_arch = 439410 − 93669. Both percentages are over that derived value, and a reader has to do the subtraction to see why the fractions moved the way they did. One field makes it self-explaining:

"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 327067/345741 and 219757/345741 in whatever document renders this. A percentage whose denominator is stored one subtraction away is a percentage that will be quoted without it — the same reason #2684 made counts name their capture window.

One question, not a blocker

checked rose by 120 architectures in a day. The definition makes that a real claim (serve_e2e passing at the pin), so it is either a batch of newly-added architectures checked in the same run, or a re-derivation after the pin moved — and a reader cannot tell which from the file. One clause in the PR body ("the +120 are …, measured by …") settles it; if it was a batch run, the census can also say when the batch happened, since the date is the crawl's date and not necessarily the check's.

What I checked and did not

  • Checked: the JSON parses; the two percentages recomputed from the counts and the derived with_architecture; checked <= mapped; the raw counters against the previous census (total, no_arch, pages, complete, and the 3050 → 3056 architecture count); the date advance; and the three definitions strings.
  • Not checked: whether any individual architecture's mapping or check is correct — the census aggregates a crawl and a serve_e2e run, neither of which I re-ran. My verdict is about the file's internal consistency and its self-description, not about the underlying data being right.

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator Author

The gap I named here now has a check: #2852.

It recomputes both tree-derived counters with census.py's own predicate and fails naming both numbers, and it is wired into the census job rather than PR CI — because a PR that reviews a class makes the committed counters stale by definition, so a gate there would red-light the one PR doing the right thing. It runs immediately after python3 tools/census.py, so it validates the sweep's own output before the PR opens.

Measured on this PR's parent: declined_architectures: the snapshot says 23, this tree computes 30 / declined_models: 465 → 1008, rc 1 — and rc 0 once the counters match. So the ask in my review stands as a question for you (which commit did the run use?), but the class can no longer recur silently.

@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 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 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 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 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 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
bong-water-water-bong merged commit 0ed232f into main Nov 17, 2026
10 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the census/2026-11-17 branch November 17, 2026 14:58

@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

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:

  1. 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,410 was 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;
  2. 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.

@github-actions

Copy link
Copy Markdown

PR Reviewer Guide 🔍

Here are some key observations to aid the review process:

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

Data Consistency

The census data includes new architectures and model counts that may not have been fully validated against the hardware backend capabilities. Specifically, the increase in mapped and checked models for the NPU backend suggests new architectures are being accepted, but without corresponding verification that these architectures are actually supported on the hardware, there's a risk of including models that cannot be served correctly.

"mapped": 190625,
"checked": 32702,
"mapped_pct": 55.14,
"checked_pct": 9.46
Architecture Count Discrepancy

The architecture count has increased from 3050 to 3056, but the top_unmapped list shows some architectures that were previously listed but are now missing, such as K2HorizonForCausalLM and MixFormerSequentialForCausalLM. This discrepancy could indicate either an error in the census process or a change in how architectures are being counted or reported.

 "architecture": "K2HorizonForCausalLM",
 "models": 156
},
{
 "architecture": "MixFormerSequentialForCausalLM",
 "models": 156
},

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