Skip to content

docs: move README sections into docs/, short human README - #3170

Merged
ashhart merged 4 commits into
ashhart:mainfrom
jayleaton:docs/readme-into-docs
Nov 17, 2026
Merged

ashhart merged 4 commits into
ashhart:mainfrom
jayleaton:docs/readme-into-docs

Conversation

@jayleaton

@jayleaton jayleaton commented Nov 13, 2026 •

Copy link
Copy Markdown
Contributor

Proposed README

The proposed README as GitHub renders it at ad1096a95: Help Support TensorFold and X links, logo, description, quick start, docs list

The top of README.md at ad1096a95 as GitHub renders it, down to the Docs list. The Contributors section follows below it, unchanged. Full rendered file.

What this changes

The README was 605 lines of setup, flags, model tables and workflow. It is now a short page: a Help Support TensorFold link and the X link, the logo, a description, the Mac and Linux quick start with a first request, a docs list and the contributors. Everything it held now lives in a doc it links to. Docs only, with no code or build change.

File moves

From To Why
ZIG-PREVIEW.md docs/zig-preview.md Stray top-level doc; 7 inbound links fixed (docs/, recipes/)
RELEASE-NOTES-1.0.0.md docs/release-notes-1.0.0.md Stray top-level doc; CHANGELOG links fixed, its own relative links fixed

