Repository navigation
docs: show model speeds on TensorFold hero - #4
Merged
Merged
Conversation
lotar
pushed a commit
to the-shop/TensorFold
that referenced
this pull request
Oct 12, 2026
…released) Credits (ideas only, no code copied): - TensorFold native engine by ashhart (https://github.com/ashhart/TensorFold, Apache-2.0): staggered segments (zig/src/core/segments.zig, c1fb804) and per-chunk state marks (zig/src/flashnext/marks.zig, 63fe28f); re-implemented in Python/MLX as layer-major groups and per-layer checkpoint marks. - oMLX (Apache-2.0): expert-major / wider prefill with offloaded experts (omlx/scheduler.py, moe_expert_offload.py); idea of batching expert loads across prompt rows. - strata-mlx (MIT): planned overlap of the next layer's reads with compute (ISSUES ashhart#4); idea only, motivates the per-call timing log. Builds on TensorFold (https://github.com/ashhart/TensorFold) by ashhart.
swbiggart
pushed a commit
to swbiggart/TensorFold-upstream
that referenced
this pull request
Oct 20, 2026
…igned (ashhart#4) Indexer: pass each row block's vis 16-byte aligned (visBlock: the view when on-grid, else a copyRows into ch.vis_blk). zig build test green (19/19 steps, 180/180 tests) on Zig 0.17.0 x86_64; kit unchanged. (cherry picked from commit b8ae0c7) (cherry picked from commit 977f6f95df25413cdc50da9bc8ffb260d7997f8f)
swbiggart
pushed a commit
to swbiggart/TensorFold-upstream
that referenced
this pull request
Oct 20, 2026
…columns over the nodes Every node of a run holds the same index keys and runs the same prompt chunk, so each one scored every column of the keyed indexer layers (the layers before the candidate source, ratio 2): the prompt's cost that grows with depth. TF_DS_IDX_SPLIT=1 (rows of 32,768 columns or more; a number sets the least width; unset or 0: as served): node g of W scores whole 64-column tiles [c0, c0 + n) of each row with the same launches on the same row blocks, keeps their k largest keys (topk_select_pruned's tile step, then torch's top-k), moves them to the row's columns (new kernel tf_ds_keys_rebase_kernel: the low word less c0, the score word kept, pads as they were), the nodes all-gather them and topk_select's torch steps take the k largest of the W k. Each of a row's k largest keys is among its node's k largest, so the same keys and the same columns out, by construction. idx_split.zig: span, nodeVis, nodeKeys, nodeTop, merge and rebaseKey's host model, with tests (every node's k largest keys, moved and merged, select the row's columns as topk_select over the whole row: 2 and 4 nodes, widths 4,096, 5,000 and 12,345, ties, -0, -inf and pads). nodeTop gives each row block's vis 16-byte aligned as the served loop does since TF ashhart#4. tri_index.zig: topkSelectTorch and topKeysPruned split out of topk_select. prompt.zig splitKeyed (the split's buffers only when set and world > 1); model.zig and the layer gate read the setting on every rank and prompt2d's settings check compares it. tf-dsv41-split-bench (split_bench_main.zig): the served selection and both splits on one GPU over synthetic FP4 keys, every output byte compared. GB10 (node 2, idle; 2026-10-17): every row equal at every size (n 9,113 to 524,288; whole chunks and the short last chunks of 18,226, 133,376 and 262,526 tokens); a keyed layer's 2048-row chunk, served vs each of 4 nodes before the all-gather: 20.2 -> 6.5 ms at 32K columns, 74.2 -> 22.5 at 128K, 139.6 -> 44.2 at 256K, 169.3 -> 53.5 at 300K, 260.8 -> 75.9 at 512K (2 nodes: 1.8-1.9x). TF_SPLIT_BENCH_VIEWS=1 shows the served loop before TF ashhart#4 stopping on the 18,226-token shape with MissingTritonVariant. Host tests 88/88 steps; aarch64 node build ok. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
swbiggart
pushed a commit
to swbiggart/TensorFold-upstream
that referenced
this pull request
Oct 20, 2026
The four-node line that serves DeepSeek-V4.1-Flash-1017 on four GB10 nodes comes in as its own commits: the two-node port's fixes since v0.1.1, the four-node commits rebased onto them, TensorFold 1.0.12 merged under the family, and the fixes since. This merge keeps the branch a fast-forward of v0.1.1 (5940208). Against v0.1.1: - TensorFold 1.0.12 under the family (047441d). - The two-node port's fixes: a launch with no captured Triton variant runs the closest more general one; Pillow's child is started again if it dies; a request the pool cannot hold yet waits for a stream to end; TF_DS_RING_ZERO and TF_DS_REPLAY_FLOOR (both off by default). - Every rank checks its settings against rank 0's at the start; TENSORFOLD_SSE_KEEPALIVE (off by default); the loop guard's novelty signal (two-node recipe issue ashhart#18). - Pull request ashhart#4 (Lucas Peters): the prompt indexer passes each row block's vis 16-byte aligned. Pull request ashhart#18 (lepetitprince716-prog): the loader reads each layer's expert run from the rank cache whole. - TF_DS_IDX_SPLIT (off by default): the keyed indexer layers' long rows split by columns over the nodes. v0.1.1's four-node commits appear again in the merged line, rebased there (28dbfe1, the L2 prefetch settings, to 2591b86, the node inputs and kit tools). The merged tree is that line's, with v0.1.1's README fork note, NOTICE, ATTRIBUTION.md and the four-node paragraph of THIRD_PARTY_NOTICES.md carried over; the next commit brings them up to v0.2.0. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
swbiggart
pushed a commit
to swbiggart/TensorFold-upstream
that referenced
this pull request
Oct 20, 2026
… TensorFold 1.0.12, two contributors The README's fork note names first the weights the branch serves since v0.2.0, bertholomus/DeepSeek-V4.1-Flash-1017-EXL3-4.0bpw (MIT), our EXL3 quant of deepseek-ai/DeepSeek-V4.1-Flash-1017, then the 2.9 bpw weights v0.1.x served. NOTICE lists every upstream file the branch changes against 1.0.12, the kept 1.0.2 kit packer and the two contributions (pull requests ashhart#4 and ashhart#18). ATTRIBUTION.md adds the 1017 checkpoint and our quant, TensorFold 1.0.12, Lucas Peters and lepetitprince716-prog, and @Capicua25x's report behind the loop guard's novelty signal. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
9 tasks done
7 of 8 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add the measured decode figures for all three released model families to the pink and blue TensorFold hero, and display that version at the top of the README. Keep the original clean hero available as a separate asset.
The three rates come from the README's short-answer, thinking-on server table:
The image labels each machine so the figures are not presented as the same-hardware comparison.
Verification