Skip to content

TensorFold Web: a models catalog with receipt-linked runs, and a supported-models page preview - #3515

Draft
jayleaton wants to merge 4 commits into
ashhart:mainfrom
jayleaton:web/models-catalog-preview
Draft

jayleaton wants to merge 4 commits into
ashhart:mainfrom
jayleaton:web/models-catalog-preview

Conversation

@jayleaton

@jayleaton jayleaton commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

Before: the supported-models numbers lived only in the site's own page, so a new measurement needed a site deploy, and
nothing tied a figure to the receipt it came from. After: web/tensorfold_web/data/models.json lists each model's
support and its measured runs apart. Every number is copied from a linked receipt and labelled as a per-stream rate or
a steady-state total. models.schema.json describes the file, and tests/test_models_catalog.py checks it.
web/models-preview/ is a small Go page that renders the file (local, or the raw GitHub copy with a cache), so you
can try the layout before deciding how it plugs into the site.

The "fastest" card follows the hardware filter: filtered to a class, it picks only from that class's per-stream runs
and names the class ("Fastest single stream on 2× DGX Spark"), or shows no number when the class has none. A total is
never compared with or shown as a single stream. With all hardware shown, it names the class its figure comes from.

Try it

You need Go 1.26 or newer (mise install in web/models-preview sets it up). From a checkout of this branch:

gh pr checkout 3515 -R ashhart/TensorFold # or: git fetch https://github.com/jayleaton/TensorFold web/models-catalog-preview && git checkout FETCH_HEAD
cd web/models-preview
go run ./cmd/preview              # then open http://localhost:3000

That reads web/tensorfold_web/data/models.json from the checkout, and every page load re-reads it, so you can edit
the file and refresh. To read the live copy from GitHub instead, the way the site would:

go run ./cmd/preview -catalog https://raw.githubusercontent.com/jayleaton/TensorFold/web/models-catalog-preview/web/tensorfold_web/data/models.json

(After a merge that URL becomes .../ashhart/TensorFold/main/....) Flags, all with env equivalents: -catalog
(CATALOG, a path or https URL), -ttl (CATALOG_TTL, default 5m, how long a fetched copy is reused) and -addr
(PREVIEW_ADDR, default :3000). make check in web/models-preview runs gofmt, golangci-lint and go test -race.
Nothing else from the repo is needed: no Zig build, no Python, no model.

The format

The format is the shape you defined: schema_version, models[] (id, family, name, checkpoint, support[] with
backend, status and recipe_url) and runs[] (model_id through suite_digest). Unknown values are null.

Additions the page needed, each with its reason:

Field Why
hardware_classes[] (id, label) The filter chips and the hardware picker come from the data, so a new machine class needs no deploy.
support[].hardware Places a supported model that has no run under the right filter. Without it, an unmeasured model can't be filtered.
runs[].id A stable key for the inspect panel, ?run= links and /api/v1/runs/{id}.
runs[].backend A run's status is its backend's support status. GLM, Flash Next and Nemotron are supported on one backend and experimental on another.
runs[].hardware_class hardware stays the receipt's own words; the class is what the filters match.
runs[].checkpoint One model has several checkpoints (MLX 4-bit, NVFP4, EXL3), and revision means nothing without the repository it pins. null means the model's own.
runs[].slots The table's "Concurrency" column shows server slots against client streams. A burst of 8 on 4 slots is a different run from 8 on 8.
runs[].ttft_p95_ms ttft_ms is the median. Under load, the p95 is the number that matters (9.7 s against 1.3 s below).
runs[].rate_window decode (one stream, first to last token), steady-state (only while every stream generates) or end-to-end. An aggregate must be steady-state, so a total always divides by its streams.
runs[].note The one line under the model name (prompt, profile, load).

The page reads the file once per load (or once per TTL from a URL). The fetch is cached with its ETag and kept on
disk. A copy that fails, or breaks a rule, never replaces the last good one, and the page says so.

Numbers

Each run row cites its receipt line. Figures from the design mockup that no receipt supports are left out, not
estimated:

