Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
495 commits
Select commit Hold shift + click to select a range
da58fab
ling: batch 4 prompt rows per Q4_K_8x4 weight block pass in fast mode
ThinkOffApp Nov 20, 2026
6540ec5
ling: batch 4 prompt rows per Q6_K_8x4 weight block pass in fast mode
ThinkOffApp Nov 20, 2026
f591e29
ling: group routed experts across prompt chunk rows in fast mode
ThinkOffApp Nov 20, 2026
683af48
ling: guard madvise in releaseSourcePages for Windows builds
ThinkOffApp Nov 20, 2026
c0934b6
ling: skip discarded non-final lm_head rows during prompt prefill
ThinkOffApp Nov 20, 2026
d2d042c
Replace Ling interleaved kernels with native eight-row GGUF block tiles
ThinkOffApp Nov 21, 2026
9d21d37
ling: validate repack cache source SHA, entry table, and payload SHA …
ThinkOffApp Nov 21, 2026
6ef0c86
ling: add direct GGUF metadata, KV-head, clamp, EOS, and tensor-plan …
ThinkOffApp Nov 21, 2026
cf5ea1b
Ling CPU recipe: fast-mode accuracy, fast-core affinity, v5 cache name
ThinkOffApp Nov 21, 2026
cfd3f85
Share GGUF block decoding across Ling prompt rows
ThinkOffApp Nov 21, 2026
ba01540
Ling CPU recipe: cache check cost, measured exact and fast figures, t…
ThinkOffApp Nov 21, 2026
b28d9e0
Ling CPU recipe: exact figures from the final-head receipt
ThinkOffApp Nov 21, 2026
32ccfa2
Ling CPU: remove --fast mode
ThinkOffApp Nov 22, 2026
d86cf92
Ling CPU recipe: exact path only
ThinkOffApp Nov 22, 2026
c5df6a2
Ling CPU recipe: describe the thread pinning the pool does
ThinkOffApp Nov 22, 2026
a96e998
Ling CPU recipe: exact figures from the round 3 board receipt
ThinkOffApp Nov 22, 2026
802053d
changelog: #4266 under Unreleased
ashhart Nov 24, 2026
0a64f77
Revert "uocr: cancel-test fakes build Model and Decoder without std.m…
plotarmordev Nov 24, 2026
d0fbf6b
glm cuda: retain completed shared-cache prefixes on prefill cancellation
MaverickKB Nov 23, 2026
3993128
changelog: #4694 under Unreleased
ashhart Nov 24, 2026
847baad
Merge remote-tracking branch 'upstream/main' into feat/249-merge-upst…
plotarmordev Nov 24, 2026
e6b739c
Merge remote-tracking branch 'upstream/main' into feat/249-merge-upst…
plotarmordev Nov 24, 2026
50d823e
Desktop: restore the two engine types the Discover revision change dr…
ashhart Nov 24, 2026
3bca5ea
changelog: #4829 under Unreleased
ashhart Nov 24, 2026
b75d166
flashnext cuda: the MTP rows' row best runs over 32 blocks a row, fn_…
jayleaton Nov 21, 2026
d2cab46
flashnext cuda: the MTP head's bytes count the split row best's scratch
jayleaton Nov 23, 2026
025f0f4
changelog: #4632's line from lines/4632.txt in place of its own
ashhart Nov 24, 2026
f390857
changelog: #4632's line from lines/4632.txt in place of its own
ashhart Nov 24, 2026
e19ce95
idol: tf-idol-generate runs one picture end to end on Metal, both enc…
jayleaton Oct 31, 2026
d9015cd
idol: tf-idol-generate refuses a picture tensor in the other layout, …
jayleaton Nov 20, 2026
e184b0b
docs: Idol's end-to-end generation moves to idol-generate.md, keeping…
jayleaton Nov 20, 2026
cce47f7
docs: kernel-contract.md's Idol paragraph condensed, keeping the file…
jayleaton Nov 20, 2026
b068a7b
idol: pin torch's seed-42 starting noise in a host test, as review asks
jayleaton Nov 23, 2026
1092163
changelog: #1780 under Unreleased
ashhart Nov 24, 2026
358f2bb
idol: free finalized coordinates on descent failure
ashhart Nov 21, 2026
28a2438
idol: balance root and trace allocation failures
ashhart Nov 21, 2026
4ec627a
changelog: #4304 under Unreleased
ashhart Nov 24, 2026
6a90103
changelog: #4304 under Unreleased
ashhart Nov 24, 2026
6efef02
qwen27 metal: opt-in MTP absorb fusion and GPU draft pick
ashhart Nov 22, 2026
c8fb7b5
tests: TF_Q27_MTP_GPU_PICK's valid forms are in the environment table
ashhart Nov 22, 2026
3cde06a
changelog: #4570 under Unreleased
ashhart Nov 24, 2026
b77c2d8
qwen27: Qwen3.6-35B-A3B on #1125's routed path, 16 query heads over 2…
cshintov Nov 6, 2026
bb1208d
contract: the routed block's kernels at Qwen3.6-35B-A3B's served widt…
cshintov Nov 6, 2026
dedac97
docs: the kernel contract's qwen27 attention and the 35B-A3B's routed…
cshintov Nov 6, 2026
8411558
qwen27, contract: comments on one line within 120 columns (lean)
cshintov Nov 6, 2026
a12f955
qwen27: staged references on Metal (tf-qwen27-run --stages) against a…
cshintov Nov 6, 2026
754fc35
qwen27: staged references take a headless prompt chunk (0 logit rows)…
cshintov Nov 6, 2026
b02c668
contract: qwen27 attention's decode and prompt rows at the 35B-A3B's …
cshintov Nov 6, 2026
7fea7db
core: export qwen35_stages for the qwen27 stage recorder
cshintov Nov 14, 2026
b6b59e2
Qwen3.5 host tables: the 35B-A3B's row; stage_ref test skips without mlx
cshintov Nov 16, 2026
f055d4a
qwen35 rules: the zero head count test counts the 35B-A3B's Metal 27B…
cshintov Nov 20, 2026
ef41a36
qwen27: the stage recorder is built into tf-qwen27-run only; --vision…
cshintov Nov 22, 2026
7523423
qwen27: stage_planes.begin starts a round's planes and marks the last…
cshintov Nov 22, 2026
8466dfa
changelog: #3239 under Unreleased
ashhart Nov 24, 2026
7d3e737
refactor(contract): share Inkling 2's attention reference from core
AbrahamCete Nov 22, 2026
7997cf5
feat(hip): Inkling 2 attention kernels under the kernel contract
AbrahamCete Nov 22, 2026
7def053
test(contract): pin the shared Inkling 2 reference on every branch
AbrahamCete Nov 22, 2026
8c8c330
test(hip): Inkling 2 global rows below the extent and NaN sink and gate
AbrahamCete Nov 22, 2026
5bad7f0
fix(hip): refuse an Inkling 2 ring the attention tiles cannot read
AbrahamCete Nov 22, 2026
0cc8040
test(hip): pin Inkling 2's bf16 P with exact sliding and fold rows
AbrahamCete Nov 22, 2026
c5717b6
fix(hip): Inkling 2 attend takes its stream count and partial room as…
AbrahamCete Nov 22, 2026
ef4dd75
changelog: #4633 under Unreleased
ashhart Nov 24, 2026
8ebcb82
glm metal: size the rows-store staging permit from the deepest state …
devopsfortunato Nov 20, 2026
a061e05
changelog: #4216 under Unreleased
ashhart Nov 24, 2026
d0e3929
changelog: #4216 under Unreleased
ashhart Nov 24, 2026
c5ebf04
drama3 compact GB10 check: codec-chunk PCM reported, not gated; every…
plotarmordev Nov 21, 2026
36b7e54
drama3 compact GB10 check: replay may stop at the chunk 4 or 16 PCM c…
plotarmordev Nov 21, 2026
203567f
drama3 compact GB10 check: replay goes through drama3_replay_gate.sh
plotarmordev Nov 21, 2026
592e3db
drama3 compact GB10 check: each PCM measurement is its own command, s…
plotarmordev Nov 21, 2026
dfb2e9b
door: card 166 GB10 receipt on PR head b2dbff0a7, main's script vs th…
plotarmordev Nov 21, 2026
3901096
Revert "door: card 166 GB10 receipt on PR head b2dbff0a7, main's scri…
plotarmordev Nov 22, 2026
9ade596
drama3 replay: a codec chunk 4 or 16 PCM difference waits for the for…
plotarmordev Nov 22, 2026
ea11d85
drama3 replay gate: only the PCM-only outcome line passes, never the …
plotarmordev Nov 22, 2026
72b0364
drama3 replay gate: the PCM-only line must carry both numbers in repl…
plotarmordev Nov 22, 2026
0eae64d
drama3 replay: bound every codec PCM difference before gate acceptance
plotarmordev Nov 23, 2026
bd8def9
drama3 gate: keep source comment single-line
plotarmordev Nov 23, 2026
82ec0c1
changelog: #4463 under Unreleased
ashhart Nov 24, 2026
69bd368
qwen35 cuda: opt-in grouped same-input projections keeping each proje…
ashhart Nov 22, 2026
cabaf4b
cuda tests: group-proj, each grouped projection's bytes against its o…
ashhart Nov 22, 2026
609dc59
rebase: retain main environment test coverage
ashhart Nov 23, 2026
e4f5074
rebase: repair serving pins and mixed GDN grouping
ashhart Nov 23, 2026
5dc043d
changelog: #4515 under Unreleased
ashhart Nov 24, 2026
59c0ffc
Merge remote-tracking branch 'upstream/main' into feat/249-merge-upst…
plotarmordev Nov 24, 2026
904ed74
metal: split-plane 5-bit and 6-bit register-direct lane kernels
gilby Nov 21, 2026
aafebc9
changelog: #4419 under Unreleased
ashhart Nov 24, 2026
4b77f32
qwen27: the family test root imports bf16_topk, which upstream's mtp_…
plotarmordev Nov 24, 2026
fac987d
info: the refused-shape test uses 20 heads over 2, since upstream b77…
plotarmordev Nov 24, 2026
860ce11
test flashnext: reproduce refused SSD pool budgets without devices
ashhart Nov 23, 2026
347b565
flashnext metal: fit a refused SSD pool maximum inside the load ceiling
ashhart Nov 23, 2026
3078d84
test(flashnext): expose host admission and reproduce SSD review failures
ashhart Nov 23, 2026
84169f3
fix(flashnext): validate admission before selecting a mutable SSD pool
ashhart Nov 23, 2026
2ef5eab
fix(ci): include SSD budget and review checks in host coverage
ashhart Nov 23, 2026
2bab66d
fix(flashnext): cap automatic cache by allocated SSD pool headroom
ashhart Nov 23, 2026
5807f02
fix(flashnext): reprice placement overhead after fitting the pool
ashhart Nov 23, 2026
5b84f1f
fix(flashnext): retain rotary headroom when fitting refused SSD pools
ashhart Nov 23, 2026
46e6d4e
fix(fsr): account forecast jobs within the existing Flash Next allowance
ashhart Nov 23, 2026
24cc933
fix(fsr): free a slab when held-buffer registration fails
ashhart Nov 23, 2026
3e62851
fix(flashnext): keep existing automatic-cache receipts when their gra…
ashhart Nov 23, 2026
81829ac
style(flashnext): format SSD review controls and budget guards
ashhart Nov 23, 2026
7333374
fix(fsr): itemize forecast tickets without changing legacy plan bytes
ashhart Nov 23, 2026
7877797
test(cache): retain an automatic maximum without a footprint reading
ashhart Nov 23, 2026
ca028b7
fix(cache): retain automatic maximum when footprint readings disappear
ashhart Nov 23, 2026
d402399
changelog: Flash Next on Metal: fit an oversized SSD expert pool to t…
ashhart Nov 23, 2026
5529de1
test(flashnext): guard selected loader budgets and every load entry
ashhart Nov 24, 2026
ea37382
changelog: #4811's line from lines/4811.txt in place of its own
ashhart Nov 24, 2026
2f59589
inkling2: accept Mini host config and checkpoint names
ashhart Nov 21, 2026
da3516e
inkling2: model the Mini loop on the host
ashhart Nov 21, 2026
5f4b3bf
inkling2: run checkpoint-packed experts on CUDA
ashhart Nov 21, 2026
ab5df3e
inkling2: run Mini loop math on CUDA
ashhart Nov 21, 2026
c1abe27
inkling2: serve Mini text on one CUDA rank
ashhart Nov 21, 2026
ba1733b
lanes: make full lone-window commits opt-in
ashhart Nov 21, 2026
178a1d3
inkling2: add Mini Metal kernels and contracts
ashhart Nov 21, 2026
0561282
inkling2: serve Mini natively on Metal
ashhart Nov 21, 2026
8e97f05
inkling2: document Mini fixture and reference provenance
ashhart Nov 21, 2026
db36991
inkling2: normalize before CUDA query reductions
ashhart Nov 21, 2026
4377650
inkling2: control packed-expert contracts by phase
ashhart Nov 21, 2026
812e059
inkling2: fix native Metal Mini admission and serving
ashhart Nov 21, 2026
7ce15f1
inkling2: prove Mini CUDA serving equivalence
ashhart Nov 21, 2026
a49305b
inkling2: compile Mini CUDA tests against current lane types
ashhart Nov 21, 2026
c990086
inkling2: link Metal host tests on macOS
ashhart Nov 21, 2026
4909af1
inkling2: fix nonfinite prompt expert launches
ashhart Nov 21, 2026
fb021f1
inkling2: refresh Mini limits and quiet shape refusal
ashhart Nov 21, 2026
ec277c1
inkling2: complete native Metal admission and serving tests
ashhart Nov 21, 2026
8060651
inkling2: adapt Metal checkpoint modules to main
ashhart Nov 23, 2026
42161cd
inkling2 cuda: load the Mini checkpoint (one precision a layer, one a…
jschmied Nov 22, 2026
bd57586
inkling2 cuda: pass the attention gate and sink to tf_ink2_merge raw
jschmied Nov 22, 2026
a4f40f4
inkling2 cuda: write cross-pass messages plane-major, as the gates re…
jschmied Nov 22, 2026
6ef5833
inkling2 cuda: a cache slot per served stream
jschmied Nov 22, 2026
c79a58f
inkling2 cuda: copy prompt-cache states per key head
jschmied Nov 22, 2026
20ebd5c
inkling2 cuda: stream_bytes counts a stream's rewind sites, last-logi…
jschmied Nov 23, 2026
1ba8d16
inkling2 metal: norm binds its arguments and its output where sp_norm…
sethforprivacy Nov 21, 2026
3697114
inkling2 metal: a later stream of a shared forward reads its relative…
sethforprivacy Nov 22, 2026
7a07321
inkling2 metal: a snapshot copies each key-value head's live rows, so…
sethforprivacy Nov 22, 2026
25dc1ac
inkling2 metal: the real-checkpoint serving tests draw the first toke…
sethforprivacy Nov 22, 2026
7a5c0da
inkling2 metal: a window's grammar masks step by the padded vocabular…
sethforprivacy Nov 22, 2026
a8026de
inkling2: record Mini's CUDA kernel usage on every SM
ashhart Nov 23, 2026
1a33743
server inkling2: split native blocks by token identity
ashhart Nov 23, 2026
86fbb0f
server inkling2: special tokens never payload, sampling end closes no…
ashhart Nov 23, 2026
38bb1c2
server inkling2: serve Mini's split, raw stops, role boundaries and w…
ashhart Nov 23, 2026
1a17e16
server inkling2: stops in exact bytes, cut bare calls, whole replacem…
ashhart Nov 24, 2026
4286fe6
server inkling2: one stop coordinate, the tokenizer's lossy decode, b…
ashhart Nov 24, 2026
a083fe2
server inkling2: skip only owned continuation bytes; bare calls as th…
ashhart Nov 24, 2026
6ec54dd
notices: name Inkling 2 Mini's release tokenizer and template fixtures
ashhart Nov 24, 2026
5b2480f
server inkling2: a grammar's end of message ends the turn; calls at t…
ashhart Nov 24, 2026
b4aea80
server inkling2: the end-of-message stop belongs to the required call…
ashhart Nov 24, 2026
09f428e
server inkling2: a required reply ends at its end of message only whe…
ashhart Nov 24, 2026
f94e593
test(inkling2): reproduce request EOS cutting an open second call
ashhart Nov 24, 2026
83298c4
test(inkling2): cover every stop stride before asserting the result
ashhart Nov 24, 2026
ee93e7f
fix(inkling2): stop required replies only at complete calls
ashhart Nov 24, 2026
4dcaca4
lanes: test the lone-keep opt-in against main's rule, not against zer…
ashhart Nov 24, 2026
c4b9248
qwen27 tools: one engine_api module, and core's checkpoint_file_cache
ashhart Nov 24, 2026
d13e677
inkling2: Metal host test on macOS only; Inkling's CUDA prompt cache …
ashhart Nov 24, 2026
5e39051
changelog: #4387 under Unreleased
ashhart Nov 24, 2026
9adc6e0
qmmf: opt-in half-column tiles for FP4, FP8 and FP8G on many-SM GPUs
ashhart Nov 22, 2026
504df0a
cuda tests: lane-half-n, FP4, FP8 and FP8G half tiles against the 64-…
ashhart Nov 22, 2026
ecff17d
cuda tests: pin opt-in half-tile serving identities
ashhart Nov 23, 2026
834237b
changelog: #4533 under Unreleased
ashhart Nov 24, 2026
b209e15
flashnext: opt into short-row CUDA TPR chains
ashhart Nov 22, 2026
0e50ca5
flashnext: repair GDN fixture pins
ashhart Nov 23, 2026
f9ea5e0
tests: correct Flash Next environment count after rebase
ashhart Nov 24, 2026
31726c0
changelog: #4484 under Unreleased
ashhart Nov 24, 2026
2cd2855
changelog: #4484 under Unreleased
ashhart Nov 24, 2026
a9a9676
refuse leftover tensors in gemma4 assistant/dflash and hy4_flash loads
ashhart Nov 22, 2026
52bd1e8
mark direct Hy4 Engram tables used for checkpoint audit
ashhart Nov 23, 2026
fe6ff39
test Hy4 CUDA auxiliary checkpoint ownership
ashhart Nov 24, 2026
f98281e
own Hy4 CUDA auxiliary checkpoint tensors
ashhart Nov 24, 2026
9fa8863
changelog: #4566 under Unreleased
ashhart Nov 24, 2026
bf9dec9
tools/exact_restarts.py: bit-identical restarts, parallel levels and …
ashhart Nov 22, 2026
25f6e21
tools: check every busy peer; report unrunnable attached scenarios as…
ashhart Nov 22, 2026
67cc425
tools: plant serial tree resume receipt divergences
ashhart Nov 23, 2026
9c3c676
tools: issue public cross-backend exact receipts
ashhart Nov 23, 2026
11318cb
tools: receipt missing launched binary failures
ashhart Nov 23, 2026
b887339
tools: retain text completion replies on follow-up
ashhart Nov 23, 2026
42bbc8e
changelog: #4574 under Unreleased
ashhart Nov 24, 2026
c902620
Merge remote-tracking branch 'upstream/main' into feat/249-merge-upst…
plotarmordev Nov 24, 2026
96cb2cb
web tests: sort test_server_access imports so ruff passes on main
ashhart Nov 24, 2026
8897946
minimax_m3 metal: shared rounds of 12-32 rows are timed at load, not …
ashhart Nov 13, 2026
a7abb38
minimax_m3 metal: time real 16-row verification windows
ashhart Nov 24, 2026
c4a5077
changelog: #3120 under Unreleased
ashhart Nov 24, 2026
1489c48
changelog: #3120 under Unreleased
ashhart Nov 24, 2026
7b94ea1
opt in to aged background admission
ashhart Nov 24, 2026
bb8b1cd
lane host: an aged background passes the foreground head only if it c…
ashhart Nov 24, 2026
ef0ecb9
changelog: #4833 under Unreleased
ashhart Nov 24, 2026
69f0599
Merge remote-tracking branch 'upstream/main' into feat/249-merge-upst…
plotarmordev Nov 24, 2026
5edd4d4
changelog: number twenty Unreleased lines and drop an override #4216 …
ashhart Nov 24, 2026
af0ad62
drama3: guide lifecycle shared by Metal and CUDA; Metal backboneChunk…
plotarmordev Nov 11, 2026
a2dab11
drama3 CUDA: semantic CFG guide over shared weights (d3_cfg_mix, back…
plotarmordev Nov 11, 2026
e4f8244
drama3 CUDA host: guide lifecycle, admission counts guide state, CFG …
plotarmordev Nov 11, 2026
67c9e27
drama3: GB10 guidance check (paired vs separate PCM, gamma 1 identity…
plotarmordev Nov 11, 2026
df57ca6
drama3 guidance: guide prefills before the first frame; CFG mix arith…
plotarmordev Nov 11, 2026
0a6120a
drama3 guidance: lane drain waits the guide stream; GB10 check needs …
plotarmordev Nov 11, 2026
f4d1bfb
drama host: conditional prompt round in its own module
plotarmordev Nov 11, 2026
1ef6aab
drama3 CUDA: reference entry's live buffers gathered in reference_rows
plotarmordev Nov 11, 2026
6479db3
contract: drama3 registrations from contract_drama3's Set
plotarmordev Nov 11, 2026
1ac9b75
drama3 guidance: single-line comments
plotarmordev Nov 11, 2026
af58ab6
contract: d3_cfg_mix's prepare sizes from n alone, as the gates probe…
plotarmordev Nov 20, 2026
f9ad8d8
contract: d3_cfg_mix's sm_121 nvcc 13.0 receipt from TOP (12 register…
plotarmordev Nov 20, 2026
06c3053
drama3-cuda: d3_cfg_mix's GB10 kernel-contract job
plotarmordev Nov 20, 2026
f281f78
contract: drama3's two doc comments within the lean rule's 120 columns
plotarmordev Nov 21, 2026
8bb861f
drama3: a planted gamma - 1 d3_cfg_mix control, solo lane controls in…
plotarmordev Nov 21, 2026
48dcea0
contract: the compact router's note beside its pending record
ashhart Nov 21, 2026
700c049
drama3: the guidance check takes and records the checkpoint's pinned …
plotarmordev Nov 21, 2026
feaf982
changelog: #4153 under Unreleased
ashhart Nov 24, 2026
e0a819c
changelog: #4153 under Unreleased
ashhart Nov 24, 2026
25e19db
lanes: interleave Metal window timing and retime high outliers
ashhart Nov 23, 2026
28667d6
lanes: heal saved Metal window prices with bounded rotating probes
ashhart Nov 23, 2026
6d4a12f
metal: recheck cached planner widths and share robust timing across f…
ashhart Nov 23, 2026
b1f15a8
metal: finish bounded probe setup and format timing policies
ashhart Nov 23, 2026
e8141cd
test(costs): expose setup budget, real tile edges and inconsistent pa…
ashhart Nov 23, 2026
c26ade5
fix(costs): plan useful warm probes before setup and preserve table o…
ashhart Nov 23, 2026
ba0b61f
fix(metal): admit warm scratch work after selection and charge setup …
ashhart Nov 23, 2026
77fb6ee
style(costs): format prepared timing adapters
ashhart Nov 23, 2026
8d9000e
test(metal): exercise family timing controllers and tight-context wor…
ashhart Nov 23, 2026
8965b5c
test(metal): root family policy imports at zig and count actual prefi…
ashhart Nov 23, 2026
88cc19d
fix(costs): alternate sweep direction to bound tight-context refills;…
ashhart Nov 23, 2026
cc4deb2
fix(costs): reserve rotating probe budget before ordering edges; chec…
ashhart Nov 23, 2026
66a3546
style(costs): format final timing checks and adapters
ashhart Nov 23, 2026
9627de3
fix(costs): refuse a fresh table with no valid timing sample
ashhart Nov 23, 2026
5ab5a7f
style(costs): format invalid timing refusal test
ashhart Nov 23, 2026
cffa172
fix(glm): agree on invalid timing tables before either rank leaves ca…
ashhart Nov 23, 2026
3c74a2a
Fix Metal warm cost probe rotation and fallback
ashhart Nov 23, 2026
6a2e680
Recover Qwen27 startup probes before retaining cached costs
ashhart Nov 23, 2026
4dff3eb
fix(qwen27): keep cold window timing serial on stateful scratch
ashhart Nov 23, 2026
b50c4b9
fix(glm): keep paired cold window timing serial on stateful scratch
ashhart Nov 24, 2026
d9e81bd
changelog: #4755 under Unreleased
ashhart Nov 24, 2026
9424012
Write Qwen output in bounded chunks
joshuaswarren Nov 21, 2026
7acdff0
Keep writer comments within lean rules
joshuaswarren Nov 21, 2026
d35773a
Chunk cap is a parameter; sink errors pass through
joshuaswarren Nov 21, 2026
a9f4e0f
chunked write: refuse a zero cap on a nonempty buffer
joshuaswarren Nov 23, 2026
60df664
style(chunked-write): keep the writer contract on one comment line
ashhart Nov 24, 2026
efa287b
changelog: #4296 under Unreleased
ashhart Nov 24, 2026
a757b3f
changelog: #4296 under Unreleased
ashhart Nov 24, 2026
4a23aba
vision: one gate for --vision at open, on CUDA and HIP
jschmied Nov 15, 2026
5c5e382
docs: vision.md's gate paragraph wrapped under 120 columns
jschmied Nov 15, 2026
386d314
gradient-serving pins: the three Flash Next files #3456 changes
jschmied Nov 16, 2026
4eb8494
Refresh merged source checks and serving pins
ashhart Nov 21, 2026
18a1bc7
cuda: LFM2's --vision reaches core's gate; its old refusal goes, rank…
jschmied Nov 23, 2026
e4d7851
hip native: keep the Qwen engine file at the 600-line cap
ashhart Nov 24, 2026
f05bfdc
flashnext cuda: the vision test passes main's rank and world to visio…
ashhart Nov 24, 2026
68ff0ad
changelog: #3456 under Unreleased
ashhart Nov 24, 2026
61087b8
Merge remote-tracking branch 'origin/main' into feat/249-merge-upstre…
plotarmordev Nov 24, 2026
bcfd3ac
metal: the two pairs of u32 copy kernels from one source (#2251)
jschmied Nov 23, 2026
fd43b51
drama3 metal: codec.metal's compile lists core/copy_u32.metal as an i…
jschmied Nov 23, 2026
1baa88e
changelog: #4740 under Unreleased
ashhart Nov 24, 2026
bfa5710
changelog: #4740 under Unreleased
ashhart Nov 24, 2026
a085c90
flashnext: opt into grouped shared expert rounds
ashhart Nov 24, 2026
6609ffb
changelog: #4834 under Unreleased
ashhart Nov 24, 2026
9cd3986
Merge remote-tracking branch 'upstream/main' into feat/249-merge-upst…
plotarmordev Nov 24, 2026
33f0cbe
docs: the card 64 live signal and live publisher sections stay, since…
plotarmordev Nov 24, 2026
b448cc4
Merge remote-tracking branch 'upstream/main' into feat/249-merge-upst…
plotarmordev Nov 24, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
151 changes: 147 additions & 4 deletions CHANGELOG.md

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions RUNBOOK.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ Omit `--parallel` to use `auto`, which asks for up to eight streams as memory an
Use `--parallel N` for an explicit cap; the engine refuses a count it cannot fit.
Read the startup capacity line, such as `8 streams at once` on CUDA, for the accepted count.
For example, `--parallel 4` keeps at most four requests active while the fifth and later requests wait.
On Metal, a GLM-5.3-Flash shared round holds 16 rows, one per active stream. Drafts fill only the rows left over: 8 spare rows at 8 streams, none at 16, so drafting speeds up fewer streams as the stream count rises. Replies are the same tokens either way. See #4311 for the measurements.
Completing or cancelling an active request frees its slot; cancelling a waiting request removes it from the queue.

Leave the server running and check it from another terminal:
Expand Down
36 changes: 35 additions & 1 deletion THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ These follow a model's release code or a library's model code for their math, ro

- `tools/lfm3/ref64.py` and `zig/kernels/xpu/lfm3.cl`: `modeling_lfm3.py` in [LiquidAI/LFM3-1.7B](https://huggingface.co/LiquidAI/LFM3-1.7B). Copyright Liquid AI, LFM Open License v1.0; see [the license text](LICENSES/LFM-Open-1.0.txt).
- `zig/kernels/metal/minimax_m3/glue.metal`: the rounding points of `modeling_minimax_m3_vl.py` in [transformers](https://github.com/huggingface/transformers).
- `zig/src/families/ricursive/` (its layer order and rounding points), `zig/kernels/metal/ricursive/glue.metal` and `tools/zig/ricursive_reference.py`: `modeling_ricursive.py` in [ricursiveAI/Ripple-65B-Preview](https://huggingface.co/ricursiveAI/Ripple-65B-Preview) at revision `240d5966cbe00f0627c699e59ef58560b60303cf`: the scaled embedding, the value residual, the per-head q/k norms, RoPE on sliding layers only, the fp32 sigmoid gate, the clamped SwiGLU and the four norms a layer. The release's SGLang model `inference/server/model.py` computes the same layers; what is in it alone is its serving (the W4A4 kernels, the capture of hidden states for a drafter), which this family does not take. Copyright ricursiveAI, Apache License 2.0; see [the license text](LICENSES/Apache-2.0.txt). The reference's `--release` mode imports the release's own `modeling_ricursive.py` from the checkpoint at run time; TensorFold does not include it.
- `zig/src/families/ricursive/` (its layer order and rounding points), `zig/kernels/metal/ricursive/glue.metal`, `zig/kernels/cuda/ricursive.cu`, `ricursive.cuh`, `ricursive_prep.cu`, `ricursive_prep.cuh` and `tools/zig/ricursive_reference.py`: `modeling_ricursive.py` in [ricursiveAI/Ripple-65B-Preview](https://huggingface.co/ricursiveAI/Ripple-65B-Preview) at revision `240d5966cbe00f0627c699e59ef58560b60303cf`: the scaled embedding, the value residual, the per-head q/k norms, RoPE on sliding layers only, the fp32 sigmoid gate, the clamped SwiGLU and the four norms a layer. The release's SGLang model `inference/server/model.py` computes the same layers; what is in it alone is its serving (the W4A4 kernels, the capture of hidden states for a drafter), which this family does not take. Copyright ricursiveAI, Apache License 2.0; see [the license text](LICENSES/Apache-2.0.txt). The reference's `--release` and `--release-f64` modes import the release's own `modeling_ricursive.py` from the checkpoint at run time; TensorFold does not include it.
- `zig/src/vision/qwen_cuda.zig`: `Qwen3_5VisionModel` in transformers.
- `zig/src/core/picture/patches_test.zig`: recorded image-processor output data from `Lfm3VlImageProcessor` and `Qwen2VLImageProcessor` in transformers; the processing implementation is described below.
- `zig/src/families/flashnext/rotary_config.zig`: `_compute_yarn_parameters` in transformers, for the 64 rotary dims.
Expand Down Expand Up @@ -567,6 +567,30 @@ those files. `tiny_config.json` and the tensor tables
`0a57c72e4e5b68aafe1d983dbb62980344a5fcd7`, a randomly initialised model whose model card names that release as its base
model and states no licence; no weights are included. `tools/zig/inkling2_fixtures.py` rebuilds all of these files.

## Inkling 2 Mini fixtures and loop references

`mini_config.json`, `mini_model_header.txt` and `mini_mtp_header.txt` in
`zig/src/families/inkling2/fixtures/` come from the 2026-11-20 published snapshot of
[thinkingmachines/Inkling-2-Mini at `ed40e7da625f594fc9c4990f5f66be24873c22d7`](https://huggingface.co/thinkingmachines/Inkling-2-Mini), under the Apache License 2.0
stated on its model card (see [the license text](LICENSES/Apache-2.0.txt)). The public model API supplied that full revision and last-modified time 2026-11-20T22:55:20Z. The fixture config differs from the supplied published `config.json` only by its explicit `_fixture_provenance` annotation; after excluding that annotation, every checkpoint config field matches. The folded tables contain only metadata from the model and MTP safetensors
headers, no tensor data or weights. `tools/zig/inkling2_fixtures.py` rebuilds all three from the Mini release, or from its
extracted headers, with the same revision annotation. No revision was derived from fixture digests.

`release_chat_template.jinja` and `release_tokenizer_config.json` in the same folder are byte-identical copies of that
revision's `chat_template.jinja` and `tokenizer_config.json`, under the same license.

The Mini loop host/reference implementations in `zig/src/families/inkling2/loop.zig`, `loop_model.zig`, `loop_engine.zig`,
`loop_math_cuda.zig`, the CUDA and Metal loop kernels and the stored-expert implementations in `modelopt.zig` and
`zig/kernels/cuda/inkling2/modelopt.cu` are independent TensorFold implementations of the supplied math-only Mini
specification. Its primary reference is huggingface/transformers PR #51050 at head `6173a2f6`: the Mini configuration and
forward pass in `models/inkling2_loop/modular_inkling2_loop.py` and `modeling_inkling2_loop.py`, with the temporary
NVFP4/MXFP8 expert dequantization in `core_model_loading.py` and the checkpoint mappings in `conversion_mapping.py`.
ModelOpt here names the checkpoint format and that Transformers arithmetic; no NVIDIA Model Optimizer source was used or
vendored. The specification also records Neywa-Labs/mlx-vlm at `fd6404fb` as its second reading of the loop and DSpark
implementation (`mlx_vlm/models/inkling2/` and `mlx_vlm/speculative/drafters/inkling2_dspark/`). Transformers is Apache-2.0;
mlx-vlm is MIT (see [`LICENSES/MIT.txt`](LICENSES/MIT.txt)). No reference source code is vendored. The supplied materials
give only these two abbreviated reference heads, not their full commit SHAs.

## Inkling 2 attention kernels

`zig/kernels/cuda/inkling2/attention.cu`, `zig/kernels/cuda/inkling2/prompt_attention.cu` and
Expand All @@ -585,3 +609,13 @@ these layers of Hugging Face transformers' `src/transformers/models/inkling2/mod
`Inkling2NormedEmbedding`, `Inkling2BlockAttentionResidual`, `Inkling2ShortConvolution`,
`Inkling2DynamicShortConvolution`, `Inkling2TopKRouter`, `Inkling2SoftcappedSwiGLU` and `Inkling2Softcap`. The kernels
are TensorFold's own.

## Inkling 2 expert and vision kernels

`zig/kernels/cuda/inkling2/experts.cu` and `zig/src/families/inkling2/experts.zig` run `Inkling2Experts` from Hugging
Face transformers' `src/transformers/models/inkling2/modeling_inkling2.py` at commit `109a7d19bf66`
([huggingface/transformers](https://github.com/huggingface/transformers), Apache-2.0) on main's EXL3 grouped-expert
arithmetic. `zig/kernels/cuda/inkling2/vision.cu` and `zig/src/families/inkling2/vision.zig` compute the same file's
vision tower: `Inkling2VisionEmbeddings`, `Inkling2VisionRotaryEmbedding`, `Inkling2VisionAttention`,
`Inkling2VisionMLP` and `Inkling2VisionMerger`. `zig/src/families/inkling2/image.zig` follows `Inkling2ImageProcessor`
in `image_processing_inkling2.py` at the same commit for its 40-pixel patches and the tower's input tables.
12 changes: 12 additions & 0 deletions app/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,18 @@ current source and are awaiting a packaged Desktop release.
[#3357](https://github.com/ashhart/TensorFold/pull/3357)
- Rooms show completed tickets out of the total. An agent can release its own idle ticket claim
so another seat can take it. [#3698](https://github.com/ashhart/TensorFold/pull/3698) · [#4081](https://github.com/ashhart/TensorFold/pull/4081)
- Room health shows the Room's worktree path and Git branch.
[#3463](https://github.com/ashhart/TensorFold/pull/3463)
- Room settings save when you select **Supervisor** or apply the **Supervised build** preset.
[#3472](https://github.com/ashhart/TensorFold/pull/3472)
- Use **Details** to view and edit a Kanban ticket's title, description, type, priority and effort.
Archived tickets can be restored. [#3464](https://github.com/ashhart/TensorFold/pull/3464)
- Moving a parked ticket to **Ready** clears its assignee so another Room seat can take it.
[#3469](https://github.com/ashhart/TensorFold/pull/3469)
- New Solo and Room ticket worker chats appear in the sidebar as soon as they're created.
[#3461](https://github.com/ashhart/TensorFold/pull/3461)
- Each saved bot can have its own reasoning effort. Bots without a saved effort use the app default.
[#3500](https://github.com/ashhart/TensorFold/pull/3500)
- **Replay as new task** accepts one launch at a time, so a second click during a launch
creates no duplicate task. [#3848](https://github.com/ashhart/TensorFold/pull/3848)
- **Export Run** waits for a preview that matches the selected run, mode and redaction settings
Expand Down
1 change: 1 addition & 0 deletions app/electron/agent/engine/hub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,7 @@ export interface PreflightContext extends HubDeps {
installedRevision?: (repo: string) => Promise<string | null>
drafterFor: (repo: string) => string | null
cachedBytes: (repo: string) => Promise<number>
freeDiskBytes: () => Promise<number | null>
now?: () => number
}

Expand Down
1 change: 1 addition & 0 deletions app/electron/agent/engine/model-hub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ interface ModelHubOptions {
installed: () => Promise<EngineInstalledModel[]>
installedRevision: (repo: string) => Promise<string | null>
cacheDir: () => string
memory: () => { limit: number; budget: number; limitFor?: (modelType: string | null) => { bytes: number; basis: string } }
}

const OFFLINE = /^(1|true|yes|on)$/i
Expand Down
3 changes: 3 additions & 0 deletions build.zig
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,7 @@ pub fn build(b: *std.Build) void {
@import("zig/build/tokenizer_host.zig").steps(b);
@import("zig/build/cluster_host.zig").steps(b);
@import("zig/build/lane_halt_host.zig").steps(b);
@import("zig/build/lane_status_host.zig").steps(b);
@import("zig/build/cache_replay.zig").steps(b);
@import("zig/build/dsv41_shared.zig").steps(b);
@import("zig/build/dsv41_cuda.zig").steps(b);
Expand Down Expand Up @@ -159,6 +160,7 @@ pub fn build(b: *std.Build) void {
for ([_][]const u8{ "noise", "schedule" }) |name| {
test_step.dependOn(&b.addRunArtifact(b.addTest(.{ .root_module = b.createModule(.{ .root_source_file = b.path(b.fmt("zig/src/families/moss_image/{s}.zig", .{name})), .target = target }) })).step);
}
@import("zig/build/metal_cost_host.zig").compile(b, draft_ids);
const cost_cases = b.addTest(.{ .root_module = b.createModule(.{
.root_source_file = b.path("zig/cost_rule_cases.zig"),
.target = target,
Expand Down Expand Up @@ -289,6 +291,7 @@ pub fn build(b: *std.Build) void {
@import("zig/build/save_guard.zig").wire(b);
@import("zig/build/cpu_contract.zig").steps(b, test_step);
@import("zig/build/bf16_round.zig").wire(b, test_step);
@import("zig/build/chunked_write.zig").wire(b, test_step);
@import("zig/build/qwen35_layers.zig").wire(b, test_step);
@import("zig/build/dev_tools.zig").wire(b, target);
@import("zig/build/profile.zig").wire(b, test_step);
Expand Down
6 changes: 5 additions & 1 deletion docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -647,6 +647,8 @@ whole
first, in arrival order, as 0.3.6.2 did. Background work waits behind foreground requests. An active background
request yields when a foreground request needs its lane or memory, then restarts with already-delivered tokens
suppressed.
`TENSORFOLD_PRIORITY_AGE_MS` above 0 lets a background request queued for at least that many milliseconds go before
foreground work. Prefix, disk-read, lane and memory admission checks are unchanged.
Session-title requests are also treated as background work.

The serve flags `--top-p`, `--top-k` and `--min-p` set the server's defaults for the request fields of the same
Expand Down Expand Up @@ -1453,7 +1455,9 @@ store for each model and build. That store takes the place of `--learn`'s store
with the flag neither reads nor writes the prefix files a plain `--learn` server keeps, and they stay on disk until the
cap below needs their room. After a restart, a crash or an eviction from RAM, the next turn reads the latest state back
instead of reading the conversation again from its first token. Qwen3.8-27B, Nemotron, Flash Next and GLM-5.3-Flash on
one Mac, and Nemotron, the Qwen3.5 hybrids and Flash Next on CUDA, keep them; other engines refuse the flag at startup.
one Mac, and Nemotron, the Qwen3.5 hybrids, Flash Next and GLM-5.3-Flash on CUDA keep them; other engines refuse the
flag at startup. GLM-5.3-Flash on CUDA across ranks writes every rank's part to rank 0's disk, so a state is read back
on every rank or on none; it takes neither `--spill-gib` nor `--checkpoint-slots`.

The engine stages an owned copy between rounds, and an I/O thread writes and fsyncs it. Staging has a 1 GiB byte permit
and at most eight jobs. Qwen3.8-27B widens the permit to one whole state at its `--context`, with none of its rows on
Expand Down
3 changes: 2 additions & 1 deletion docs/credits.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ row-invariant linear, grouped experts and the 27B and Flash Next packs
([cuda/exl3](https://github.com/ashhart/TensorFold/tree/v0.6.6/src/tensorfold/cuda/exl3),
[exl3.md](https://github.com/ashhart/TensorFold/blob/v0.6.6/docs/recipes/exl3.md)). The native EXL3 decoder
(`zig/src/core/exl3_format.zig`, `exl3_projection.zig`) follows the format notes from #42, and the EXLR8 codebook
that serves GLM-5.3 builds on that decoder. The native engine does not serve EXL3 packs yet.
that serves GLM-5.3 builds on that decoder. The native CUDA engine serves EXL3 packs too: GLM-5.3-Flash's routed
experts, Qwen3.5's `mul1` and `mcg` checkpoints, and Muse Spark Open's 1.8-bit pack.

## More Python engine work

Expand Down
Loading