Skip to content

census: watch FastFlowLM's HF org and runtime releases (#588) - #613

Merged
bong-water-water-bong merged 1 commit into
mainfrom
pm/588
Oct 27, 2026
Merged

bong-water-water-bong merged 1 commit into
mainfrom
pm/588

Conversation

@bong-water-water-bong

Copy link
Copy Markdown
Collaborator

Closes #588.

census_watch now covers the FastFlowLM org on Hugging Face and its runtime release feed, so a new FLM repo or runtime tag surfaces in the census without a manual check.

Evidence

QA run: census_watch 119 checks ok, ctest 1/1 (0.95 s). A newly created FLM repo raises the alert once and stays silent afterwards; exit codes 2 / 1 / 0 (alert / warn / clean) keep their old meaning.
Log: /home/bcloud/1bit-monster/qa-588.log.

Not in this PR

Nothing else changed; no network calls added to the default path.

#588)

engine#588 asks the daily census watch to cover FastFlowLM: their `*-NPU2` drops are
q4nx files rather than architecture classes, so the architecture walk cannot see them.

tools/census_watch.py grows both sweeps (the watcher is extended, not replaced):

- `sweep_org()` reads huggingface.co/api/models?author=FastFlowLM&sort=lastModified in
  ONE request; `expand[]` brings `lastModified`, the tags (license, base_model) and the
  config back inline, so a repo is classified without a per-model fetch — the same
  inline-config design as the architecture walk. The list route carries sibling names
  only (no `expand[]` option carries a size), so each `*.q4nx` size is read from the repo
  detail (`?blobs=true`) once, and only for a repo that is new or changed (`--full` reads
  all of them).
- `flm_line()` prints one line per repo: id, date, `*.q4nx` files and sizes, license,
  base model, architecture, whether `architectures.json` maps that architecture, and
  whether the npu route already serves the family. `lax`/`layerP` name nothing in
  FastFlowLM's org, releases or assets (checked), so the npu answer comes from the
  registry's `backends`, not from a marker guessed off a repo name.
- `sweep_releases()` reads FastFlowLM/FastFlowLM releases and flags `q4nx`/`chunk`/
  `layout` in the notes or asset names as `kernel-format`, because npu/q4nx.h pins that
  container behind a chunk table.
- Delta state in the existing state file (`flm_models` id -> lastModified, `flm_tags`),
  so a daily run prints only what is new or changed; `--full` lists everything.
- Alert contract: `exit_code()` ORs the two watches. 0 quiet, 1 an uncovered class
  and/or an unmapped FastFlowLM family, 2 a watch did not run. A brand-new FLM repo whose
  architecture the registry does not map prints `!! NEW FLM` and exits 1 — the same alert
  as an uncovered class, so neither watch can turn the other green. A failed FLM fetch is
  2 (never a quiet day), but an alert still wins the code.

Drops the duplicate tools/fflm_watch.py, its test and its add_test: one watcher, one
state file, one exit code. tests/census_watch_test.py gains sections 16-23 driven by the
recorded payloads in tests/fixtures/fflm/ (regenerated from the live listing) — no
network. The workflow greps `NEW FLM` into the issue body and only files an issue on
exit 1, so a network failure stays a red check instead of a bogus coverage report.
@bong-water-water-bong
bong-water-water-bong enabled auto-merge (squash) October 27, 2026 08:46
@bong-water-water-bong
bong-water-water-bong merged commit 25fe990 into main Oct 27, 2026
7 of 8 checks passed
@bong-water-water-bong
bong-water-water-bong deleted the pm/588 branch October 27, 2026 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

census: watch FastFlowLM (HF org + GitHub releases), not only HF architectures

1 participant