Mockup figure In the file Why
Nemotron 874 tok/s, RTX PRO 6000, 1.0.6 875, per stream, code CHANGELOG 1.0.6 says 875 on code and 607 on prose, with drafts. No receipt says 874.
GLM 199 "aggregate", two M5 Ultras not listed CHANGELOG 1.0.2 gives 199 "in total" for 8 requests, but no receipt says how it was counted. 114.8 per stream (1.0.6) is listed instead.
DeepSeek V4.1 127.3 c8 / 113 c4 "aggregate" 155 / 135 total, steady-state 127.3 and 113.0 span the first token to the last across all streams, including start-up and drain, so they don't divide by the stream count. The published receipt gives steady-state totals of 155 (8 at once) and 135 (4 at once).
DeepSeek V4.1 c4 TTFT 3.94 / 9.7 p95 9.7 s, no rate With 4 slots, a burst of 8 never has all 8 streams live, so no steady-state rate exists. The row keeps the p95 wait.
DeepSeek V4.1 c8 TTFT 1.29 / 1.32 p95 1.3 s The public receipt states 1.3 s. 1.29 / 1.32 are in the unpublished raw JSON only.
Flash Next 75.1 (64K vision) and 74.9 (64K text), one GB10 not listed No receipt has either figure. One GB10 is listed at 80.969 per stream from docs/receipts/flashnext-lanes.
Flash Next 56, "two Sparks split roles" not listed No receipt or recipe documents split-role serving.
"19 each" for DeepSeek V4.1, 8 at once "19.4 tok/s (155 ÷ 8)" in the inspect panel Shown as the division of the steady-state total, not as a measured per-stream rate; the receipt's measured per-stream median is a different figure.
"Documented" rows with a dash the "Supported, not measured yet" group Supported models with no run are kept apart and show no number.

Receipt figures also left out, because the format has no place for them: DeepSeek V4.1 one-stream 61–84 tok/s (a
range across prompts, not one run), D0 Metal 89.3 (the receipt does not say per stream or total), and the Nemotron
GB10 ranges and its 315 total (no stated scope or window).

The DeepSeek rows link to the published receipt in the DeepSeek V4.1 recipe
(jayleaton/deepseek-v41-tensorfold-spark results/c8-slots-20261114), pinned to a commit; that engine is upstream plus
the recipe's patches, as docs/recipes/deepseek-v41-cuda.md describes. Every other receipt link is pinned to e7e2424.

Screenshots

Desktop shots taken from this head (36f4a6f) running with go run ./cmd/preview, reading the branch's
models.json.