Kept at the root, checked with grep: README, LICENSE, NOTICE, SECURITY, CONTRIBUTING, CHANGELOG, THIRD_PARTY_NOTICES, AGENTS.md, and RUNBOOK.md, because zig/build/release_version.zig embeds it by path (release_runbook), and the issue template links blob/main/RUNBOOK.md. docs/WINDOWS.md was already in docs/. Docs next to their own code (app/docs, web/docs, packaging/*.md, tools/**/README.md, zig/**.md) stay where they are.

New and merged docs

  • docs/supported-models.md (new): Pick a model (keeps the qualified-models anchor), GLM-5.3 one machine or two, Models on disk, Model discovery. Table rows are copied verbatim: only relative paths changed (docs/x to x, CHANGELOG.md to ../CHANGELOG.md), plus "API section below" became "API section", which now links to the run guide.
  • docs/run-guide.md (new): platform setup, Send a request, TensorFold Web, parallel requests, Exact decoding, Context compaction, Cortheon mode, Serve flags (full table and notes), Mac app, TensorFold Starlight.
  • docs/living-weights.md: README's Living Weights section merged as "At a glance" (known-issues link, the HF_HUB_CACHE-aware copy commands, document lessons, the 3D view, rollback). 546 lines.
  • CONTRIBUTING.md: README's "Contributing with agents" merged into "Coordinate before editing" as a subsection, with no repeated text. README's "Build and contribute" facts (Metal Toolchain component, xgrammar, one-GPU build, release archive contents, cache receipts, tensorfold-contributor, licence files) went into the matching sections.
  • docs/community-benchmarks.md: README's two-line summary added to its intro.
  • Inbound links repointed: AGENTS.md, RUNBOOK.md, docs/evaluating.md, docs/memory-profiling.md, docs/speed-up-mode.md, docs/recipes/*.md, CHANGELOG.md.

README heading map (before → after)

Before (README) After
TensorFold intro README (kept)
Contributing with agents CONTRIBUTING.md#contributing-with-agents; one-line pointer kept in README
Quick start README (kept); the "checked on Metal and a GB10" note and the Evaluating pointer moved to run-guide#platform-setup
Mac with Apple Silicon README (kept)
Linux with an NVIDIA GPU README (commands, V= line, release URLs); archive requirements to run-guide#platform-setup
Send a request README (curl, API line); help commands, local checkpoints and Windows to run-guide; web launcher to run-guide#tensorfold-web; --parallel to run-guide#parallel-requests
Mac app run-guide#mac-app
TensorFold Starlight (enterprise) run-guide#tensorfold-starlight-enterprise
Living Weights (experimental) living-weights#at-a-glance
Pick a model supported-models#pick-a-model
GLM-5.3: one machine or two? supported-models#glm-53-one-machine-or-two
Exact decoding run-guide#exact-decoding
Models on disk supported-models#models-on-disk
Context compaction run-guide#context-compaction
Cortheon mode run-guide#cortheon-mode
Model discovery supported-models#model-discovery
Serve flags run-guide#serve-flags
Community benchmarks community-benchmarks (intro)
Build and contribute CONTRIBUTING (build and host tests, performance receipts, lean code, licence)
Contributors README (kept, every credit); the memory-profiles line moved to README's Docs list

Why RUNBOOK.md stays at the root

zig/build/release_version.zig embeds RUNBOOK.md by path (root.addAnonymousImport("release_runbook", .{ .root_source_file = b.path("RUNBOOK.md") })), and test-release-version-host checks its V= install lines against build.zig.zon. Moving it would change the Zig build, which is out of scope for a docs-only PR. .github/ISSUE_TEMPLATE/config.yml also links blob/main/RUNBOOK.md.

Conflicting open PRs

Each of these edits README text that now lives elsewhere. Their change applies unchanged in the new file; only the destination moves:

Landed and carried:

  • flint: serve Recursive Flint (40B-A2.5B MoE) natively on Metal #1177 (landed as 313d8226d): its Recursive Flint 40B-A2.5B row is in docs/supported-models.md (Pick a model table), linking recipes/flint.md.
  • README: GLM-5.3-Flash Jammed XSFP4 NZ5 in Pick a model #2981 (landed as a31827f90): its GLM-5.3-Flash Jammed XSFP4 NZ5 row is in docs/supported-models.md, after the Jammed XSFP4 row, with docs/recipes/... becoming recipes/....
  • Releases 1.2.8 (09a9eb331) and 1.2.9 (2ba55ec7d): README quick-start V=1.2.9; RUNBOOK's two V= lines came from main. No install example in docs/run-guide.md names a version.
  • 582d67107 and 77c734f1d (Linux host CI): their "Native Linux no-GPU CI" paragraph is kept as landed in CONTRIBUTING.md, after the CUDA host-test subset.
  • server: serve --config FILE.toml reads flags from a file #2885 (landed as be1f57a3e, row reworded in dd1c8b2b8): the --config FILE.toml row is in docs/run-guide.md (Serve flags), after --profile stable, linking serve-config.md. The new docs/serve-config.md link to ../README.md#serve-flags now goes to run-guide.md#serve-flags.
  • Flint on Metal drafts with its published DFlash2 head (--drafter), exact #3511 (landed as 901291ad1, Flint DFlash2 on Metal): the Flint row in docs/supported-models.md now ends "Optional incoai/Flint-DFlash2 through --drafter on M5, up to four streams." in place of "no draft head".
  • Linux PSI (d1fd0d392, 1b8deb7bf, 46ccebc7f): RUNBOOK-only; taken as landed. RUNBOOK differs from main only by this PR's three link repoints.
  • serve: pair a checkpoint's known drafter when the local cache holds it #3204 (landed as 1f83b157d, known drafter pairing): the Qwen3.8-27B row in docs/supported-models.md now reads "Serve drafts with the pulled DFlash2 by itself; --drafter none serves without it.", and the --drafter DRAFTER row in docs/run-guide.md (Serve flags) carries the new none value and the cache-only DFlash2 pairing.
  • 36e923889 and 5632a24dc (Nemotron native HIP section): docs/recipes/nemotron-3.5.md is main's text, with its qualified-models link repointed from ../../README.md#qualified-models to ../supported-models.md#qualified-models. No README change landed on main between 077998f7d and 9489c3817.
  • cli: tensorfold rm removes a cached checkpoint, or one snapshot with the refs naming it and the blobs only it links to #3525 (landed as 16aef2e40, tensorfold rm): its tensorfold rm example and the paragraph on removal, locking and what stays are in docs/supported-models.md (Models on disk), after tensorfold info and the tensorfold serve REPO line.

#728, #1038, #1631, #1632, #1722, #1850 and #1924 also show as conflicts in atc overlap, but git merge-tree shows each already conflicts with main without this change, and this change adds no new conflicting file for any of them.

Checks on this head

  • Head commit: ed6c092fee3c67055232f97b6769bcd406ad2dcd
  • Lean checker on base and head: 221 and 221, 0 new (tools/zig/lean_new.py, same checker on both trees).
  • Tests run:
    • python3 tools/pr_check.py --base c39568351 --pr 3170: 0 errors, 0 warnings.
    • git diff --check: clean.
    • node --test scripts/linux-port-docs.test.mjs scripts/package-config.test.mjs (in app/), the app tests that read README.md (app.yml runs on README changes): 3 pass, 0 fail.
    • Release-version check (test-release-version-host logic: README and RUNBOOK V= lines equal build.zig.zon): 1.2.9 in build.zig.zon and all three V= lines (README 1, RUNBOOK 2), recomputed with a script rather than run as a Zig test.
    • Relative link and #anchor check over every tracked .md file: base has 1 broken anchor (CHANGELOG to RUNBOOK.md#prompt-prefill-share-and-budget, inherited); head adds none.
    • Every README sentence from base checked against the new docs: each one is present, or reworded and listed in the map above.
  • CI: running on this head; any failure will be classified here once it finishes.
  • Not run, and why: zig build test and zig fmt (no Zig files change; the one Zig test that reads these docs was recomputed above).

Receipt

n/a: documentation only, so it cannot reach inference.

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. (n/a: no tests added)
  • 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 13, 2026
jayleaton added a commit to jayleaton/TensorFold that referenced this pull request Nov 13, 2026
@jayleaton
jayleaton marked this pull request as ready for review November 13, 2026 12:03
@ashhart

ashhart commented Nov 13, 2026

Copy link
Copy Markdown
Owner

Thanks, @jayleaton. This reads much better as a short page.

I pushed one commit on top of yours (47a766d): the support link now goes to https://ko-fi.com/ashxhart, which is where Ash wants support to go. Your two commits are unchanged. It's in the landing queue now.

  • Synthena (Ash's Agent)

@jayleaton

Copy link
Copy Markdown
Contributor Author

The zig failure on 1818e1e88 (job) looks like a flake. The only failing test is lane_host_strand_test "lane strand: 200 cancels at once, mid-prompt and mid-decode, whole and stepped prompts" (37/38; 14008/14087 overall). This PR changes only Markdown, and main at the same base 4ddc28cfc passed this workflow (run). I don't have rights to re-run the job, so could you re-run it?

@ashhart

ashhart commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Thanks @jayleaton, and thanks for writing up the failure so clearly. We agree it isn't this PR.

The failing test, "lane strand: 200 cancels at once, mid-prompt and mid-decode, whole and stepped prompts", is in zig/src/core/lane_host_strand_test.zig. Its step (test-lane-strand-host, zig/build/lane_halt_host.zig:10-11) builds from Zig sources only, and nothing it imports reads a Markdown file. In the whole build, only zig/build/release_version.zig:6-8 embeds Markdown (CHANGELOG, README and RUNBOOK), and that goes into test-release-version-host, which passes on this branch. Every file this PR changes is .md, so the strand test's binary is the same with or without it. The test does wait on the wall clock: up to 5 s for each cancel (:181-187, :437-441) and up to 2 s for the counts to settle (:358-366). That can run out on a busy runner and pass on a quiet one, which fits a flake. On this branch the step passes, and the test binary passed 10 runs out of 10 (38 of 38 tests each time).

The rest checks out too. The series applies cleanly on our main. It touches only Markdown. The relative links in the changed files resolve, including supported-models.md#qualified-models through its explicit anchor, and the one broken anchor left (CHANGELOG.md to RUNBOOK.md#prompt-prefill-share-and-budget) comes from main. Keeping RUNBOOK.md at the root for the build's embed was the right call.

It's queued to land and lands after the 1.2.9 cut. Nothing more is needed from you.

  • Synthena (Ash's Agent)

jayleaton and others added 4 commits November 17, 2026 21:41
Move ZIG-PREVIEW.md and RELEASE-NOTES-1.0.0.md into docs/ and fix every
inbound link. RUNBOOK.md stays at the root: zig/build/release_version.zig
embeds it by path.

Split the long README into docs/supported-models.md, docs/run-guide.md and
the existing docs/living-weights.md, and merge the agent workflow and build
notes into CONTRIBUTING.md. The README keeps the quick start, a docs list
and the contributors.
@ashhart
ashhart force-pushed the docs/readme-into-docs branch from ed6c092 to f90c5e9 Compare November 17, 2026 21:42
@ashhart
ashhart merged commit 6d2f8d8 into ashhart:main Nov 17, 2026
2 of 15 checks passed
@ashhart

ashhart commented Nov 17, 2026

Copy link
Copy Markdown
Owner

Thank you @jayleaton. This is merged into main with your commits under your own name, so you're listed as a TensorFold contributor. It ships in the next release, credited to you in the changelog and the release notes.

@ashhart

ashhart commented Nov 18, 2026

Copy link
Copy Markdown
Owner

Thanks @jayleaton! This is in TensorFold 1.2.10, out now: https://github.com/ashhart/TensorFold/releases/tag/v1.2.10

  • Synthena

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