Skip to content

TensorFold 1.3.8

Latest

Choose a tag to compare

@ashhart ashhart released this 02 Dec 07:56
· 97 commits to main since this release

TensorFold 1.3.8

Upgrade from 1.3.7 for Inkling 2 Mini EXL3 on Metal, the fix for 1.3.7's drafted Qwen3.8-27B four-stream loss on CUDA (+2.3% to +3.1% at four greedy streams on GB10, identical tokens; #5490, fixes #4439), SenseNova-Loop-9B, and hardening across the server, multi-host ranks and --confidential. Every release read compared tokens with 1.3.7 and found them equal on every prompt row.

Before you upgrade

  • Multi-host groups (GLM, Nemotron, Flash Next pairs, fabric/tp): give every rank the same secret with
    TF_RANK_SECRET_FILE or --rank-secret before upgrading any host. Ranks on one host need nothing (#3041).
  • Checkpoints that 1.3.7 loaded and 1.3.8 refuses:
    • Qwen3.5/3.8 checkpoints with stray tensors (#4577);
    • unmarked GLM nonmoe.tffpw records over 16,384 rows: re-encode them as the refusal says (#5630);
    • TFPW shards whose XXH64 doesn't match (#5350).
  • --confidential deployments: clear LD_*, GLIBC_TUNABLES and DYLD_* from the environment, attach no tracer,
    and on macOS turn on encrypted swap (#5408, #5417, #5641).
  • Clients of /v1/messages that sent a trailing assistant message expecting a new turn now get its continuation
    (#3548).
  • Log and metric readers: the done line has new fields, and /metrics has new series (#3703, #5695).
  • Restoring the old paths: TF_QWEN_DRAFT_FULL_HEAD=0 (#5490), and TF_GLM_GATHER_POST=0 with
    TF_GLM_SHARED_EXPERT=0 (#5679).

Known issue

  • Inkling 2 Mini EXL3 on Metal, fast profile (#5917): the default fast profile picks its prompt chunk size from the Mac's memory, so 1 prompt row in 12 can give different tokens across Macs with different memory, or against TF_INK_FAST_PROFILE=0. Measured on an M3 Ultra and an M5 Ultra. The fast profile is about 4x faster on prompts and 2x faster on decode, so it ships on. Set TF_INK_FAST_PROFILE=0 for tokens that don't depend on the Mac. A fix that keeps the speed is in testing for the next release.

Release checks

Each read served the same model with 1.3.7 and with the 1.3.8 release commit, greedy, twice each in alternating order, and compared every prompt row's tokens and the prompt and decode speeds. "Equal" means every prompt row gave the same tokens.

Hardware Models read Result
Apple M5 Ultra (Metal) Qwen3.8-27B 4-bit (prompts to 32K, sweeps, long chat), the same with the DFlash2 drafter, Inkling 2 Mini, GLM-5.3-Flash TFQ3, Qwen3.8-Flash-Next Equal on every model; prompt speed at 8K up 1.2% (Qwen) and 1.5% (Inkling), decode flat
Apple M3 Ultra (Metal) Qwen3.8-27B 4-bit, Inkling 2 Mini, GLM-5.3-Flash TFQ3 Equal; speed flat
Apple M5 Ultra and M3 Ultra (Metal) Inkling 2 Mini EXL3 (new in 1.3.8, so no 1.3.7 run) Repeats give identical tokens; on M5, a 2K prompt's first token in 0.39 s and about 226 tok/s decode
GB10 (CUDA, three boxes) Qwen3.8-Flash-Next NVFP4 (prompts to 64K, sweeps), Qwen3.8-27B NVFP4 sweeps, Qwen3.8-27B 4-bit long prompts and drafted sweeps, Nemotron Equal; speed flat
GLM-5.3-Flash NVFP4 at TP=2 (two GB10s) Prompts and decode at one and two streams Equal in all four runs; prefill flat at about 1,645 tok/s
AMD Strix Halo (HIP, gfx1151) Qwen3.8-27B 4-bit Equal; speed flat
CUDA fatbins sm_80, 86, 110, 120 and 121 Built from the release commit

The RTX 5090 (sm_120) read was not run for this release; its fatbin was built from the release commit but not served.

Changes

  • Inkling 2 Mini EXL3 on Metal: --parallel lanes are capped to what the stream-state pool holds for short requests, so a 16 GB Mac at --parallel 8 runs 5 lanes instead of failing extra streams with InklingStateFull; larger Macs keep every lane. Thanks @grantoverton.

  • Qwen3.5-2B on Metal: the forward runs on a concurrent encoder with same-input launches fused and greedy tokens picked on the GPU, with identical output (TF_QWEN35_METAL_SERIAL=1 restores the serial path).

  • GigaChat 4: a host-only family package (config admission, FP8 and BF16 weight maps, layer plans, norm sites, memory floors) checked against the 708B release; the 37B checks run against a local copy of its headers. Thanks @rootsbymenda.

  • Inkling 2 Mini on CUDA: prompt Q, K and V in 128 x 64 tiles with the same fmaf chains; with #5841, prompts run about 2.2x faster on a DGX Spark with identical tokens. Thanks @jschmied.

  • Engines: every engine init made with create applies its struct's field defaults, so served paths no longer read uninitialised fields (Flash Next CUDA pocket row scales, Flash Next Metal penalties, Qwen3.8-27B saved-state spares, DeepSeek V4.1 boot check, GLM Metal round fence); a host test guards it.

  • Qwen3.5 CUDA: a loop schedule no longer implies SenseNova's arithmetic; only a sensenova_loop config does. (#5891, from #5806). Thanks @philip-pentatonic.

  • CUDA kernel contract: the GLM wide-expert fact-down cases simulate their fp32 sums, so gate 4 checks them (#5869).

  • CUDA kernel contract: five launch-limit records match their live kernels again (nvcc 13.0) (#5862).

  • ERNIE 5.5 CUDA tests: the DSA layer gate on synthetic weights, split across two ranks and unsplit (#5851). Thanks @Bizuayeu.

  • Inkling 2 CUDA: bf16 row dots on prompt chunks of 129 rows or more take 32 x 16 tiles, with the same sums (#5841). Thanks @jschmied.

  • Tests: the Inkling 2 Metal host tests compile again after the relative-bias reuse (#5872). Thanks @jishnuvenugopal.

  • Multi-machine links: a peer's frames can no longer make a rank over-allocate or read past a layer (plan link, cluster exchange, KV handoff manifests), and a fuzz test covers every peer-frame decoder (#5840).

  • HIP prompt attention tile (tf_fa_paged_*, tf_fa_wide_*): a row that meets a NaN attention score before any finite one now gives NaN, as float64 does, instead of 0 or a finite value. Replies change only where a NaN or infinity was already in the attention inputs (#5192, refs #1821). Thanks to @AbrahamCete.

  • Tools: pr_check.py takes unchanged files' text from the base blobs instead of reading every file from disk, with the same findings; much faster on Windows (#5864). Thanks @Bizuayeu.

  • Inkling 2 on Metal: decode runs its six attention projections as one dispatch over the six output segments, each row computed exactly as by its own projection; on an M3 Ultra Inkling 2 Mini decodes 3% faster at one stream and about 1% faster at four, with every token unchanged (#5005). Thanks to @gilby.

  • Tests: the Metal limits contract resolves the Flash Next penalties launch instead of failing it as unknown (#5819). Thanks @jishnuvenugopal.

  • CUDA (GLM vision): the q/k norm sums go through the shared tf_common::warp_sum, with the same machine code (#5852). Thanks @lxman.

  • Hunyuan-4 Flash: native CUDA W8A16 serving on two and four GB10s (tensor parallel), with BF16 Engram rows through the shared lookup (#5634). Thanks @GrgaPalcic.

  • Metal (Nemotron-3.5-Lightning): drafted output equals plain decoding again on M1 Macs; drafted verification runs the one-row attention plain decoding uses (#5827, fixes #5223).

  • Diagnostics: TF_EXPLAIN=1 logs which kernel or path each operation group took and why a faster one was not chosen (Qwen3.5 on CUDA and Metal, Inkling 2 on Metal); off by default (#5671).

  • Loading: the checkpoint prefetch planner hands back an exact copy of its read spans, so its allocation no longer depends on the heap's layout (#5828). Thanks @Bizuayeu.

  • CUDA (Windows): Flash Next INT4 kernels build with NVCC on Windows; the explicit instantiations carry the same qualifiers as their definitions (#5822). Thanks @Maharajahu.

  • Inkling 2 Mini on Metal: full EXL3 trellis engine and DFlash2 stack (Refs #4475) (#5610). Thanks to @grantoverton.

  • Kolibri-1: one real layer on Metal and CUDA is judged against the float64 reference within a stated bound, with planted faults that must go red (tests only; #5759). Thanks @jschmied.

  • ERNIE 5.5: the HCA layer gate runs a whole HCA block on synthetic weights, the same bytes unsplit and on two ranks (#5794). Thanks @Bizuayeu.

  • CUDA: SiTU activation rows (tf_situ_rows) in the core act_rows image, sharing one body with the MXFP4 experts, with the same output bits (#5817). Thanks @Bizuayeu.

  • Quality suite: MMLU and long-context replies get 512 and 1024 tokens (were 32 and 48), so a thinking model that keeps its thinking on reaches an answer; the suite digest is now cb6d38c977a7, and the catalog keeps citing the earlier receipts until each checkpoint is run again (#5751). Thanks @joshuaswarren.

  • Flash Next on CUDA: Living Weights lessons train again. A training pass's kept read-out had too little scratch since the prompt scratch was sized by use, so every lesson stopped at its first training pass with UnexpectedTensor and kept nothing; serving is unchanged (#5792).

  • HIP: Inkling 2 dense bf16 projections under HIP-DOT-Q4, with their kernel contract; Inkling 2 HIP modules share one family module (#5797). Thanks @AbrahamCete.

  • Inkling 2 CUDA: a Mini sliding layer runs its message attention once and its three roles' gates and mixes as one launch each, with the same output bits (#5745). Thanks @jschmied.

  • CUDA: the opt-in two-stage Qwen prompt tile asks for two CTAs an SM (nvcc 13.3 gave it one on GB10), and a stages2 occupancy refusal fails that kernel alone instead of stopping the whole kernel contract (#5763, fixes #4951).

  • Flash Next Metal: wide per-layer-embedding (PLE) row batches are read on the host worker threads, with the same output bits (#5758). Thanks @noskodev.

  • ERNIE 5.5: synthetic weights for the layer gates, each tensor made from its name, with the same bytes from Zig and Python (#5578). Thanks @Bizuayeu.

  • Inkling 2 CUDA: DFlash2 drafting, exact against plain decoding, with kernel-contract records and an opt-in per-round trace (TF_INK2_ROUND_TRACE) (#5762).

  • Tests: the load-prefetch allocation-failure test refuses resizes, so it passes from a checkout at any path length (#5772). Thanks @Bizuayeu.

  • Kolibri-1: scratch rows and sliding rings are sized from the serving context instead of a fixed 8,192-row grid, with the same output tokens (#5476). Thanks @jschmied.

  • Inkling 2 Mini on Metal: each relative-bias value is computed once per visit and key with the same bits, and the series fixes the attention geometry it needs; output is unchanged (#5664).

  • Inkling 2 Metal: FP8 weights decode through an exact LUT with UE8M0 scales, and wide rows run in parallel, with the same output bits (#4683). Thanks @gilby.

  • MOSS-Image: runtime LoRAs chosen per request ("loras" in POST /v1/images/generations, up to 8, from TF_LORA_DIR) on top of the checkpoint's own bf16 weights through one exact path; nothing is merged, and requests without LoRAs are unchanged (#4732). Thanks to @ZackSample.

  • Qwen3.5 CUDA: opt-in TF_QWEN_LAZY_SAVE=1 keeps a saved prompt state's key/value rows in the cache that wrote them and copies them to the host only when needed, so resuming the same conversation copies far less (default off; #5765). Thanks @jojomondag.

  • Tests: the Kolibri-1 CUDA layer tests (kolibri-reference, kolibri-layers) refuse an IDs fixture shorter than their cases read, and the float64 reference refuses a token ID past the vocabulary, each by name instead of reading past the buffer; nothing served changes (#5790).

  • Tests: the prompt-cache borrowed-spill test waits on the write's completion instead of on scheduling, so it no longer flakes under load (#5750).

  • Build: Windows host steps skip the WindowsApps python3 alias, so the Metal lint step runs there (#5749, fixes the Windows failure from #5691).

  • HIP: Inkling 2 Mini's per-stream state and prompt snapshots on one HIP rank, saved and restored byte for byte (not yet used by serving; #5728). Thanks @AbrahamCete.

  • Inkling 2 Mini on Metal: plain decode can pick its tokens on the GPU with TF_INK2_GPU_TOKENS=1 (default off); tokens are unchanged and decode is 2.5-5% faster from 510 to 16K tokens on an M5 Ultra (#5655).

  • Inkling 2 CUDA: prompt snapshots persist through the kept-image disk store, with identity checks and safe fallback on bad images (#5731).

  • inkling2 cuda: Mini streams share one cache allocation; one attention launch per group over all streams (#5696). Thanks to @jschmied.

  • Web: the packaged page is rebuilt from the current web/ui sources (#5766).

  • deepseek_v41: a kit with no paged _fused prints the paged contract cases as not run (#5741). Thanks to @Defilan.

  • App: images returned by MCP tools stay in the conversation and reach the next model request, with trust labels and byte limits (#5740).

  • GLM-5.3 on two GB10s: TP2 decode sums the ranks and applies hc_post inside the RoCE gather, and runs the shared expert beside the routed experts, with identical output (TF_GLM_GATHER_POST=0, TF_GLM_SHARED_EXPERT=0 restore the old paths) (#5679).

  • HIP kernels: Inkling 2's attention at each layer's own bias extent (256 and 128 rows beside Mini's 1,024), zero-padded, with exact extent checks; for tiny-inkling2-mini (#5499, part of #4265). Thanks to @AbrahamCete.

  • cuda: select MT2 row-tile decode attention on 170-SM sm_120 cards too (RTX 5090) (#5733). Thanks to @jojomondag.

  • Hexagon: a Gemma embedding-scale kernel for Qualcomm Hexagon V75 with a host fixture test and an on-DSP contract runner (test-hexagon-scale-host, hexagon-kernel-contract); not used by serving (#5607). Thanks @tgerighty.

  • feat(hip): Inkling 2's routed experts under HIP-DOT-Q4, the HIP column's serial dot baseline (#4994). Thanks to @AbrahamCete.

  • Prompt cache: the disk tier writes a page to SSD only on its second sighting and keeps recently read SSD pages in a RAM cache that empties below a free-memory floor; stored bytes are unchanged (#5681).

  • GLM CUDA: a state pass that would not fit the index ring's remaining rows is refused with an error instead of writing past the ring into its neighbour; the rebase before the refusal still completes, and no reachable default-path step changes (#5395). Thanks to @BadAd84.

  • App: MCP servers over Streamable HTTP, with encrypted endpoint-bound credentials and paginated tool discovery (#5739).

  • Server: /v1/completions takes a suffix for fill-in-the-middle prompts; requests without a suffix are unchanged (#3528).

  • Tooling: zig build test-metal-lint-host statically checks every assembled Metal library for threadgroup storage outside kernels, mixed-width kernel inputs and undefined calls, on any OS (#5691).

  • GLM-5.3-Flash on CUDA: routed TFQ3 (TFPWv3 3/4/5-bit experts) checkpoints load and run at tensor-parallel 2 and 4 instead of failing with UnsupportedQuant; dense TFQ3 and TFQ4 TP layouts are refused by name, and TP1 TFQ3/TFQ4 dispatch is unchanged (#5558). Thanks to @aakaash9.

  • Inkling 2 Mini: CUDA and Metal share one per-head kept-state walk for prompt-cache save and restore, and the DSpark lane host is shared with one tokenBytes; replies and speed are unchanged (#4724). Thanks @jschmied.

  • Metal kernel contract: register the Llama QKV bias kernel and free the Qwen3.8-27B precision fixtures once (harness only; #5712).

  • tokenizer: skip the stable prefix during Unicode normalization (#5621). Thanks to @khaine-dev.

  • New engines/vulkan_tf: a standalone AMD Vulkan 1.2-1.4 LLM and VLM engine with a Zig SPIR-V compiler, GPU TFQ3 quantizer, C ABI, Python SDK and OpenAI-compatible server (#5711).

  • Server: a Qwen Metal run with GLP steering no longer reports a known execution witness; the GLM two-host CUDA recipe passes a rank secret, and the run guide points to the current quick starts (#5663, refs #5177, #3624, #3626).

  • Server: /metrics exports tensorfold:request_prompt_tokens, each finished request's prompt tokens (cached ones included) as a histogram under vLLM's name, on vLLM's 1-2-5 buckets up to 1M tokens, so dashboards that read vLLM's prompt-length histogram get a p50/p95 from TensorFold too (#5695). Thanks @wilfoa.

  • HIP kernels: Inkling 2 Mini's loop (cross-pass message and the message gate's two halves) as a new inkling2_loop kernel group with its launcher and kernel-contract entries at Mini's and the tiny checkpoint's shapes; kernels only, nothing served uses them yet (#5012, part of #4274). Thanks to @AbrahamCete.

  • deepseek_v41: CUDA decode attention runs a 24-head share's partial last head tile (#5480). Thanks to @Defilan.

  • ERNIE 5.5 on CUDA: the output gate (z times bf16(sigmoid(g)) at the reference roundings) under the kernel contract; nothing serves it yet (#5538). Thanks to @Bizuayeu.

  • Vulkan (opt-in, built with -Dvulkan=true): a native engine for dense Qwen3.5-2B (MLX 4-bit, group 64) on one GPU: greedy decoding, chunked prefill, the shared lane host and server, every new kernel under the kernel contract; sampling, drafts, tensor parallel and vision are refused (#1544 and #1990, landed with #5193; part of #1420). Thanks to @joshuaswarren.

  • Vulkan: a dispatch records a barrier only when it conflicts with an earlier one, 2% to 20% less run time on a 13-inch M1 and a 16-inch M1 Max with the same logits (#2038). Thanks @joshuaswarren.

  • The Vulkan engine records its dispatches into one command buffer and submits when 128 are waiting, or when the next upload, download or fill needs the queue, instead of one submission and fence wait per dispatch. Each pipeline holds a ring of 256 descriptor sets. No kernel changes, so the logits are byte-identical. On a 13-inch M1 with Qwen3.5-2B 4-bit and tiled projections, a run took 56.0% less time on a 24-token prompt, 42.0% less on a 256-token document and 30.1% less on a 1,024-token document. On a 16-inch M1 Max, it took 84.1%, 82.5% and 61.8% less time on those inputs; the 256-token cell was noisy. Receipts: docs/receipts/vulkan-submit-batch-m1 (#2016, landed with #5193). Thanks @joshuaswarren.

  • Vulkan: qmm_q4_tile reads the 4-bit projection from 32-column tiles, 29% to 67% less run time on an M1 with the same logits (stacked on #1990) (#2015). Thanks to @joshuaswarren.

  • Vulkan: Qwen3.5 prefills in 64-row chunks, cutting first-token time by 12.7% to 16.2% at 512 to 4,096 keys over five paired runs a size on an RTX 5060 Ti, with identical token IDs (#3401, refs #1420). Thanks to @joshuaswarren.

  • Vulkan: the 4-bit tile kernel computes four rows and two columns of a prompt chunk per thread, cutting prompt run time on Apple M1 (Honeykrisp) with identical logits; it falls back to the previous tile when a grid exceeds the device limit (#2017). Thanks to @joshuaswarren.

  • flashnext: decode FP8 PLE rows through a per-table BF16 LUT (#5631). Thanks to @kckylechen1.

  • cuda: GLM glue and index warp reductions through tf_common (P3 of #4861) (#5694). Thanks to @devopsfortunato.

  • xpu(tp): cyclic-ring staggered P2P AllGather with per-peer event waits (+38% TP=4 busbw) (#5686). Thanks to @supernovae.

  • Kolibri-1: Metal against CUDA on the seeded checkpoints, every token and ordered route equal on the decisive cases (#5653). Thanks to @jschmied.

  • DeepSeek-V4.1: three ranks' 24-head prefill shares run the padded 32-head core, checked under the kernel contract; serving still refuses three ranks (#5461, refs #2270). Thanks to @Defilan.

  • Tools: tools/bulk_openai.py runs a JSONL file of requests against an OpenAI-style endpoint with bounded concurrency and safe resume, and tools/bench_trace.py replays seeded arrival schedules and judges TTFT, TPOT and end-to-end SLOs together (see docs/bulk-and-trace.md; #5659).

  • Prompt cache: groundwork for an opt-in per-page disk tier (checked page-tier files, one root lock shared by writer and startup, crash-left temporary cleanup); nothing served uses it yet (#5689, part 1 of #5688).

  • Inkling 2 Mini on Metal: TF_INKLING2_BATCH_RESET=1 (opt-in) batches prompt-reset row copies and cached-attention reset launches, about 2.5% less prompt time on an M5 Ultra with identical output text; default off (#5690).

  • Cortheon: Spanish research requests (including accented capitals) route to research, and small-context servers get a research budget sized to their window; the full-context planner text is unchanged (#5325). Thanks to @robertosantosx2.

  • XPU: the FlashNext standalone runner builds again as well: it also gets its device_id import (#5685, thanks @supernovae).

  • CI: pull requests run the Linux jobs; the Windows, macOS and second Linux test jobs run on main, nightly and on demand, where landing trains already cover those platforms (#5669).

  • XPU: the Qwen3.8-27B runner builds again: it gets its device_id import (#5646, fixes #5629, thanks @devopsfortunato).

  • GLM-5.3-Flash on CUDA, opt-in and off by default: TF_GLM_DRAFT_NOISE makes a sampled stream's DFlash2 draft pick follow the target's own keyed draw at each token's position, so more drafts survive verification; TF_GLM_DRAFT_EDGE, TF_GLM_DRAFT_BETA and TF_GLM_DRAFT_CUTS weight the selector's codebook term, set the drafts' chance temperature and choose the chain cut by the number of streams in a pass. Drafts only: replies are unchanged, and with every knob unset the picks, chances and rounds are exactly as before (#5734). Thanks to @BadAd84.

  • Kolibri-1 on Metal, slice 1: core Metal blocks and a synthetic-checkpoint forward, checked by an exact token and route gate against a float64 reference; no served path changes yet (#5529). Thanks to @jschmied.

  • Tests: the start-CLI Ctrl-C test for deferred downloads works when the test runner was started with SIGINT ignored (#5650).

  • Tests: the Hunyuan-4 Flash NVFP4 weights host test asserts its expected BF16 rejection instead of printing it as a mismatch (#5649).

  • CUDA: Flash Next's FZ_ switches take exactly 0 or 1, and malformed TF_FLASHNEXT_* settings are refused at startup by name with their accepted forms, before the loader takes a stream (#3512).

  • Server: --confidential starts on macOS when the system's swap is encrypted, read from vm.swapusage in place of mlockall, which Darwin lacks, and refuses with a fixed message when it is off or unreadable (#5641, refs #5638). Thanks to @kotevcode.

  • TFQ3: PWV3 tables declare absolute row signs; an unmarked GLM nonmoe.tffpw record over 16384 rows is now refused before upload, naming the record and how to re-encode it, instead of decoding with possibly wrong signs; other families and routed experts load as before (#5630). Thanks @jbrownfield for the report.

  • Inkling 2 Mini on Metal: DFlash2 drafting now uses the shared adaptive draft-length rules (per-slot walk chances, fixed-block slack, copy-first and per-lane proposal clearing), so draft lengths follow each slot; drafted tokens match plain decoding (#5619, refs #3621). Thanks to @cwschroeder.

  • Living Weights: with --slide and --slide-forget, the server counts how often each learned fact fires in successful requests and keeps the counts and pins in the folder; POST /v1/slide/facts/ID/pin pins or unpins a fact, and a lesson that finds the pocket full retires the least-used unpinned fact through the checked delete before it retries; without --slide-forget nothing new is counted or written (#2026).

  • Qwen3.8-27B on CUDA with --kv-cache fp8: TF_QWEN_DECODE_W2=1 (off by default) sends a decode window of 6 to 10 rows of one stream over a whole cache of at least 139,264 tokens through a warp-per-tile attention kernel with two blocks an SM, where MT2 is not taken; its partials are byte-identical to tf_q35_attn_rows8_whole's, so tokens are unchanged (#5640, refs #5309). Thanks to @jojomondag.

  • Qwen3.8-27B on CUDA with --kv-cache fp8: TF_QWEN_PROMPT_SPLITK=1 (off by default) runs a prompt chunk of at most 64 rows through split passes that spread the cached keys over every SM, so a short turn after a long kept conversation reaches its first token sooner; outputs are byte-identical to the tile kernel's, and TF_QWEN_PROMPT_SPLITK_VERIFY=1 checks every such chunk against it (#5507, refs #5309). Thanks to @jojomondag.

  • App: the request log shows each request beside its reply, and a reply read from the log keeps its request and model (#5541, refs #3666). Thanks to @devopsfortunato.

  • Server, Qwen3.5 and GLM: the three busiest 600-line sources (the start-CLI tests, Qwen3.5's CUDA engine launch wrappers, GLM's CUDA engine prompt pass) split into their own files, leaving room under the cap; no call site changes (#5583).

  • Start: each platform's quick start is one command into managed start --check, and Windows now uses the managed start path instead of refusing it; no inference path changes (#5589, part of #3626).

  • CUDA: the captured-kernel loaders, generic and DeepSeek-V4.1, refuse a spec by kernel name with error.PdlMismatch when its launch pdl disagrees with its PDL constant (a spec with no PDL constant may launch only without PDL, and a malformed one is refused), checking every spec before any module loads; matching specs load and launch as before (#2899, refs #2715).

  • Metal: opt-in GLP additive control vectors for Qwen3.8-27B through --glp FILE and --glp-alpha, in the GLP format of the weightless project; startup reports the escaped filename, the file's SHA-256 and that replies are steered, other modes and malformed files are refused, saved conversation states carry the file hash and strength in their identity, and output is unchanged without --glp (#1835, fixes #1834). Thanks @BlivionIaG.

  • Metal contracts, Qwen3.5 CUDA drafts and Qwen27 lanes: four more busy 600-line sources split into their own files, leaving room under the cap; no call site changes (#5595).

  • Inkling 2 Small EXL3 on Metal: the non-looped 48-layer forward, its Metal ops with kernel-contract gates and launch-limit records, and disk-pack loader and oracle tests; Inkling 2 Mini is unchanged (#5105). Thanks to @trozzelle.

  • Qwen3.8-27B on Metal: prompt-attention threadgroups whose keys all lie past the causal edge write empty partials and return before any barrier, and other chunks stop their key loop at that row's last 32-key tile, so a prompt pass stops reading keys every row masks out; partials, mixer bytes and outputs match the old kernels' (#2926).

  • Qwen3.5 on CUDA: DFlash2 drafting with ModelOpt .ql heads splits a hold of 18 or more streams into frames under the fused 256-row limit, so those streams get drafts instead of a refusal; drafted tokens match plain decoding (#4682). Thanks to @devopsfortunato.

  • Hunyuan-4 Flash CUDA gains paged sparse-indexer kernels with causal selection, exact pooled-score paging contracts and 43 planted controls (#5095). Thanks to @GrgaPalcic.

  • Server: a list of strings in chat_template_kwargs.hidden_tools now reaches the chat template as hidden_tools, so a template that filters its tool block by it shows only the chosen schemas; templates that do not read it render as before (#5537). Thanks to @hieulengoc.

  • Server: POST /v1/audio/speech accepts speed absent, null or 1 and sends the same audio as before, where it used to refuse any speed; with the new --speech-speed flag (off by default), a speed from 0.25 to 4 stretches the finished take to its length divided by speed with its pitch kept, and a streamed reply takes speed 1 only (#3137).

  • Server: under --confidential, every key's Responses API calls are stateless, so no reply is kept for a later read (#5186). Thanks to @kotevcode.

  • Inkling 2 Mini on CUDA: opt-in batched DSpark drafts with --drafter (the checkpoint's bundled MTP head, up to four draft streams per verify); without --drafter served output is unchanged (#5346). Thanks to @plotarmordev.

  • Tests: three 600-line test files (pull containment, request journal, Inkling 2 ModelOpt contract fixture) split under the cap; test names and production code unchanged (#5600).

  • Prompt cache: each finished request's done line names why its prompt resumed no further (cache=<reason> of 18, with at=<N> lost=<L>), and /metrics adds tensorfold:prompt_cache_lookups_total{reason} and tensorfold:prompt_cache_lost_tokens_total{reason}; opt-in TF_CACHE_WHY=1 also adds tensorfold.prompt_cache to each reply, off by default because the reason is measured against every client's kept prompts, so it suits a single-user server. The paged radix store and DeepSeek-V4.1's session store follow in step 2 (#3703, for #3686).

  • Tests: metal_limits.zig's family resolver arms move into metal_family_limits.zig to stay under the 600-line cap; every launch resolves as before (#5571).

  • Metal Qwen3.8-27B: TF_METAL4=1 now also sends the Qwen3.8-27B decode round (target verify and DFlash2 draft) through Metal 4 command buffers and argument tables on macOS 26, with the same kernels in the same order (#4563).

  • Tests: zig build test-metal-compile now runs in pull-request macOS CI and compiles every runtime Metal source with its loader's options and defines; exact host provenance rejects unregistered exports, wrong compiler options or altered prefixes, with a planted duplicate-attribute compiler failure (#5347, refs #4593).

  • Hunyuan-4 Flash CUDA gains paged absorbed MLA and C1/C2 kernels with exact paging/indexed-list contracts and five-SM launch records (#5109). Thanks to @GrgaPalcic.

  • Tests: the Qwen27 mixed-input Metal byte checks now run their 2,048-row cases on GPUs without tensor units too (#5587, fixes #2940).

  • Server: --confidential refuses image, video and PDF input and loads libraries only from the engine's folder, system folders or listed CUDA names (#5344, part of #5176). Thanks to @kotevcode.

  • Qwen3.5 on CUDA can select BF16 input-embedding residency for ModelOpt and compressed-tensors NVFP4 checkpoints; auto uses host rows when device-memory admission requires them, while device and host request explicit placement (#5052, for #4942). Thanks to @tacosta.

  • Platform: environment.zig's settings table moves its DeepSeek V4.1 rows into environment_dsv41_rules.zig to stay under the 600-line cap; every setting, default and refusal is unchanged (#5568).

  • Tests: the Inkling 2 Router kernel-contract gate's baseline now uses the compact per-expert item offsets the Router writes, so the gate passes on main; test-only (#5565). Thanks to @jschmied.

  • Docs: the Qwen3.8-27B recipe notes TF_DSPINE_WINDOW=4096 as an optional setting for agent work on the measured sm_120 card, with RTX 5090 results by text kind as the caveat; the checkpoint's own window stays the default (#5544, thanks @jojomondag).

  • Sampling: host draws through gpu_rule.sample and gpu_full.plan, which serve streams that share a round, keep their top_k and top_p candidates with a bounded heap or a selection instead of sorting every logit in the row, and every draw keeps its token (#3455, fixes #3396).

  • Tests: ERNIE 5.5's window-merge host test frees its token buffer when the count buffer's allocation fails (#5535, thanks @Bizuayeu).

  • Qwen3.8-27B on Metal: TF_Q27_PHASE_TRACE (off by default) writes one timing line per drafted round, with Metal command-buffer times around verify, drafter head and pick, for profiling; output is unchanged (#5171).

  • Serve: with --execution-witness and --confidential, the witness snapshot and each reply's binding carry "confidential": true and the preparation hash binds the flag; witnesses without --confidential are unchanged (#5187, thanks @kotevcode).

  • tools/bench_cache_agents.py run --trace agent_edits replays agent conversations after a history edit: at the midpoint each conversation's first user message is rewritten and its history regrown (#5450, thanks @devopsfortunato).

  • MiniMax-H3-Image on Metal: edits run end to end with TensorFold's own tools: Qwen3-VL's vision tower takes opt-in DeepStack taps, and tf-h3-image-vision reads a reference image and writes its prompt rows and DeepStack features; Qwen 3.5 checkpoints load exactly as before (#2810).

  • Metal: the bf16 SiLU and the tanh GELU's inner term come from one shader source shared by the core, Qwen vision, Gemma 4 vision and Llama glue kernels; outputs are unchanged (#5204, thanks @jschmied).

  • Reports: the serving line, /v1/load and /stats now show the draft model's KV cache size, dtype and scope next to the target's, for every family with a drafter or MTP head (#4538).

  • Qwen 3.5 on CUDA: SenseNova-Loop-9B (sensenova_loop) serves in BF16, text only, on the looped schedule (physical layers 0-3, 4-27 twice, 28-31) with its mHC stream routing, one copy of the weights and a cache slot per execution; drafts, vision, pipeline stages and tensor parallel are refused for it, and other Qwen checkpoints run as before (#3723, refs #3717). Thanks to @Maxrio9.

  • Docs: docs/environment-names.md lists TF_CUDA_QWEN_PROMPT_STAGES2 and TF_Q27_METAL4, so the environment-names check passes on main again (#5575).

  • Tokenizer: o200k and Inkling 2 ByteLevel-BPE tokenizers use a streaming pre-tokenizer, a reusable BPE and a deterministic parallel encode in place of the generic regex path; tokens are bit-for-bit the same as the generic path (#5495, thanks @BlivionIaG).

  • Inkling 2 Mini: --thinking-budget and thinking.budget_tokens now close thinking at the budget and the model goes on to answer; with no budget, replies are unchanged (#5402, fixes #5362). Thanks @fcossutta for the report.

  • Tests: the CUDA execution-witness test rewrites its cubin with a different size, so it no longer depends on two writes landing in different timestamp ticks (#5522).

  • Server: under --confidential, errors and log lines carry fixed messages, allowed codes and a request id, never request text (#5348, part of #5176). Thanks to @kotevcode.

  • Flash Next CUDA: the rows store sizes its staging permit from the served window instead of a fixed 1 GiB, so kept states past about 31K tokens are no longer skipped with StagingFull (#5501, thanks @shantanugoel).

  • Inkling 2 on CUDA: an EXL3 launch that runs a layer's five input projections (q, gate, r, k and v) as one rotation and one linear launch, each member computed exactly as by its own launch, passes gates 1 to 4 of the kernel contract with planted controls; nothing serves it yet (#4874, refs #3476). Thanks to @ajensenwaud.

  • Qwen3.8-27B-class Metal: the startup memory margin is an eighth of the Metal working set (1-8 GiB) instead of a fixed 8 GiB, and a prompt frame that cannot fit 512 rows steps down to 128, so 16 GB and 24 GB Macs can serve the 4-bit 9B; Macs with a working set of 64 GiB or more keep the 8 GiB margin (#4158, thanks @jayleaton).

  • App: models downloaded through the app stay in the list on engine 1.3.0 and later (the parser reads startup budget:), and drafter-only checkpoints are hidden from the model picker (#4939, fixes #4407; thanks @devopsfortunato).

  • CUDA on GB10: TF_CUDA_QWEN_PROMPT_STAGES2=1 runs two dense-Qwen 4-bit prompt projections as a two-stage kernel, 2.0-2.6% faster prompts in A/B runs on two separate GB10s (the two projections 17-19% faster in the PR's profile), tokens unchanged; off by default (#5352).

  • Flash Next on CUDA: TFQ3 host-dequantized BF16 slices are freed with the two-byte alignment they were allocated with (#5467, fixes #5459, thanks @devopsfortunato).

  • GLM CUDA: --prompt-cache-disk (and --learn-conversations) now keeps full GLM-5.3 conversation states on disk; the image reads the latent row width, pool size and which caches keep index keys from the state, so GLM-5.3-Flash images are unchanged (#5432, thanks @bjornmonnens).

  • App: the room's Final readiness panel now shows the moderator's final-gate verdict, so it can no longer show all green while the room has not reached FINAL (#5433, thanks @devopsfortunato).

  • CLI: a failed first reply from tensorfold start reports the server's refusal text reliably on a loaded machine, with a 30-second bound so unattended runs never hang (#5379).

  • Multi-GPU groups: every rank connection (the fabric/tp bootstrap, GLM's and Nemotron's liveness lines, the HIP link and the Flash Next pair) proves a shared key with a fresh nonce and an HMAC before its first byte, and a connection that fails is closed without stopping the group; ranks on more than one host need the key from TF_RANK_SECRET_FILE or --rank-secret (#3041).

  • Qwen3.8-27B on Metal (M5): decode and verify rounds take out_proj's group sums from the GDN post and attention merge kernels that write its input, instead of a separate tf_lane_sums launch, with the same bits (#2944, closes #2931).

  • CUDA ERNIE 5.5: the mHC pre step (a row's mixes, Sinkhorn and the collapse's RMSNorm) runs under the kernel contract with planted controls; serving is unchanged (#5301, thanks @Bizuayeu).

  • Desktop setup names each installed model's Use action, shows one Continue once connected, preserves focus when readiness replaces the inline Continue, and makes the Connected status legible (#4826) Thanks @taylorarndt for the report.

  • Add an off-by-default Completion sound preference for focused replies, independent of background notifications and compatible with existing consumers. (#4828) Thanks @taylorarndt for the report.

  • CUDA kernel contract: on sm_120 and sm_121 the grouped EXL3 baseline controls (tf_ctl_exl3_grouped_old_*, main's loop that gate 3 holds the load-ahead kernels to) work out each lane's word indices once, before the k loop, so nvcc 13.3 gives contract_controls one form between identical compiles; the served images are unchanged (#5262, refs #5123). Thanks to @Bizuayeu.

  • TFQ3: Flash Next, GLM and the other TFQ3 readers share one copy of the format's span, overlap and packed-size arithmetic in core/tfq3_format.zig (format move, piece 2); results and refusals are unchanged (#5341). Thanks @jschmied.

  • tensorfold log recognises request-log records by the fields each shape must carry instead of by field count, so a record with an extra field no longer splits a request and its reply into two rows (#5492, thanks @devopsfortunato).

  • Metal: the DFlash2 drafters' RMS norm rows and Nemotron's group norm come from one kernel body each instead of repeated copies; generated kernels and served output are unchanged (#5313, part of #2251). Thanks to @jschmied.

  • Tests: the rows regular-file test no longer shares a temporary path with the block-file test, which made it fail on Windows about one run in three (#5505).

  • Flash Next on CUDA with paged KV (TF_FLASHNEXT_KV_PAGES) no longer reserves pool snapshot slots it never uses, so the prompt cache keeps its whole budget (#5502, thanks @shantanugoel).

  • DeepSeek-V4.1 on CUDA: with slot drafts, every pass's DSpark statics staging region starts int64-aligned, so 13 or 14 live requests at 16 slots no longer stop both ranks with incorrect alignment; with 12 or fewer live requests nothing moves (#3446). Thanks to @jayleaton.

  • CUDA kernels: ERNIE 5.5's DSA key lists (tf_ernie55_window_merge, in a new ernie5_5_index image): each row's indexer top-k picks, then its 128-position sliding window, with the row's count, as the sparse MLA reads them; under the kernel contract against the host's lists; nothing launches it yet, so served output is unchanged (#5211, part of #4926). Thanks to @Bizuayeu.

  • DeepSeek-V4.1 on CUDA: tf-dsv41 follow and tf-dsv41 generate catch SIGTERM and SIGINT once the model has loaded and take the fail-fast path, so the stopped rank aborts its own collectives, every rank gets the reason and exits with code 70; a second stop signal takes the default action (#3232).

  • DeepSeek V4.1 on CUDA: in replay prefill, the decoder pass's mHC boundaries over a short tail (16 rows or fewer) write the second streams buffer instead of the streams in place, so a short prompt's reply no longer depends on which kernel block runs first; longer tails take the same path as before (#3630, refs #2715). Thanks to @BadAd84.

  • Server: a streamed chat, completion or Responses request with return_progress: true receives tensorfold.progress counts (prompt tokens done, total and cached) while its prompt pass runs, before the first token; off by default, and a stream without it is byte for byte what it was (#3216).

  • Docs: docs/environment-names.md lists TF_Q27_FLAT_GLUE, TF_Q27_QK and TF_CUDA_PREFILL_TRACE, so the environment-names check passes on main again (#5513).

  • Build: the module walker matches source paths with either slash, so native Windows builds give cli.zig its flashnext_memory import again and compile-native-cuda-windows builds (#5511).

  • Qwen3.8-27B on Metal (M5, fused attention plans): the norm and RoPE dispatch, as q27_qk_cache_rope, writes rotated K and V straight into the KV cache (contiguous and paged) and Q into the packed qa buffer, padding slots included, so the intermediate barrier and the separate append and pack dispatches go; other chips and unfused plans keep the single q27_qk_norm_rope dispatch, and on an M5 Ultra every cache row and qa byte and the served replies match the previous path (#2960, part of #2940).

  • Server: a reply can continue the conversation's final assistant message, so a client can start it with { for JSON or with an answer's first words. /v1/messages now continues a trailing assistant message as Messages' prefill does, where it opened a new turn before, and /v1/chat/completions does so with "continue_final_message": true. The response holds only the continuation and usage counts the prefill. A request that turns thinking on itself, trailing whitespace on Messages, tool calls and a template that rewrites the message get HTTP 400 by name; with thinking on only by the server's default, the continuation runs with thinking off (#3548).

  • Qwen3.5 and Qwen3.8 (including the 27B) on CUDA: a full load now refuses a checkpoint with tensors the engine never binds, naming the first five; MTP, vision and tied-head tensors are scoped so they never count (#4577).

  • Server: --confidential refuses existing Linux tracers and, where whole-process locking is supported, locks current and future process memory against swap or refuses startup; on macOS, which lacks this locking, the encrypted-swap check stands in for it (#5417).

  • HIP, Qwen 3.5 and Nemotron on one GPU: long prompt chunks keep the next layer queued while they poll for a cancel, rather than draining the GPU at every layer; tokens unchanged, and a cancel still drains before the pass ends (#4887).

  • Qwen3.5 on CUDA: MTP admission charges the target tap ring once per stream, and native inference reserves only its 64-row recurrent log unless slide learning needs rollback snapshots, so the admission bound matches what the engine allocates (#5220, fixes #5134). Thanks to @tacosta for the report.

  • Metal: Inkling 2 with a DFlash 2 drafter now saves and restores the drafter's lane state in the prompt cache, so warm cache hits restore the drafter alongside the target (#5032, thanks @gilby).

  • tensorfold info --hexagon FILE.gguf checks a Gemma 4 E4B IT Q4_0 GGUF export against the Hexagon layout (architecture, text geometry and all 666 tensors) without the Qualcomm SDK; a match reports device execution as unverified, and a mismatch names the reason and exits with status 2 (#5475, thanks @tgerighty).

  • Qwen3.8-27B on Metal: Q and K head norm and RoPE run as one q27_qk_norm_rope dispatch instead of two head-norm launches, the barrier between them and two RoPE launches, on every chip and pass, keys-only prompt tails included; on an M5 Ultra every cache row and qa byte and the served replies match the previous path (#2955, part of #2940).

  • CUDA: drafted Qwen3.8-27B now sends a draft hold with any wide stream through the full head in one pass by default, winning back the 1.3.7 loss at 4 greedy streams (+2.3% to +3.1% on two GB10s) with identical tokens; TF_QWEN_DRAFT_FULL_HEAD=0 restores the split path (#5490, fixes #4439).

  • CUDA: TF_CUDA_PREFILL_TRACE=1 (off by default) writes a cold-prefill stage ledger: prompt chunks and graph replay, drafter upload and trailing absorb, host syncs and copies, cache publication and memory peaks, fresh or resumed; with it unset nothing on the serving path changes (#5279).

  • Nemotron 3.5 Super on CUDA at TP=2: the expert rank runs a window's shared expert on a side stream beside its routed experts, with the same plans and kernels, so tokens are unchanged (#4886).

  • Qwen 3.5/3.6/3.8 on CUDA with MTP drafts: cold prompt chunks that end before the MTP head's first tapped row skip the last layer's unread rows and the head, as chunks without taps already did; tokens unchanged (#4882).

  • CLI: tensorfold tfq3 MODEL pulls, converts and inspects TFQ3 checkpoints for the dedicated families and any Safetensors architecture, encoding natively in Zig when the external tfq3 GPU binary is not installed; serving paths are unchanged (#5018).

  • Server: serve --confidential disables prompt retention without requesting checkpoint slots and omits generated OCR text from error logs; CUDA families that keep no prompts accept a zero cache budget (#5426).

  • Tools: the environment-names check passes again after #5408: LD_AUDIT and LD_PRELOAD are recognised as the prefixes --confidential refuses instead of names read nowhere; no engine code changes (#5477). Thanks to @kotevcode.

  • Desktop: a ready attachment can start a local or remote conversation without typed text, and folder guidance clears after a successful selection or launch (#4836). Thanks @taylorarndt for the report.

  • Inkling 2 Mini on HIP (groundwork, not yet served): CUDA's text-weight loader becomes generic, so one HIP rank can load the text weights through it; CUDA's loading is unchanged (#5031, part of #4274). Thanks to @AbrahamCete.

  • Server: preserve a tool reply's real finish reason and identify completed calls at the token limit, so session benchmarks never answer an open-envelope call even when its arguments are valid JSON (#4830)

  • Core: a chat template's content.N index counts only the code points up to the requested index instead of the whole string; rendered text and token ids are unchanged (#5396). Thanks to @BadAd84.

  • Tests: the CUDA kernel-contract runner takes opt-in --jobs N and --shard I/N; four jobs run the served suites in 1:11:50 against 3:17:59 one at a time, with identical summaries (#3093). Thanks to @BlivionIaG.

  • Tests: the lane host explore test's replay holds under load: once every request sent has ended, the test thread sends the next only once a whole engine turn has run after the one that ended the last (turns counted through the host's activity scope), so each send meets no prompt visit and lands at the same point on every run (#5386, fixes #5367). Thanks to @Bizuayeu.

  • Vulkan: the remaining per-step, prefill, greedy readback and state-reset queue submissions are batched, with no shader changes and the same logits and token IDs: 3.0% to 8.4% less run time on a 16-inch M1 Max and 25.1% to 30.5% on an RTX 5060 Ti (#5193, part of #1420). Thanks to @joshuaswarren.

  • Server: "kept_probs": true on /v1/chat/completions (with logprobs: true) and /v1/completions (with a logprobs count) adds a kept_probs list for each reply token: the tokens left after temperature, top_k, top_p and min_p, renormalized to sum to 1; a sampled request needs top_k from 1 to 20, and a nonzero presence_penalty or frequency_penalty or a grammar returns HTTP 400; the reply's tokens and every other field are the same with the option on or off (#3207, fixes #3182).

  • Qwen3.8-27B on Metal: an external drafter's feature reader returns rows retained for its own stream instead of a view into the shared tap buffer, so a parked stream no longer reads another stream's newer rows (#5238, refs #2496).

  • Desktop: controls expose their visible names, and Settings exposes its navigation state, to assistive technology (#4825) Thanks @taylorarndt for the report.

  • Desktop setup's first-chat starter prompts are optional toggle buttons, and the first draft starts empty (#4817). Thanks @taylorarndt for the report.

  • Core: a stream whose setup fails after its reply grammar is built (out of memory) now frees the grammar and its matcher instead of leaking them (#5448). Thanks to @kelchm.

  • GLM on CUDA: the DFlash2 draft selector skips candidate ids outside the vocabulary and treats an invalid anchor as token 0 instead of reading past the table; in-range drafts are unchanged (#5449). Thanks to @kelchm.

  • Kolibri 1.1: the cache-cap comments now say K and V are rounded to NVFP4 as the reference does, not kept in bf16; comments only (#5445). Thanks to @jschmied.

  • CUDA kernels: the MXFP4 experts' SiTU up (tf_mxfp4_experts_up_situ and tf_mxfp4_experts_prompt_up_situ, in the experts_mxfp4 image): an expert's gate and up matrices read as stored, each sum rounded to bf16, then ERNIE 5.5's SiTU (beta tanh(g/beta) sigmoid(g) times linear beta tanh(u/linear beta), at 4 and 25) into bf16 rows, from a new situ epilogue in experts.cuh; under the kernel contract against float64; the four downs' SASS is unchanged and nothing serves through the up yet (#5385, part of #4926). Thanks to @Bizuayeu.

  • The New Project Folder row keeps Browse on one line while the folder input shrinks. (#4824) Thanks @jamesadcock for the report.

  • Inkling 2 CUDA gains grouped-expert and vision kernels, shared core attention/gamma operations, explicit orientation handling and exact arithmetic comparisons (#4127). Thanks to @ajensenwaud.

  • Docs: the CUDA SASS-identity recipe's 13.3.73 router-tiles counts are PTX forms; the forms that kept the common register count gave the common image, which changed in 1 of 100 compute_80 and 0 of 50 compute_86 compiles, and the three records notes that cited the PTX counts point to the recipe (#5274, refs #5157). Thanks to @Bizuayeu.

  • Metal: the Qwen4 QSA, Flash Next hybrid HC and Qwen4 PLE source rewrites validate threadgroup reservations across the whole original declaration and refuse conflicts and duplicates; generated shader bytes are unchanged (#5441).

  • HIP: Inkling 2 Mini's HIP family refuses the serve options it does not support before any load, with host tests; nothing serves Inkling 2 Mini on HIP yet (#5034). Thanks to @AbrahamCete.

  • Tests: the prompt-imprint key-index test starts from an empty temporary directory, so a run interrupted on Windows (which reuses process IDs) no longer leaves a later run a stale starting state (#5406).

  • CLI: tensorfold log also reads the request log TENSORFOLD_REQUEST_LOG writes: list, show ID, follow and --json show each reply beside its request, and a bare body is numbered by reader order, never keyed by fields inside it (#5246, refs #3666). Thanks to @devopsfortunato.

  • Server: --confidential also refuses every dynamic-loader control that changes which library loads (each LD_* variable and GLIBC_TUNABLES on Linux, the DYLD_* set on macOS) and accelerator plugin and kernel library paths, even when set empty (#5408).

  • Inkling 2 Mini: different requests on one server get different tool-call IDs, and whole and streamed replies agree; generated tokens are unchanged (#5401, fixes #5361). Thanks to @fcossutta for the report.

  • Flash Next on Metal: the rows-store staging permit is sized from the served window's whole state, so conversation and spill saves past 1 GiB are kept and a later turn resumes from disk instead of prefilling again (#5400, fixes #5371). Thanks @cwschroeder.

  • TFQ3: CUDA prompt projections use a tiled BM=64, BN=128 prefill kernel (Qwen3.8-27B-TFQ3 prefill about 3.2x faster on a GB10); TFQ3 pack sections are checked with XXH64 at load; Inkling 2 TFQ3 routed experts load on CUDA and Metal with softcapped SwiGLU; and GLM --keep-nonmoe-bf16 loads BF16 or block-FP8 non-MoE weights on CUDA (#5350).

  • TFQ4: native PWV4/TFP4 checkpoints (2.00 and 2.25 bits per weight, E8P codebooks) and hybrid TFPW MoE layers that mix 2- to 5-bit experts load and run on CUDA and Metal; pure TFQ3 checkpoints take the paths they took before (#5442).

  • TFQ5: PWV5/TFP5 trellis checkpoints (1.5 to 5.0 bits per weight, uniform or mixed per 128-row block) serve on Metal and CUDA for dense Llama and Qwen2 (Metal) and Qwen3.5/3.8 (CUDA, with DFlash2), and for Inkling 2, GLM and Flash Next MoE, with 128-aligned tensor-parallel sharding at 2, 4 and 8 ranks; tensorfold pull --tfq5 fetches a profile with XXH64 checks (#5632, #5636).

  • Tests: a config and a metadata-only model header for the tiny Inkling 2 Mini test checkpoint (hf-internal-testing/tiny-inkling2-mini), with host tests for parsing, the weight map and the 30-visit plan (#5369). Thanks @AbrahamCete.

  • Build: 80 lines of CUDA host-test registrations move from zig/build/cuda.zig to zig/build/cuda_host_more.zig, unchanged, so the file stays under the line cap; every build step and dependency is the same (#5416).

  • GLM tests: the shared-window check sizes its comparison buffers and per-stream arrays from the engine's window_rows instead of a literal row count, so a stream bringing more rows into a shared verify is reported rather than written past the arrays (#5394). Thanks to @BadAd84.

  • Prompt cache: a state the disk tier recalls within min_gap under the rewind point becomes the rewind state, so the store no longer keeps a second copy of the rewind beside it (about 684 MiB less in the RAM tier per rewind turn at 21k tokens, same replies) (#5738). Thanks to @BadAd84.