Desktop (1440 px), all hardware: the card names the class its figure comes from ("Fastest single stream on NVIDIA
workstation"), then the filter chips, the sorted table, and the "Supported, not measured yet" group.

Desktop, all hardware

Filtered to 2× DGX Spark, with a DeepSeek V4.1 run opened in the inspect panel: the card now shows the fastest
single stream on two Sparks (GLM-5.3-Flash, 56.2 tok/s per stream), not the 875 tok/s workstation run. The DeepSeek
totals (155, 135) stay out of the card because they are totals of several streams.

Filtered to 2x DGX Spark with a run inspected

Phone (390 px), from 225c1c4: each run becomes a card, with no horizontal scroll. Only the card's heading text
has changed since.

Phone width, 390 px

Checks on this head

  • Head commit: 36f4a6f (merges cleanly into current main, 077998f)
  • Lean checker, python3 tools/zig/lean_check.py, on the base and on this head: 337 and 337, 0 new.
    python3 tools/pr_check.py --base upstream/main: 0 errors, 0 warnings.
  • Tests run, with the command and pass, fail and skip counts:
    • cd web && python -m pytest tests/test_models_catalog.py: 6 passed, 0 failed, 0 skipped (with jsonschema
      installed; without it the agreement test skips). ruff check: clean.
    • cd web && python -m pytest: 461 passed, 1 failed, 1 skipped. The failure,
      test_network_startup.py::test_stand_in_reports_build_version_not_an_old_path_binary, also fails on main:
      data/native-version.json says 1.2.4 while build.zig.zon says 1.2.9. This branch touches neither.
    • cd web/models-preview && make check: gofmt clean, golangci-lint v2.15.0 0 issues, go test -race ./... ok
      (services, api), generated code current. TestFastestFollowsTheHardwareFilter (5 cases, including the empty
      state) and TestTwoSparksNeverShowTheWorkstationFigure failed on 225c1c4, where the 2× Spark card showed
      nemotron-lightning-rtx-pro-6000-code, and pass on this head.
  • CI: not run yet (draft not opened).
  • Not run, and why: the Zig suites. This change touches no Zig source, and no inference path.

Receipt

n/a: documentation data, a test and a standalone preview page. Nothing reaches inference, the server or the app.

  • Licence of any new weights or drafter: n/a.

Checklist

  • The title and description match the head commit, including the receipt and the stack.
  • New tests fail before the change, pass after it, and skip cleanly without their dependency.
  • Comments and docstrings are one line. No measurements or history in the source.
  • No personal data, machine names, internal hosts or local paths in the diff or its commits. No AI attribution lines.

jayleaton added a commit to jayleaton/TensorFold that referenced this pull request Nov 16, 2026
@jayleaton

Copy link
Copy Markdown
Contributor Author

Thanks Ash, good catch. Fixed in 36f4a6f: the top card now only picks from the selected hardware and names it. On 2x DGX Spark it reads "Fastest single stream on 2x DGX Spark" and shows GLM-5.3-Flash at 56.2 tok/s per stream (from the glm-fp4local receipt). If a class has no per-stream rate, the card says "No single-stream rate yet" and shows no number. With All hardware it still picks the fastest overall, but now says which hardware the figure is from. It only compares per-stream rates, so the DeepSeek totals never land in the card.

Two related changes: while a filter is on, the "Your hardware" picker moves the filter with it, and clicking a chip updates the link, so the card, the picker and the table always name the same hardware.

Tests: TestFastestFollowsTheHardwareFilter (5 cases, including the empty state) and TestTwoSparksNeverShowTheWorkstationFigure, which runs against the real models.json. Both fail on 225c1c4 and pass now. make check and pr_check are clean, lean_check shows 0 new findings, and the branch still merges cleanly into main.

2x DGX Spark, v2

The screenshots in the description are updated too.

@ashhart

ashhart commented Nov 16, 2026

Copy link
Copy Markdown
Owner

@jayleaton, the hardware-filter correction is present: the card compares per-stream rates within the selected class and shows no number when that class has none. All four commits apply cleanly to main, and no inference code changes.

We will handle the numbered changelog, reconcile the inherited version-metadata failure with the actual CI logs, and settle the preview's landing scope. The evidence in this thread establishes that inherited failure, but does not establish it as the only cause of both red jobs.

  • Synthena

@jayleaton

Copy link
Copy Markdown
Contributor Author

Thanks. For the second red job, the logs for run 43906460899 on head 36f4a6f show both jobs come from the same failure:

  • python (3.11): 1 failed, 460 passed, 2 skipped. The only failure is tests/test_network_startup.py::test_stand_in_reports_build_version_not_an_old_path_binary (assert '1.2.4' == '1.2.9').
  • python (3.12): the job API reports pytest -q as cancelled, not failed. Every earlier step passed, including ruff check .. This is consistent with the matrix's fail-fast cancelling it after 3.11 failed. Its log has no test result.

The same workflow also fails on main at da4e1b7 (2026-11-14). Landing scope and the changelog are yours to call. Happy to drop the preview or the CHANGELOG bullet if that's simpler.

@jayleaton
jayleaton force-pushed the web/models-catalog-preview branch from 36f4a6f to 081b17b Compare November 17, 2026 21:51
@ashhart

ashhart commented Nov 20, 2026

Copy link
Copy Markdown
Owner

Thanks @jayleaton for tracing both red jobs to the same inherited version-metadata failure and for confirming the 3.12 job was cancelled by fail-fast. The hardware-filter card is in place and no inference code changes. Nothing is left for you to change: the only remaining item is a short rebase for the changelog insertion point, which we handle at landing along with the preview's scope and the CI reconciliation. We were unable to run the web tests here.

  • Synthena

data/models.json keeps each model's support by backend apart from its
measured runs. Every number is copied from a linked receipt and says
whether it is a per-stream rate or a steady-state total of N streams;
unknown values are null. models.schema.json describes the format, and
tests/test_models_catalog.py checks the file against it, plants each
kind of error, checks the upstream receipts still carry the numbers,
and checks the models agree with catalog.json.
A Go page (templ and Datastar, layered as in Go Fast Stack) that renders
data/models.json from the repository or its raw GitHub copy, with an
ETag cache, a disk copy and the last good catalog kept when a fetch
fails or breaks a rule. Hardware filters, a sortable table, the fastest
single stream on the picked hardware, run details with the receipt, and
supported models with no run kept apart. One command: go run ./cmd/preview.
The default address names no IPv4 interface. Dates fall back to a dash,
the suite line shows one dash when the receipt names none, and receipt
links show the repository and file instead of the whole address.
With a filter on, the card picks only from runs in that class and names
it, or shows no number when the class has no single-stream rate. With
every hardware shown it names the class its figure comes from. While a
filter is on, the picker moves the filter, so the card and the table
always speak for the same hardware.
@ashhart
ashhart force-pushed the web/models-catalog-preview branch from 081b17b to 786b76f Compare November 20, 2026 05:14

This branch has not been deployed

No deployments
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.

2 participants