Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
356 commits
Select commit Hold shift + click to select a range
638c3c1
changelog: #3616 under Unreleased
ashhart Nov 21, 2026
c1bfb28
GLM-5.3-Flash on CUDA: a decode window's DSA index scores on glm_inde…
Bizuayeu Nov 10, 2026
3fd6bdb
glm cuda: the decode scores under the contract at a decode window's t…
Bizuayeu Nov 10, 2026
16ead26
glm index: a decode window's tiles a CTA by its rows and blocks
Bizuayeu Nov 16, 2026
76e0c0b
glm index: a decode window under 64 pool blocks keeps tf_glm_scores
Bizuayeu Nov 17, 2026
6c3bd29
changelog: #3689 under Unreleased
ashhart Nov 21, 2026
7b40d18
Add layer traces to the Ling float64 reference
ThinkOffApp Nov 18, 2026
6cfe0da
Compose the Ling tiny bf16 backbone on existing Metal kernels
ThinkOffApp Nov 18, 2026
660bcff
Check Ling forward exactness and report paired precision distances
ThinkOffApp Nov 18, 2026
d0c1e1e
Keep rotary sweep registration independent of Ling diagnostics
ThinkOffApp Nov 18, 2026
4d3f8d5
Roll back Ling constructor resources on buffer allocation failure
ThinkOffApp Nov 18, 2026
0777c19
Check resumed Ling states and exercise constructor failure paths
ThinkOffApp Nov 18, 2026
00643b5
Describe the Ling forward diagnostic without local workflow wording
ThinkOffApp Nov 18, 2026
588e98e
Record the Ling bf16 forward under Unreleased as #3919.
ThinkOffApp Nov 19, 2026
8a32f17
Probe for torch and safetensors before generating Ling MLA dumps
ThinkOffApp Nov 21, 2026
fb4e9b1
changelog: #3919's line from lines/3919.txt in place of its own
ashhart Nov 21, 2026
6df8957
changelog: #3919's line from lines/3919.txt in place of its own
ashhart Nov 21, 2026
d3a1651
changelog: each line once under Unreleased
ashhart Nov 21, 2026
7181c73
changelog: #3919's line from lines/3919.txt in place of its own
ashhart Nov 21, 2026
4c1f939
Report the cluster view agreed during bring-up
AIFlowML Nov 20, 2026
6a059dc
changelog: #4135 under Unreleased
ashhart Nov 21, 2026
843285b
changelog: each line once under Unreleased
ashhart Nov 21, 2026
0abb000
qwen27 metal: the GDN rollback bank is a core.recurrent_workspace lea…
jschmied Nov 19, 2026
e832029
changelog: #4178 under Unreleased
ashhart Nov 21, 2026
fd484e4
changelog: #4178 under Unreleased
ashhart Nov 21, 2026
6b4cc34
core: spill backend-expired prompt states (#2669)
ashhart Nov 21, 2026
392e160
changelog: Prompt cache: spill backend-expired states to the disk tie…
ashhart Nov 21, 2026
973fbcc
changelog: #4280's line from lines/4280.txt in place of its own
ashhart Nov 21, 2026
ef0f492
lfm3 metal: a shared round's qk in one dispatch for every stream
ashhart Nov 12, 2026
a37a957
changelog: #3079 under Unreleased
ashhart Nov 21, 2026
4641183
changelog: #3079 under Unreleased
ashhart Nov 21, 2026
7194f73
lfm3 metal: prefill runs a chunk a call, so a new prompt no longer st…
ashhart Nov 13, 2026
9c147c9
Add CHANGELOG entry for #3088 under Unreleased
ashhart Nov 17, 2026
d7dc085
changelog: #3088's line from lines/3088.txt in place of its own
ashhart Nov 21, 2026
e808e93
qwen3_5 cuda: a prompt chunk nothing reads stops its last layer at it…
javierbits Nov 12, 2026
f16f9a5
qwen3_5 cuda: a launch trace for unread prompt chunks and the #2941 d…
javierbits Nov 13, 2026
5a6d8ea
docs: the quiet-GB10 A/B for the qwen unread-chunk path
javierbits Nov 13, 2026
0ac3062
qwen3_5 CUDA: move the delta scan helper to keep the engine below 600…
ashhart Nov 19, 2026
7a2478e
qwen3_5 cuda: hash the kept states at the 8K and 16K marks
javierbits Nov 19, 2026
9626281
qwen3_5 cuda: the prefill fixture carries the readers unread asks for
javierbits Nov 20, 2026
6da2016
qwen3_5 cuda: the unread prefill test fills on the cold chunk grid
javierbits Nov 20, 2026
7b8e1ae
docs: the kept-state rows on the rebased main and head
javierbits Nov 20, 2026
070e667
changelog: #3060's line from lines/3060.txt in place of its own
ashhart Nov 21, 2026
78e3217
changelog: #3060's line from lines/3060.txt in place of its own
ashhart Nov 21, 2026
c896bfc
cuda: a unified Linux budget is at most CUDA's free memory, after the…
ashhart Nov 13, 2026
65ff758
cuda: fold three comments to keep cuda.zig at 600 lines
ashhart Nov 17, 2026
97ce314
changelog: #3192 under Unreleased
ashhart Nov 21, 2026
d09afe6
changelog: #3060's line from lines/3060.txt in place of its own
ashhart Nov 21, 2026
e4b80fe
changelog: #3192 under Unreleased
ashhart Nov 21, 2026
ca98691
qwen3_5 cuda: accept mcg codebook alongside mul1
Ch0mpaa Nov 15, 2026
24bc369
changelog: #3412 under Unreleased
ashhart Nov 21, 2026
b0218fa
changelog: each line once under Unreleased
ashhart Nov 21, 2026
82a5fb9
changelog: #3060's line from lines/3060.txt in place of its own
ashhart Nov 21, 2026
1709be4
changelog: #3192 under Unreleased
ashhart Nov 21, 2026
a2c57b6
cuda contract: NVFP4_NZ5's stress fill holds +5s, read as 5 by the fl…
Bizuayeu Nov 11, 2026
2ad89f9
changelog: #3543 under Unreleased
ashhart Nov 21, 2026
44a3529
changelog: each line once under Unreleased
ashhart Nov 21, 2026
6e8a895
server: deadline_s ends a reply at its deadline with every token and …
jayleaton Nov 14, 2026
12d8410
server: a reply the engine already ended keeps its finish when its de…
jayleaton Nov 15, 2026
0f30268
changelog: #3438 under Unreleased
ashhart Nov 21, 2026
3bae0fd
flash next hip: the prompt cache's hooks in their own file (no change)
llstrk Nov 16, 2026
1a62a06
flash next hip: a prompt-cache kept row inside a chunk no longer stop…
llstrk Nov 16, 2026
8c6e2fc
flash next hip: a prompt chunk goes on through every kept row its sid…
llstrk Nov 16, 2026
b87402b
changelog: #3646 under Unreleased
ashhart Nov 21, 2026
a9409ec
changelog: #3646's line from lines/3646.txt in place of its own
ashhart Nov 21, 2026
b1b3a92
changelog: each line once under Unreleased
ashhart Nov 21, 2026
0fc3838
changelog: #3646's line from lines/3646.txt in place of its own
ashhart Nov 21, 2026
6606da3
ci: a pull request push cancels its older format and web runs
ashhart Nov 18, 2026
a17f657
changelog: #3850 under Unreleased
ashhart Nov 21, 2026
ce65b29
changelog: each line once under Unreleased
ashhart Nov 21, 2026
9a2eb09
inkling2: glue kernels under the kernel contract
ajensenwaud Nov 20, 2026
5016061
re-pin kernels.zig raw hash after #4126 rebase
ashhart Nov 20, 2026
8694151
Add MOSS-only ComfyUI runtime installer
ashhart Nov 9, 2026
4d2818a
comfyui runtime: refuse every GPU but GB10 (sm_121) at install and run
ashhart Nov 12, 2026
38d33b8
comfyui runtime: README paths from the repo root, and the changelog line
ashhart Nov 18, 2026
7df8ff9
changelog: #2737 under Unreleased
ashhart Nov 21, 2026
9b89bd9
changelog: #2737's line from lines/2737.txt in place of its own
ashhart Nov 21, 2026
537bf2e
changelog: #2737's line from lines/2737.txt in place of its own
ashhart Nov 21, 2026
db511c5
lfm2_moe metal: prefill runs a chunk a call, so a new prompt no longe…
ashhart Nov 12, 2026
ec8ee62
ci: run the LFM2-MoE Metal prefill steps test on macOS nightly
ashhart Nov 12, 2026
8435c66
changelog: #3058 under Unreleased
ashhart Nov 21, 2026
6fdfacb
changelog: #2737's line from lines/2737.txt in place of its own
ashhart Nov 21, 2026
28d28d1
changelog: #3058 under Unreleased
ashhart Nov 21, 2026
7bd502f
lfm metal: a keep that drops nothing skips its copy
ashhart Nov 12, 2026
7b9a5c3
changelog: #3078 under Unreleased
ashhart Nov 21, 2026
eeceb11
changelog: each line once under Unreleased
ashhart Nov 21, 2026
8b9cc57
changelog: #2737's line from lines/2737.txt in place of its own
ashhart Nov 21, 2026
65049fd
changelog: #3058 under Unreleased
ashhart Nov 21, 2026
9b4ca41
spark25 cuda: gate and up load as one stacked weight, and every CUDA …
ashhart Nov 13, 2026
b6fefc0
host tests: count segmented launches apart from grouped kernels, so t…
ashhart Nov 14, 2026
da6015b
changelog: #3130 under Unreleased
ashhart Nov 21, 2026
a54533b
changelog: each line once under Unreleased
ashhart Nov 21, 2026
36fef08
changelog: #2737's line from lines/2737.txt in place of its own
ashhart Nov 21, 2026
f3405ec
changelog: #3058 under Unreleased
ashhart Nov 21, 2026
079f90f
changelog: #3130 under Unreleased
ashhart Nov 21, 2026
6230579
docs: a Linux native build targets the build machine's CPU; -Dcpu bui…
ashhart Nov 18, 2026
2927674
changelog: #3301 under Unreleased
ashhart Nov 21, 2026
ea55765
changelog: each line once under Unreleased
ashhart Nov 21, 2026
86976e5
feat(cuda): a DeepSeek-V4.1 projection a pack keeps as a float matrix…
BadAd84 Nov 19, 2026
fa13df5
changelog: #4076 under Unreleased
ashhart Nov 21, 2026
0ca34f1
Upstream PR: Drama 3 on CUDA loads a compact NVFP4 checkpoint as stored
plotarmordev Nov 20, 2026
9e40af9
changelog: #4144 under Unreleased
ashhart Nov 21, 2026
7ce4574
changelog: #4144 under Unreleased
ashhart Nov 21, 2026
e6ece74
server: a required or named tool call closes the think block in time …
jayleaton Nov 18, 2026
8c5fcb3
server: the required-tool thinking test goes through chat.prepare
jayleaton Nov 20, 2026
6bdf17f
server: the required-tool think close sits behind --tool-think-close,…
jayleaton Nov 20, 2026
dcc29d9
changelog: #4157's line from lines/4157.txt in place of its own
ashhart Nov 21, 2026
1a10b0b
hip flashnext: opt-in --mtp-drafts up to 7 on a lone stream (#3053)
gilby Nov 20, 2026
4b9d9a1
tools: add eight copy-heavy file-edit prompts for bench_concurrent
gilby Nov 16, 2026
bf57ed7
nemotron/hip: opt-in --mtp-drafts up to 15 on a lone stream
gilby Nov 18, 2026
862a923
changelog: #3613 under Unreleased
gilby Nov 20, 2026
f0b9cb8
changelog: #3613's line from lines/3613.txt in place of its own
ashhart Nov 21, 2026
31908f3
muse spark: free host arrays on init failure
ashhart Nov 21, 2026
b8fb953
changelog: muse spark: free host arrays on init failure
ashhart Nov 21, 2026
823345f
changelog: #4303's line from lines/4303.txt in place of its own
ashhart Nov 21, 2026
861515b
changelog: #4303's line from lines/4303.txt in place of its own
ashhart Nov 21, 2026
591059f
prompt cache: ignore unrelated expired miss states
ashhart Nov 21, 2026
d8648b7
changelog: prompt cache: ignore unrelated expired miss states
ashhart Nov 21, 2026
5347f71
changelog: #4305's line from lines/4305.txt in place of its own
ashhart Nov 21, 2026
364dd6a
Fixes #3799: compare selected Discover revisions
ashhart Nov 21, 2026
2dade52
changelog: Desktop Discover: a newer revision of a cached model is of…
ashhart Nov 21, 2026
06f7ae1
changelog: #4313's line from lines/4313.txt in place of its own
ashhart Nov 21, 2026
10a929e
idol: the FLUX.2 VAE image encoder natively on Metal, in fp32, with t…
jayleaton Oct 31, 2026
1b8e666
idol: the VAE recipe names the tensor units' fp32 operand truncation …
jayleaton Oct 31, 2026
585de86
tests: the idol vae Metal limits branch keeps running across unsuppor…
ashhart Nov 19, 2026
685dced
idol: the vae case moves to idol_vae_case.py, so idol_case.py with ma…
jayleaton Nov 20, 2026
c06b045
changelog: #1774 under Unreleased
ashhart Nov 21, 2026
2308378
Flash Next on CUDA: the draft head's rows are affine4 unless TF_FLASH…
BadAd84 Nov 14, 2026
d8a52e8
receipts: main against the branch for the draft head default, with th…
BadAd84 Nov 15, 2026
b4bdb9c
receipts: 8 streams on main 41a72fd257, and the environment every arm…
BadAd84 Nov 15, 2026
5b0bcfa
flashnext: re-pin #3477 draft-head raw source hashes
ashhart Nov 21, 2026
50b8197
changelog: #3477 under Unreleased
ashhart Nov 21, 2026
cb21608
dsv41 metal: a pick's argmax in 16-wide steps and sampling scratch ke…
ashhart Nov 18, 2026
e19cf91
Split the pick functions to pick.zig under the 600-line lean rule
ashhart Nov 21, 2026
dcc1fdb
dsv41 metal: tree.zig imports pick.zig as picks (Tree.pick is the sha…
ashhart Nov 21, 2026
6f34f97
changelog: #3288 under Unreleased
ashhart Nov 21, 2026
be27fe9
changelog: #3288 under Unreleased
ashhart Nov 21, 2026
9951a5e
dsv41 metal: the vision rows take the prompt length as u32 (macOS com…
ashhart Nov 21, 2026
d847de0
changelog: dsv41 metal: the vision rows take the prompt length as u32…
ashhart Nov 21, 2026
7085989
changelog: #4319's line from lines/4319.txt in place of its own
ashhart Nov 21, 2026
a56c119
server: drop the prompt cache's kept states on an admin route
ashhart Nov 13, 2026
36e17ec
changelog: #3210 under Unreleased
ashhart Nov 21, 2026
41a51c7
ci: one concurrency key in the Zig format workflow, so GitHub runs it…
ashhart Nov 21, 2026
9936ebc
changelog: ci: one concurrency key in the Zig format workflow, so Git…
ashhart Nov 21, 2026
2cd42af
changelog: #4339's line from lines/4339.txt in place of its own
ashhart Nov 21, 2026
c8cb951
hip: move the gfx12 WMMA step pieces to a shared header
millaguie Nov 10, 2026
c5aa10e
changelog: #3862 under Unreleased
ashhart Nov 21, 2026
0e2310c
capabilities: the dense qwen3_5 row lists the ModelOpt exports its lo…
javierbits Nov 20, 2026
55ac105
changelog: #4192's line from lines/4192.txt in place of its own
ashhart Nov 21, 2026
553e374
changelog: back under Unreleased
ashhart Nov 21, 2026
6802123
flashnext cuda: a control-link wait polls with a 50 us timeout for it…
swbiggart Nov 11, 2026
09fd512
changelog and ledger: Flash Next's control-link waits poll briefly be…
swbiggart Nov 11, 2026
4b3e26b
changelog: #2971 under Unreleased
ashhart Nov 21, 2026
d7c999c
changelog: #2971 under Unreleased
ashhart Nov 21, 2026
c3da7a4
flashnext cuda: a rank waits for its peer's load before the first col…
swbiggart Nov 10, 2026
a3d07b8
flashnext cuda: a failed load wait frees the prompt engine
swbiggart Nov 12, 2026
20f63d1
fixtures: re-pin merged serving sources for #2972
ashhart Nov 21, 2026
362107c
changelog: #2972 under Unreleased
ashhart Nov 21, 2026
7da5f2f
xpu(flashnext): Xe2 DPAS tile kernels, adaptive solo chunks, and conf…
supernovae Nov 16, 2026
ecc80b9
changelog: #3603 under Unreleased
ashhart Nov 21, 2026
0d9033b
web: the packaged stand-in reports 1.3.2, matching build.zig.zon
ashhart Nov 21, 2026
b9256c9
changelog: web: the packaged stand-in reports 1.3.2, matching build.z…
ashhart Nov 21, 2026
a751479
changelog: #4346's line from lines/4346.txt in place of its own
ashhart Nov 21, 2026
c2a6b0b
idol: CUDA octree and Gaussian decoders for sm_121/sm_120 (nvcc build…
jayleaton Nov 1, 2026
2237c01
contract: the CUDA decoders' gate-5 records from nvcc 13.0 for sm_80/…
jayleaton Nov 1, 2026
034fb95
tests: refresh the CUDA image pin after adding Idol decoders
ashhart Nov 18, 2026
9b88eb2
tests: the series spec() grew a served-shape parameter; worst()s host…
ashhart Nov 20, 2026
6cd8c58
changelog: #1858's line from lines/1858.txt in place of its own
ashhart Nov 21, 2026
9da071c
changelog: #1858's line from lines/1858.txt in place of its own
ashhart Nov 21, 2026
74b27e0
server: --execution-witness serves a read-scoped snapshot of what run…
kotevcode Nov 11, 2026
3208a8b
server: the witness tests hash a small stand-in for the binary, so a …
kotevcode Nov 11, 2026
7ec456e
server: the witness race test's reader yields after each read, so the…
kotevcode Nov 11, 2026
ce08bfb
server: the witness race test dates its idle window from now, so a ru…
kotevcode Nov 11, 2026
6a5542f
server: the witness environment leaves out names ending in _TOKEN, so…
kotevcode Nov 12, 2026
c89c73e
server: two Config notes on their fields' lines, so server.zig stays …
ashhart Nov 13, 2026
21078c1
Fold the witness field note to keep server.zig within 600 lines
ashhart Nov 19, 2026
f803dc1
server: export digest cache to Metal execution witnesses
ashhart Nov 19, 2026
75609e0
server: "execution_witness": true binds a reply to the witness at adm…
kotevcode Nov 11, 2026
dc88927
server: execution_witness needs the read scope beside inference, and …
kotevcode Nov 12, 2026
684e395
server: the witness environment leaves out names ending in _SIGNING_K…
kotevcode Nov 12, 2026
6a0e42f
docs: the reply binding lists unbound and says when a reply can carry it
kotevcode Nov 12, 2026
046ed57
Keep OpenAI request module within the source line limit
ashhart Nov 14, 2026
beb8182
server: the Ollama chat and generate routes refuse execution_witness,…
kotevcode Nov 15, 2026
b3a6e4d
server: fold two CLI field notes at the 600-line boundary
ashhart Nov 21, 2026
2666242
test: release witness fixture resources when startup fails
ashhart Nov 21, 2026
1b39456
changelog: #2958 under Unreleased
ashhart Nov 21, 2026
75eb9b5
Merge remote-tracking branch 'upstream/main' into feat/165-merge-upst…
plotarmordev Nov 21, 2026
100a160
contract: raise registry_union's comptime branch quota for the merged…
plotarmordev Nov 21, 2026
9020926
flash next hip: a prompt-cache kept row inside a chunk no longer stop…
llstrk Nov 16, 2026
8023fa8
flash next hip: a prompt chunk goes on through every kept row its sid…
llstrk Nov 16, 2026
e6d948d
flash next hip: a prompt's first token goes out before its last chunk…
llstrk Nov 16, 2026
712864d
flash next hip: a kept prompt state's copies pass through one pinned …
llstrk Nov 16, 2026
e791cec
flash next hip: a kept prompt state's bytes are mapped on small pages…
llstrk Nov 16, 2026
dee4f30
flash next hip: the keeps literal on one line, as zig fmt lays it out…
ashhart Nov 18, 2026
133a9cb
flash next hip: drop duplicate side-buffer helper after main rebase
ashhart Nov 21, 2026
3c7dd3a
changelog: #3647 under Unreleased
ashhart Nov 21, 2026
f0731c5
metal4 timeline: make allocation failure cleanup ownership-safe
ashhart Nov 21, 2026
28802a7
changelog: metal4 timeline: make allocation failure cleanup ownership…
ashhart Nov 21, 2026
d974f9f
changelog: #4298's line from lines/4298.txt in place of its own
ashhart Nov 21, 2026
9e1db32
changelog: #4298's line from lines/4298.txt in place of its own
ashhart Nov 21, 2026
a388f24
tests: GLM Metal fixtures start with no DFlash2 drafter
ashhart Nov 21, 2026
4a4028a
changelog: tests: GLM Metal fixtures start with no DFlash2 drafter
ashhart Nov 21, 2026
18fd04f
changelog: #4299's line from lines/4299.txt in place of its own
ashhart Nov 21, 2026
ad2169a
read-ahead: size the pack path join once so its alloc count is stable
ashhart Nov 21, 2026
84d950d
changelog: read-ahead: size the pack path join once so its alloc coun…
ashhart Nov 21, 2026
d3d9a66
changelog: #4344's line from lines/4344.txt in place of its own
ashhart Nov 21, 2026
26367e9
lane host: identical concurrent prompts join a filling leader's whole…
bikepresentball Nov 20, 2026
ea1cc39
lane host: arm the whole-fill join on prompt identity, not planned marks
bikepresentball Nov 20, 2026
ba4c9fe
test: the single-flight fail-open cases — leader cancelled, bound passed
bikepresentball Nov 20, 2026
e48bdef
lane host: arm the whole-fill join only when the leader's fill keeps …
bikepresentball Nov 20, 2026
59b0bea
changelog: #3693 under Unreleased
ashhart Nov 21, 2026
8e69912
changelog: #3693 under Unreleased
ashhart Nov 21, 2026
7fad3ea
qwen27 metal: a sampled stream's draft tree ranks its candidates with…
hobbesd Nov 19, 2026
1202e73
changelog: #3978 under Unreleased
hobbesd Nov 19, 2026
d6e1b14
qwen27 metal: only a lone sampled stream's draft tree takes the draw'…
hobbesd Nov 20, 2026
8a77119
changelog: #3978's line names the lone stream
hobbesd Nov 20, 2026
4d8f680
changelog: #3978's line from lines/3978.txt in place of its own
ashhart Nov 21, 2026
ed4e935
Fixes #4061: price copies-only HIP plain rounds
ashhart Nov 21, 2026
b0ddcc2
changelog: HIP Qwen: a copies-only engine prices its plain rounds onc…
ashhart Nov 21, 2026
1587c8c
changelog: #4312's line from lines/4312.txt in place of its own
ashhart Nov 21, 2026
4d7ecab
Merge remote-tracking branch 'upstream/main' into feat/165-merge-upst…
plotarmordev Nov 21, 2026
4ac5ded
glm cuda: EXL3 mcg experts at any whole-bit width, mixed by projection
MiaAI-Lab Oct 30, 2026
66baf43
tests: GLM EXL3 at mixed widths, synthetic and a checkpoint's own layers
MiaAI-Lab Oct 30, 2026
196b93e
exl3 cuda: the common prompt kernels take 3-bit mcg gate/up and down,…
MiaAI-Lab Oct 30, 2026
f5541fb
tests: exl3-prompt-k6, the 3- and 4-bit prompt kernels at GLM's shapes
MiaAI-Lab Oct 30, 2026
2dfb188
tests: a planted control for exl3-prompt-k6's float64 check
ashhart Nov 12, 2026
1539d22
tests: glm-exl3-layer loads GLM's expert kernels without block 32's i…
ashhart Nov 12, 2026
52a7e4b
glm cuda, tests: keep cuda_native.zig and the CUDA runner's main.zig …
ashhart Nov 12, 2026
c5eb16c
exl3 cuda, glm cuda, tests: the 3-bit prompt kernels on main's shared…
ashhart Nov 17, 2026
5f89c4e
Follow main's extracted CUDA test help for #2094
ashhart Nov 19, 2026
676cf8b
changelog: #2094 under Unreleased
ashhart Nov 21, 2026
949b0a2
qwen3_5: TF_QWEN_KV_HOST - pinned-host KV pages for capacity-mode lon…
MaverickKB Nov 9, 2026
21c73a2
qwen3_5: Phase 2 - device-resident state runs; host pages carry KV on…
MaverickKB Nov 9, 2026
94ecc37
qwen3_5: answer #2637 host KV isolation, refusal and ownership review
ashhart Nov 19, 2026
3e10ff8
qwen3_5: enforce #2637 host cap over the full checked byte range
ashhart Nov 19, 2026
467021b
qwen3_5: keep #2637 run sizing host-only and refuse unsupported share…
ashhart Nov 19, 2026
099c481
qwen3_5: execute #2637 constructor regressions in the KV safety gate
ashhart Nov 19, 2026
2ef7ee9
style: keep rebased source formatted within the module cap
ashhart Nov 21, 2026
2faca67
qwen3_5 cuda: one blank line less in cuda_native.zig, so it stays at …
ashhart Nov 21, 2026
3016a0a
changelog: #2637 under Unreleased
ashhart Nov 21, 2026
1286f50
Merge remote-tracking branch 'upstream/main' into feat/165-merge-upst…
plotarmordev Nov 21, 2026
4a9375d
docs: separate Desktop and engine release notes
garvrao80 Nov 21, 2026
6fb7f79
changelog: #4284 under Unreleased
ashhart Nov 21, 2026
27ab23f
changelog: #4284 under Unreleased
ashhart Nov 21, 2026
faa916d
contract: df_sumn's nvcc 13.3 record is glm_cuda_records.zig's alone
Bizuayeu Nov 21, 2026
dc3335e
docs: the changelog line for df_sumn's nvcc 13.3 record
Bizuayeu Nov 21, 2026
6025638
changelog: #4291's line names its PR
Bizuayeu Nov 21, 2026
9d77abe
changelog: #4291's line from lines/4291.txt in place of its own
ashhart Nov 21, 2026
b02df2a
Merge remote-tracking branch 'upstream/main' into feat/165-merge-upst…
plotarmordev Nov 21, 2026
835d00a
Merge remote-tracking branch 'origin/main' into feat/165-merge-upstre…
plotarmordev Nov 21, 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
  •  
  •  
  •  
11 changes: 11 additions & 0 deletions .github/workflows/no-gpu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,17 @@ concurrency:
# tip, and the hosted queue (58 runs behind ~13 jobs) held main's and contributors' checks for hours. A train
# whose local run is red starts this workflow on its branch by hand (workflow_dispatch) for GitHub's verdict.
jobs:
comfyui-moss-installer:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
with:
persist-credentials: false
- uses: actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065 # v5.6.0
with:
python-version: "3.12"
- run: python -m unittest discover -s tools/comfyui_runtime/tests -v
benchmark-clients:
if: ${{ !startsWith(github.head_ref, 'lead/train-') }} # a landing train's tip: see the note above jobs
strategy:
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,11 @@ on:
pull_request:
paths: ["web/**", ".github/workflows/web.yml", "build.zig.zon"]

concurrency:
# a pull request push cancels that PR's older run (18 Nov: 28 superseded runs sat queued); main pushes all run
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

permissions:
contents: read

Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/zig-fmt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ on:
types: [opened, synchronize, reopened]
workflow_dispatch:

permissions:
contents: read

# A newer push to main or to a pull request cancels the older format run, as No GPU does.
concurrency:
# a pull request push cancels that PR's older run (18 Nov: 28 superseded runs sat queued); main pushes all run
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
cancel-in-progress: ${{ github.event_name == 'pull_request' }}

permissions:
contents: read

# 19 Nov: a landing train's PR (lead/train-*) skips these jobs. Our local CI runs the same checks on the train's
# tip, and the hosted queue (58 runs behind ~13 jobs) held main's and contributors' checks for hours. A train
Expand Down
134 changes: 133 additions & 1 deletion CHANGELOG.md

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,10 @@ Without Xcode's Metal compiler it warns `skipping offline Metal shader checks` a
tests that need Linux, CUDA or a Metal device skip themselves.

`native` writes `zig-out/native/bin/tensorfold-native`, the server.
On Linux, `zig build native` compiles for the build machine's CPU, so the binary can stop with `Illegal instruction` on a
machine without the same features (AVX-512, for example). To build for another machine, name its CPU: `-Dcpu=baseline`
runs on any x86_64, as the release archives do, and `-Dcpu=x86_64_v3` on an x86-64-v3-capable machine (AVX2 class).

Structured output and required tool calls need the release archive's `lib/` or `zig build grammar -Dxgrammar=DIR`; prepare DIR with `git clone --branch v0.2.8 --recurse-submodules https://github.com/mlc-ai/xgrammar` (use the native build's same `--prefix` for grammar).
To build one stripped server for one GPU (`zig build -Dgpu=spark -Dnvcc=...`, about 69% smaller than the four-target server), see [Build a server for one GPU](RUNBOOK.md#build-a-server-for-one-gpu).
The `apple_m1` CPU target keeps the macOS binary compatible with M1 through M5.
Expand Down
9 changes: 9 additions & 0 deletions THIRD_PARTY_NOTICES.md
Original file line number Diff line number Diff line change
Expand Up @@ -575,3 +575,12 @@ model and states no licence; no weights are included. `tools/zig/inkling2_fixtur
from `Inkling2L2Clip` and `Inkling2ScaledL2Clip`, the relative-position logits from `Inkling2RelativeLogits`, and the
sinks and sigmoid output gate from `Inkling2SlidingAttention` and `Inkling2FullAttention`. The kernels, their chunked
layout and their rounding points are TensorFold's own.

## Inkling 2 glue kernels

`zig/kernels/cuda/inkling2/ops.cu`, `zig/kernels/cuda/inkling2/rows.cu` and `zig/src/families/inkling2/ops.zig` compute
these layers of Hugging Face transformers' `src/transformers/models/inkling2/modeling_inkling2.py` at commit
`109a7d19bf66` ([huggingface/transformers](https://github.com/huggingface/transformers), Apache-2.0):
`Inkling2NormedEmbedding`, `Inkling2BlockAttentionResidual`, `Inkling2ShortConvolution`,
`Inkling2DynamicShortConvolution`, `Inkling2TopKRouter`, `Inkling2SoftcappedSwiGLU` and `Inkling2Softcap`. The kernels
are TensorFold's own.
36 changes: 36 additions & 0 deletions app/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# TensorFold Desktop changelog

Desktop installers ship under `app-v*` tags. Engine updates follow a separate release schedule.
See the [engine changelog](../CHANGELOG.md) for engine releases.

## Unreleased

These are highlights from changes merged after Desktop 1.0.0. They are available in builds from
current source and are awaiting a packaged Desktop release.

- Search in **Current conversation** ignores the project filter from **All saved conversations**.
Switching back restores the selected project. [#3900](https://github.com/ashhart/TensorFold/pull/3900)
- **Planning only** opens the model picker on **Local**. The regular model button opens **All**.
[#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)
- **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
before enabling copy or save. [#3834](https://github.com/ashhart/TensorFold/pull/3834)
- Model downloads honor proxy settings and offer a retry when a download stalls or fails.
[#4141](https://github.com/ashhart/TensorFold/pull/4141)
- Benchmarks accept community-v2 results and preserve optional Mac product-family labels in
saved history and exports. [#4031](https://github.com/ashhart/TensorFold/pull/4031) · [#2693](https://github.com/ashhart/TensorFold/pull/2693)

## 1.0.0 · 2026-11-02

[TensorFold for Mac 1.0.0 release notes and installer](https://github.com/ashhart/TensorFold/releases/tag/app-v1.0.0)

- First stable Desktop release for Apple silicon Macs running macOS 13.3 or later.
- Ask TensorFold adds a compact input bar with window selection and capture preview. The main
window can close into the background and reopen from the menu bar.
- Connection health and the unified inbox show account status and provider errors. The interface
includes Portuguese.
- The installer bundles engine 1.2.0. The app can download and activate engine 1.2.1 separately
from **Models → Details → Engine updates**.
5 changes: 3 additions & 2 deletions app/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ An agentic AI coding app for the Mac, with the TensorFold engine built in. It al
any OpenAI‑compatible LLM endpoint, local or cloud. The look comes from the TensorFold brand:
graphite and navy surfaces, an electric-blue primary and the fold gradient.

The current desktop release is [beta 9](https://github.com/ashhart/TensorFold/releases/tag/v1.0.0-beta.9).
It launches the bundled native Zig engine directly.
Download [TensorFold for Mac 1.0.0](https://github.com/ashhart/TensorFold/releases/tag/app-v1.0.0),
the current Desktop release. It launches the bundled native Zig engine directly.
See the [Desktop changelog](CHANGELOG.md) for shipped and unreleased app changes.

It reads, edits, and runs your code through a tool‑use loop, with streaming responses,
live diffs, and per‑action approval.
Expand Down
23 changes: 13 additions & 10 deletions app/docs/linux-port/SANDBOX-REVIEW.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,23 @@

## Status

The bubblewrap backend is **not part of this change**: it was written, reviewed below, and then scoped out
until the gaps in items 1 and 2 close (git metadata for absent, nested and worktree repositories; minimal
runtime roots). This review and the plan that carried the backend are the record; the branch keeps Linux
commands on the existing fail-closed behaviour. No product default was weakened.
The bubblewrap backend is **implemented on this branch** and stays opt-in
(`TENSORFOLD_LINUX_SANDBOX=1`). This review is the record of what blocked it; the blockers below are
now either closed or stated as limits in [STATUS.md](STATUS.md). No product default was weakened:
without the opt-in, Linux `run_command` keeps the existing fail-closed behaviour.

This read-only subagent review identified issues missed during initial implementation. Prior claims that the failing probe proved a nested-container limitation were not established: its namespace lacks the ELF dynamic loader path. Merely passing argument-construction tests does not prove confinement.
The read-only subagent review identified issues missed during initial implementation. Prior claims
that the failing probe proved a nested-container limitation were not established: its namespace
lacked the ELF dynamic loader path. Passing argument-construction tests alone does not prove
confinement either; the conformance test exercises a real namespace.

## Release blockers

1. **Mount ordering:** all read-only mounts precede all writable mounts. A writable TMPDIR parent hides a read-only workspace mount below it. Build one ordered mount plan with explicit permissions, or private scratch mounts; test effective writes, not argument presence.
2. **Git-control protection:** existing top-level entries alone are insufficient. Missing controls, fresh/nested repositories, submodule metadata, and worktree pointers/common directories are not safely covered. A writable `.git` pointer can be retargeted in place. Enumeration cannot prevent future Git metadata creation in arbitrary writable directories. Choose an enforceable confinement design or reject unsupported writable execution; do not advertise SBPL parity.
3. **Capability probe:** the `/usr`-only probe omits `/lib64` (and `/lib` on some systems), causing ENOENT for dynamically linked executables. Derive probes from the production mount plan, use matching namespace flags, and preserve diagnostic reasons. Do not retry sandbox-denied tool operations through another route.
4. **Runtime visibility:** user-managed Node/Python/Rust/Nix installations remain in PATH but outside mounted roots. Add minimal explicit trusted runtime roots rather than mounting HOME wholesale.
5. **Validation:** live tests currently skip when the bad probe fails. Add a required Linux CI lane with known-working bubblewrap. Use owned outside-workspace files for denial tests, local listener positive/negative network controls, and actual Git repositories. Cover temp overlap, metadata creation/retargeting, worktrees, nested repositories, shell cancellation, usrmerge and runtime paths.
1. **Mount ordering (closed):** all read-only mounts precede all writable mounts. A writable TMPDIR parent hides a read-only workspace mount below it. Build one ordered mount plan with explicit permissions, or private scratch mounts; test effective writes, not argument presence.
2. **Git-control protection (closed, with stated limits):** existing top-level entries alone are insufficient. Missing controls, fresh/nested repositories, submodule metadata, and worktree pointers/common directories are not safely covered. A writable `.git` pointer can be retargeted in place. Enumeration cannot prevent future Git metadata creation in arbitrary writable directories. Choose an enforceable confinement design or reject unsupported writable execution; do not advertise SBPL parity.
3. **Capability probe (closed):** the `/usr`-only probe omitted `/lib64` (and `/lib` on some systems), causing ENOENT for dynamically linked executables. Derive probes from the production mount plan, use matching namespace flags, and preserve diagnostic reasons. Do not retry sandbox-denied tool operations through another route.
4. **Runtime visibility (open):** user-managed Node/Python/Rust/Nix installations remain in PATH but outside mounted roots. Add minimal explicit trusted runtime roots rather than mounting HOME wholesale.
5. **Validation (partly closed):** live tests skip when the probe fails; a Linux CI lane exists but does not install bubblewrap, so device-level conformance must run on a host that has it. Add a required Linux CI lane with known-working bubblewrap. Use owned outside-workspace files for denial tests, local listener positive/negative network controls, and actual Git repositories. Cover temp overlap, metadata creation/retargeting, worktrees, nested repositories, shell cancellation, usrmerge and runtime paths.

## Other corrections

Expand Down
39 changes: 23 additions & 16 deletions app/docs/linux-port/STATUS.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,22 +55,29 @@ clean-machine install.
read the workspace on any platform. Attachments are the supported way to give a bot file content;
workspace work belongs to a task or project chat.

## Linux command sandbox — separate work, not in this change

Per the maintainer's review, the bubblewrap backend is not part of this client portability change:
commands stay refused on Linux until the git and worktree gaps are closed. The implementation and its
conformance test are preserved on the `sandbox-followup` branch for a separate PR. It remains
**opt-in** (`TENSORFOLD_LINUX_SANDBOX=1`) because three deviations from the macOS sandbox profile
remain:

1. Creating a brand-new `.git` where none exists cannot be denied; existing repositories pin `.git`
against rename and pin `config`, `config.worktree`, `hooks` and `info` read-only.
2. Nested repositories and submodule gitdirs below the workspace root are not pinned.
3. A worktree `.git` pointer file is mounted writable, so its external gitdir is not protected.

On this branch the Linux backend is absent entirely, so `run_command` keeps the existing fail-closed
behavior; the development-only `VONTRA_ALLOW_UNSANDBOXED_COMMANDS=1` escape hatch is unchanged. Details and review
history: [SANDBOX-REVIEW.md](SANDBOX-REVIEW.md).
## Linux command sandbox — follow-up branch

The bubblewrap backend is implemented on this branch and stays **opt-in**
(`TENSORFOLD_LINUX_SANDBOX=1`) until a maintainer decides otherwise. It pins every repository it
finds under the workspace — including repositories inside dependency folders and nested worktrees —
and refuses instead of protecting only some.

Limits, stated rather than hidden:

1. A workspace with no repository is refused: bwrap mounts paths and cannot deny creating `.git` by
name, so the sandbox requires metadata it can pin.
2. The walk refuses at 32 directory levels or 50,000 directories rather than silently pinning a
subset, and it refuses when it cannot inspect a path (permission denied, I/O error) instead of
skipping a directory that could hold a repository. A workspace that trips any of these keeps
commands refused.
3. Control entries a repository does not have yet (`config.worktree`, `hooks`, `info`) are mounted
read-only from empty placeholders, which bwrap creates as empty files or directories inside
`.git` on first use. A writable run therefore cannot add or edit them.
4. A worktree's `.git` pointer file is mounted read-only and its gitdir and shared directory must
stay inside the workspace; anything else is refused before a command runs.

The development-only `VONTRA_ALLOW_UNSANDBOXED_COMMANDS=1` escape hatch is unchanged. Details and
review history: [SANDBOX-REVIEW.md](SANDBOX-REVIEW.md).

## Connecting to a Mac engine

Expand Down
6 changes: 5 additions & 1 deletion app/electron/agent/engine/hub.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,9 +126,13 @@ async function main() {
assert.ok(blocked.calls.filter((url) => url.endsWith('/config.json')).length <= 6, 'same-origin redirect loops are bounded')
}

// Installed already.
// Installed already, with or without an app-managed selection.
const installed = await preflightRepo('mlx-community/Qwen3.5-2B-MLX-4bit', null, context(ok.fetchImpl, { installed: new Set(['mlx-community/Qwen3.5-2B-MLX-4bit']) }))
assert.equal(installed.verdict, 'installed')
const selected = await preflightRepo('mlx-community/Qwen3.5-2B-MLX-4bit', null, context(ok.fetchImpl, { installed: new Set(['mlx-community/Qwen3.5-2B-MLX-4bit']), installedRevision: async () => SHA }))
assert.equal(selected.verdict, 'installed')
const external = await preflightRepo('mlx-community/Qwen3.5-2B-MLX-4bit', null, context(ok.fetchImpl, { installed: new Set(['mlx-community/Qwen3.5-2B-MLX-4bit']), installedRevision: async () => null }))
assert.equal(external.verdict, 'installed')

// Unsupported family, and a drafter on its own.
const gemma = mockHub(repoRoutes('google/gemma-9', { modelType: 'gemma4' }))
Expand Down
5 changes: 3 additions & 2 deletions app/electron/agent/engine/hub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,9 +173,9 @@ export interface PreflightContext extends HubDeps {
// App admission policy per checkpoint family: a user load-limit override applies to its own family only.
memoryLimitFor?: (modelType: string | null) => { bytes: number; basis: string }
installed: Set<string>
installedRevision?: (repo: string) => Promise<string | null>
drafterFor: (repo: string) => string | null
cachedBytes: (repo: string) => Promise<number>
freeDiskBytes: () => Promise<number | null>
now?: () => number
}

Expand Down Expand Up @@ -218,7 +218,8 @@ export async function preflightRepo(repo: string, revision: string | null, ctx:
const neededDiskBytes = Math.max(0, totalBytes - cachedBytes)
const freeDiskBytes = await ctx.freeDiskBytes()
const fitsDisk = freeDiskBytes == null ? null : freeDiskBytes >= neededDiskBytes + DISK_HEADROOM_BYTES
const installed = ctx.installed.has(repo)
const selectedRevision = ctx.installedRevision ? await ctx.installedRevision(repo) : null
const installed = ctx.installed.has(repo) && (selectedRevision == null || selectedRevision === sha)

const reasons: string[] = []
if (!modelType) reasons.push('Its config.json names no model_type, so no engine family can be matched.')
Expand Down
4 changes: 2 additions & 2 deletions app/electron/agent/engine/model-hub.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ interface ModelHubOptions {
totalMemoryBytes: number
capabilities: () => Promise<EngineCapabilities>
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 Expand Up @@ -54,7 +54,7 @@ export class ModelHub {
const result = await preflightRepo(repo, revision, { ...this.deps(),
families: caps.families, familyTitles: FAMILY_TITLES, totalMemoryBytes: this.options.totalMemoryBytes,
memoryLimitBytes: memory.limit, memoryBudgetBytes: memory.budget, memoryLimitFor: memory.limitFor,
installed: new Set(installed.map((m) => m.repo)), drafterFor,
installed: new Set(installed.map((m) => m.repo)), installedRevision: this.options.installedRevision, drafterFor,
cachedBytes: (r) => repoCachedBytes(this.options.cacheDir(), r),
freeDiskBytes: () => freeDiskBytes(this.options.cacheDir()),
})
Expand Down
Loading