Repository navigation
TensorFold 1.3.2
TensorFold 1.3.2
1.3.2 brings faster DeepSeek-V4.1 decode and prompts on Metal (6 to 17% faster decode at one and two streams on an M5 Ultra), faster GLM-5.3-Flash, MiniMax-M3.1-Flash, Flash Next and Qwen3.8-27B paths on CUDA, and wider Flash Next verify windows on HIP. It adds image input for DeepSeek-V4.1 on Metal and dots.mocr on CUDA, Idol's octree and Gaussian decoders on M5 Metal, Muse Spark Open on two GB10s, Qwen3.8 Flash Next on Intel Xe2, PDFs on POST /v1/ocr, DFloat11 checkpoints, gated Hugging Face pulls and the new tensorfold chat and tensorfold log commands. 1.3.2 also includes everything in 1.3.1 (Hy4-flash on Metal). The speed changes below keep the same tokens, bits or bytes where their bullets say so; the --thinking-reserve reordering on Qwen3.8-27B is the one that trades timing, letting a reasoning reply stream faster beside a long cold prompt while that prompt fills more slowly.
Speed
- DeepSeek-V4.1 on Metal (routed experts): in decode launches of 2 to 16 rows, an expert's MXFP4 weights are read and decoded once for all the rows it takes instead of padding every expert's rows to passes of four, so each row's bits equal the one-row kernel's. On the release weights, with #2973 under it, decode is 6 to 17% faster at one and two streams and 2 to 3% faster at three and four on an M5 Ultra, and 5 to 17% and 2 to 5% faster on an M3 Ultra, with every token unchanged (#2983, part of #2984).
- DeepSeek-V4.1 on Metal (dense FP8): decode's dense FP8 projections of 1 to 5 rows load their weights before the sums and meet each output's tile roots in one simdgroup, and wide ones with K in whole 1024s take one column a simdgroup; every output bit is unchanged, and on an M5 Ultra one stream decodes 46.4 to 49.5 tok/s without drafts and 82.2 to 84.3 greedy (#3287, part of #2984).
- DeepSeek-V4.1 on Metal (long prompts): indexer passes skip key blocks that no row's candidate mask reaches, add up the first top-k pass's bin-3 counts per simdgroup before one atomic add and score 128 index rows at a time instead of 64 (
ix_rows), with the same tokens in the author's runs (#3669, refs #2984). - DeepSeek-V4.1 on Metal (prompt projections): the prompt layer's compressor, indexer key and weight and MoE gate projections run on a new simdgroup-matrix kernel (
tf_dsv41_mv_mma) at 16 or more rows, bit-equal to the matrix-vector kernel it replaces (#3668, refs #2984). - Qwen3.8-27B on CUDA: drafted decoding past 64K cached tokens uses the MT2 attention tile for 2-16-row windows up to 131,071 cached tokens, with the same tokens and about 5% faster on an RTX 5090 at 129K (#4149).
- Flash Next on M5: kept DeltaNet states (as M1-M4 have) and the half-nibble 4-bit converts M3 and M4 use are enabled with tensor units too; one stream measured about 6.5% faster on an M5 Ultra (16 prompts of 512 tokens, the two builds alternating with one server each), with tokens equal on 32 of 32 replies (#3271).
- MiniMax-M3.1-Flash on CUDA: with two or more streams, the drafter takes several streams' DSpark blocks in one pass, as many as a decode window's 16 rows hold, instead of one pass a stream; replies are unchanged (#1426).
- GLM-5.3-Flash on CUDA (launches): GLM's kernels and qmmf's decode linears launch as programmatic dependent launches, so a decode token's kernels lose most of their launch gaps; experts, the router plan and the RoCE exchange stay plain launches, a prompt chunk's KDA chain launches plain from 64 rows, and
TF_GLM_PDL=0launches everything plain (#3776, refs #3652). - GLM-5.3-Flash on CUDA (expert forms): the load races the classic and factored expert forms, which give the same bits, at each of its ten timed decode window widths and keeps the faster one at each (classic unless factored is more than 1% faster) instead of one form for every window;
TF_GLM_EXPERT_FORMnames one form for every width (#3249). - GLM on CUDA (EXL3 experts): a decode window's EXL3 routed experts launch on the 16-pair item plan instead of the group kernel's grid of mostly idle blocks, with the same output bytes (#2044).
- Flash Next on CUDA (prompts): a prompt pass holds 3,072 rows while other streams decode (it held 1,536), so a long prompt beside running streams takes half as many passes (#3726).
TF_FLASHNEXT_READOUT_FUSED=1(off by default) runs a prompt pass's BF16 hyper-connection read-out from 768 rows in three launches instead of five, with every output byte the same (#3413, refs #3392). - Flash Next on HIP: the verify window holds eight rows instead of four, so a stream alone in a round can land copy drafts of up to seven tokens a round; rounds shared by several streams keep three-token copies, MTP still drafts at most three, and each stream's window snapshots take more device memory, which admission counts (#2730).
- HIP on RDNA3.5 (gfx1151): single-round (K up to 1,024) plain fp32-output routed 4-bit stream launches whose largest item holds 3 or 4 rows skip the lane folds of rows past the item's count (
Routing.item_rows), with the same output bytes (#3559, refs #3305). - Qwen3.8-27B on Metal (prompt tail): on a prompt's last chunk, the last layer's q and o projections, MLP and final norm run only over the 128-row block that holds the row the head reads, while every row still writes its keys, values and recurrent state; a chunk whose last layer has another reader (drafter taps, images, MoE, a tensor-parallel pair, the ANE share) runs every row as before, and
test-qwen27-prompt-tailchecks the block byte for byte against an every-row pass (#2826, refs #2165). - Qwen 3.5/3.6/3.8 on HIP (prompt tail): a prompt chunk before the last stops its last layer after the keys and values, and the final chunk runs that layer only over the rows that are read, through the shared prompt-tail rule CUDA and Metal use (#2845, for #2829).
- Qwen 3.5/3.6/3.8 on CUDA:
TF_QWEN35_CHUNK_SOLO=8192lets a foreground prompt pass take up to 8,192 rows while no other stream decodes, back to 4,096 once one does and in background warm passes; unset or 4096 is off, and tokens match it off (#3294). - Qwen3.8-27B on Metal before M5: decode rounds read their cached keys through the prefix kernels, as on an M5, and prompt passes size their memory the same way;
TF_QWEN27_SHARED_PREFIX=0keeps cached keys on the tail kernel (#3677, refs #3604). - Qwen3.8-27B on Metal with
--thinking-reserve: the shorter-reply-first order estimates a reply that is still reasoning as its answer quota plus the reasoning left, taken from the think blocks this server has seen close, instead of counting the whole limit the reserve gave it; replies are the same tokens. On an M5 Ultra, once the server has seen a think block close, a reasoning chat reply beside a 110,000-token cold prompt streams 7.3 chunks a second instead of 2.0, and the prompt's fill takes 17% longer. Before a think block has closed, and for requests without--thinking-reserveor with thinking off, nothing changes (#3371, fixes #3270). - Thinking follow-ups: the next turn's background prefill puts the reply's reasoning into its guess when the client sends reasoning back, so thinking requests resume from the real next prompt instead of redoing the pass from before the reply; clients whose history drops reasoning keep the old guess (#3264).
- CUDA sampler: with a small
top_k, the fallback selects and sorts only that many candidates instead of 1,024, with the same tokens and probabilities (#4099, fixes #3712).
New
- Nemotron 3.5 Bolt on Metal:
nemotron_h_puzzle(MLX affine 4-bit) serves text on M1 to M4 Macs, with its per-layer expert counts, latent MoE, bf16 head and Bolt-width Mamba kernels under the kernel contract; an M5 refuses it by name before any weight file is opened, and images and drafts stay deferred (#4162, lands #1038). - DeepSeek-V4.1 images on Metal: with
--vision, the server loads the checkpoint's vision tower (a checkpoint withoutvision.*tensors stops at load), and chats with PNG, JPEG or WebP image parts put the tower's rows into the prompt, within--vision-image-tokens(4,096 by default) and--vision-max-images(4). An image's span is prefilled in one chunk, the prompt cache keys image rows by the image's hash, text that spells the image token stays text, and a vision config with zero heads, a zeromax_wh_ratioor adownsample_ratiobelow 2 is refused by name (#3926, part of #1676). - Idol on M5 Metal: Idol's octree and Gaussian decoders run natively, from the denoiser's latent to the 3DGS PLY and camera. On an M5 Ultra, 262,144 Gaussians decode in 0.343 s against the SDK's 0.739 s, and 1,048,576 in 1.963 s against 4.653 s, at a 2.43 GB peak footprint against 5.64 GB. Given the SDK's probabilities and draws, every octree level's counts match and the PLY's header and rows equal the SDK's, and both decoders sit as close to an fp32 run as the SDK's own;
tf-idol-decoderuns those gates from atools/zig/idol_case.py decodecase, and the decoders' nine kernels are registered with the kernel contract (#1773, after #1766, for #1757). - Muse Spark Open on CUDA: served on two GB10s from a 1.8-bit EXL3 pack with the prompt cache on, on the shared EXL3 code with its own attention, norm, router and head kernels; any other GPU or number of GPUs is refused by name, and the recipe serves it without a drafter (#1295).
- dots.mocr images on CUDA:
--visionserves images through the image tower instead of refusing them, within the request's--vision-image-tokensbudget; text-only replies keep their pinned hashes, and the GB10 runner gainstf-cuda-test dots-text(three prompts served with and without--vision, against pinned reply hashes) anddots-invariants(image prompts cut into chunks against the uncut run) (#2771, refs #1927). - Qwen3.8 Flash Next on XPU: serves with MTP and prompt snapshots on Intel Xe2, with 24 reported concurrency and sampling cells matching solo and plain decoding (#3587, fixes #3583).
- OCR on HIP:
POST /v1/ocr(Mistral's OCR contract and its Python and TypeScript SDKs, with dots.mocr's reader and a box for each layout block) reads PDFs (--vision-pdf) as well as images. Images and PDFs share one page budget per request (TENSORFOLD_MAX_PDF_PAGES, default 16), each PDF is measured before any inference and each page rendered just before it is read, and Mistral crops share one image budget (256 images, 4 times the page pixels, 16 MiB plus 2 MiB a page). An option that changes content and that TensorFold cannot apply, such as annotations, is refused, and a page cut at the context limit or out of its model's format fails the whole request with HTTP 422;docs/api.mdlists the contract's fields, statuses and limits (#2570, #2571, #2440). tensorfold chat:tensorfold chat MODELstarts its owntensorfold serveon a free loopback port with a fresh key, streams each reply in the terminal and stops the server when the chat ends, and--url URL [MODEL]chats with a running server instead; flags after--go to the started server,/bye,/clear,/systemand/helpwork in the chat, and piped stdin is sent as one message with only the reply on stdout (#3538).tensorfold log: reads the request journal read-only while a server runs:listwith tokens, time to first token and decode rate,show IDwith the reply decoded,followacross rotations and--json; journalfinishrecords carry the queue wait, time to first token, decode rate and token counts (#4160, part of #3666).- Pull: gated and private Hugging Face repos download with your token:
HF_TOKEN, thenHUGGING_FACE_HUB_TOKEN, then the one token file thehftools read (HF_TOKEN_PATH, else$HF_HOME/token, else~/.cache/huggingface/token). The token goes only to the hub's own host (huggingface.co, orHF_ENDPOINT's), never to the storage hosts downloads are redirected to, and is never printed; a repo the hub refuses is named, with whether a token is missing or lacks access (#3524). - DFloat11 checkpoints: a bf16 weight stored in DFloat11's lossless form is read under its own name and decoded on the host at load to the bf16 bytes it was coded from, where such a checkpoint was refused by the missing tensor's name; GLM-5.3-Flash on CUDA is the one loader that attaches it, a damaged group is refused by name, and a checkpoint with no coded tensor loads as before (#3807, refs #3649).
- HIP EXL3 kernels: an EXL3 input rotation and trellis linear kernel group (
exl3/exl3.hip) at 2 to 8 bits, the HIP side of the projection DeepSeek-V4.1's CUDA path calls for its head, Engram'swkvand the indexer'swk, sums in a fixed order so a row's bits do not depend on the rows beside it; nothing serves through it yet (#3314, refs #2065). - Code: Drama 3's
torch.savereader moves tocore/torch_pth.zig(its zip container tocore/torch_zip.zig) and its WAV code tocore/wav.zig; the reader also opens a root of nested state dicts, naming tensors by their keys joined with/(openNested), and returns a tensor's stored bytes at a given dtype and shape (readRaw), with host tests. Drama 3's generated and served audio stays byte-identical on Metal (#3719, for #3615).
Server and API
- Tensor-parallel flags:
--tptakes a world from 1 to 64 instead of 1, 2, 4 or 8, each family still admitting only its own (Flash Next on CUDA refuses a world other than 1 or 2 by name before admission);--ppis new and takes 1 only; unranked CUDA families refuse a nonzero--rankas well as--tp; and the GLM, MiniMax and Nemotron rank and world variables get environment rows naming the flag that replaces each (#2917, refs #2560). - Model route:
GET /v1/models/{id}(and/models/{id}) returns the entry/v1/modelslists for the served name or an alias, with the id sent as written or percent-escaped (org%2Fname); any other id is a 404model_not_found, and API keys and key scopes treat the route as they treat/v1/models(#3535). - Metrics:
/v1/metricsreports atensorfold:open_connectionsgauge, the client connections admitted over TCP or the Unix socket and not yet closed, idle keep-alive ones included (#3925). Every prompt-cache lookup records why it did not resume further (for examplecold,evicted,shed,prompt_changedorreply_changed), and/metricscounts them asprompt_cache_miss_total{reason}over a fixed list of reason names (#3706, for #3686). - Unclosed think blocks: a reply that ends on its own end-of-sequence inside a think block it never closed returns that text as its answer only when the request asked for reasoning and no tool call was required, no grammar applied and no call was streamed, and the server logs a warning when it does (#3721, refs #3687).
- Cancelled requests keep their prompt: on Qwen3.8-27B on Metal, a request cancelled during its prompt pass, a drafted round or a streamed reply keeps the prompt state it completed when the prompt cache has room, so a follow-up on the same conversation resumes there instead of re-reading the history; after a cancelled reply, slot 0 first rewinds to its saved prompt state, and in the shared lane core a cancelled pass gives up only its own cache reservation (#3643, for #3618). On Nemotron 3.5 on Metal, a request cancelled during a whole (unstepped) prompt pass keeps the prompt state that pass already landed, and the stepped path is unchanged (#3651, for #3618).
- Unserved checkpoints: a checkpoint no native backend serves is pointed to the Python engine 0.6.6 only when 0.6.6 serves its model type (DeepSeek V4, Gemma 4, GLM5-Next, Nemotron-H, Prism Hadamard Qwen3.5, Qwen3.5, Qwen3.5-MoE, Qwen3.8 Flash Next and Qwen4); any other type is told no TensorFold release serves it yet and pointed to the recipe book and the runbook (#4008).
Desktop and Web
- Desktop downloads: model downloads pass the proxy settings (or the macOS system proxy) through to
tensorfold pull, and a download that writes nothing for 60 seconds or fails shows why, with a Retry action, instead of a bar frozen at 0% (#4141). - Desktop: Replay launches one task at a time: a second click while a launch is pending creates no new task, the button shows the pending state and is available again after a failure, and a late result from an earlier panel cannot close a reopened one (#3848, fixes #3845).
- Desktop: a new conversation on the built-in engine asks for its title after the first run settles, not beside it, so the title no longer competes with that run; cancelling or renaming during the run skips it (#4072, refs #3606).
- Desktop: a Room agent can release its own idle ticket claim, returning the ticket to Ready for another seat with its evidence, reviews and worker history kept (#4081, fixes #3452).
- App: a Solo Kanban ticket can be assigned a saved bot, which builds with that bot's model, instructions and permissions while keeping the ticket's capability limits (#3737, fixes #3336).
- Desktop: the model benchmark accepts the engine's community-v2 suite (and community-v1 receipts from older engines) instead of ending every run "protocol not satisfied", and a run that fails or is cut short keeps its checked hardware, engine version and checkpoint details (#4031, fixes #3942).
- Desktop: an MCP server's startup diagnostics reach the Plugins preview as whole lines, masked as a whole and capped at 64 KiB, instead of one row per stderr write (#3759).
- Web: the LibreChat and AnythingLLM Docker Connect examples keep the configured remote engine URL, with its scheme, hostname, port and proxy prefix; local loopback examples still use the Docker host alias and away examples the Web relay (#3843, fixes #3839).
- Web: the development stand-in returns its listed model from
GET /v1/models/{id}and a 404model_not_foundfor any other ID, as the engine does (#4091, fixes #4090), and reports native 1.3.0, in a checkout and in the built wheel, where it still said 1.2.10 (#4077, fixes #4074).
Platforms and settings
- DeepSeek-V4.1 on Metal 4: its GPU work goes through a Metal 4 command queue by default where the Mac has one (macOS 26 and later), with the same kernels in the same order and bit-identical outputs;
TF_METAL4=0keeps Metal 3,TF_METAL4_TIMELINE=nlogs per-stage GPU times for n rounds of each kind, andTF_DSV41_ROUND_PROF=1logs decode rounds' host and GPU milliseconds (#3374). - CUDA slab uploads: an opt-in slab mode carves small uploads from shared slabs instead of one 2 MiB-rounded allocation each, and identical trellis bytes upload once, so Hy4-flash EXL3 4bpw loads all 42 layers on one GB10 (85.38 GiB, 29 GiB left) where it ran out at layer 30 (#4003).
- Gemma 4 on CUDA: with a 4-bit tied embedding, token rows are read from the tied head's 4-bit tiles and the stored embedding table is no longer loaded, so the table is held on the device once; other embedding widths keep the stored table, and replies are unchanged (#3471).
- Windows: when a checkpoint load releases the pages it has finished with, the process's working set is trimmed too, so those pages stop crowding a unified-memory budget; Linux and macOS are unchanged (#3866). On Windows CUDA, the qwen3_5 prompt cache takes its budget from the host's physical memory, so
--prompt-cache-gibworks instead of the cache staying off (#3863, fixes #3860). - Qwen3.5 on CUDA (message starts): the message-start decision has its own module, and a family can declare its starts on by default; Qwen's stay opt-in, so only
TF_QWEN_REQUEST_STARTS=1turns them on and an unset switch serves as before, shared KV included (#3896, refs #3870). - Qwen on CUDA (sm_110): a development build for sm_110 (
-Dsm=110, NVIDIA Thor) refuses by name, before paging or weight loading, the modes not qualified there, among them--slide, a DSpine--drafter,--kv-cache fp8,--prompt-precision int8,--rope-yarn, theTF_QWEN_KV_PAGESandTF_QWEN_KV_SHAREsettings,TF_NO_TREESandTF_DRAFT_NODES; the default path and the DFlash2 drafter are still served, and other GPUs are unchanged (#3057, refs #2319). - Flash Next on CUDA (settings):
TF_FLASHNEXT_SPLIT_DENSEandTF_FLASHNEXT_SHARD_HEADare checked by name when the engine loads, so a malformed value names the variable, the supplied text and the accepted forms, and an empty or blank value reads as unset; valid values and defaults are unchanged (#3749, refs #2370). - Samplers: LFM3's sampled and grammar-masked row draws and Flash Next's host reference draw call core's one row sampler with the same errors and messages, and an empty Flash Next reference row is refused by name instead of panicking (#2679, refs #2460); GLM-5.3-Flash on CUDA takes its sampled draw rule from the shared
cuda.sample.rule, as MiniMax M3 does, instead of building its own copy with a fixednearvalue (#3705, part of #2680). - Living Weights: in a container that refuses file clones with a permission error (LXC), lessons and rollbacks copy the files instead of failing (#4147).
Docs
- Orchestrator on macOS: a custom
VONTRA_HOMEmust be the canonical path (pwd -Pgives it), since the alias stops startup as linked (#4088). - Recipes that pull, then serve by name: the Flash Next CUDA recipe, with supported models giving it as a 105.5 GiB download of which 73.3 GiB goes to the GPU (#4024); the Nemotron 3.5 Super VL recipe on one GB10 (#3993); the Kolibri-1 recipe, whose size reads 78.9 GB as the Hub reports it, there and in supported models (#3995); and the Qwen3.8-27B recipe, which pulls the checkpoint and its drafter one repository at a time, since the native
pulltakes one (#3982). - CUDA recipes: the Gemma 4 recipe gains a CUDA section for the 31B on one GB10, with the pinned pulls, the serve command and its 47.5 GiB startup size at the default window (#3992); the Nemotron 3.5 recipe gives the pull and serve commands for NVIDIA's NVFP4 export of Lightning and no longer says the export is not read (#3981); the Qwen3.5-2B recipe covers CUDA as checked on one GB10 and says the prompt cache is on by default, with
--prompt-cache-gib 0for fresh execution (#3974); and the Qwen3.6 MoE recipe names the sections that belong to the Python 0.6.6 engine and links its native CUDA section, where it linked the Windows build guide (#3977). - DeepSeek-V4-Pro-Qwen3.5-9B: a new one-GB10 recipe serves it from a locally converted MLX 4-bit checkpoint, thinking and drafts off, with its health, model-list and chat checks (#4085, fixes #3905).
- dots.mocr CUDA recipe: covers images with
--vision(14,400 merged image tokens a request by default, set by--vision-image-tokens; each lane holds its request's image rows, so fewer lanes fit; JPEG needs libjpeg-turbo 3.1.4.1; video is refused), the oracle's SDPA image references andstages, and thedots-imageanddots-textchecks; the README and recipe index list CUDA for images and text (#2773, refs #1927). - XPU guide: gives the size of a Qwen3.8-27B prompt-cache state with the DFlash2 drafter and bf16 K/V (64 KiB a prompt token plus 187 MiB), so the 2 GiB default keeps nothing past about 29,700 tokens, the log line that says so, and that a larger budget needs a smaller
--contexton one card (#3972). - Unified memory:
MemAvailablecan settle a little above the reserve after start-up, and the pool's page count can differ by a few tens between launches with the same settings, because the room is read once while the host is still settling (#4079, fixes #3940). - Optimization ledger: the rows-together dense 4-bit stream tile on gfx1151 is recorded as
failedfor Nemotron on HIP: its launches got faster, but the draft policy then drafted shallower and two greedy Lightning streams got slower (#3395, refs #3305).
Fixes
- Engine: under SRPT scheduling, a prompt that finishes on its last fill step no longer writes its lent time to freed scheduler memory (#4159, fixes #3709).
- Core: KV page-retirement bookkeeping is sized by retired pages, keeping reader fences, page reuse and trim state, instead of clearing a context-sized token table on the first trim (#3852).
- Model configs: a
config.jsonhead count of 0 is refused by name before any division instead of panicking, for Qwen 3.5 on HIP (ZeroHeadCount), Nemotron, the Gemma 4 DFlash drafter on Metal and DeepSeek-V4.1's Metal vision config (#3777). - Flash Next on HIP: the prompt chunk fallback counts the window plan's slot bytes as used before deciding whether a smaller chunk admits more streams, where it counted them as free and could keep the larger chunk (#3419).
- HIP: prompt attention's permlane16 fetches inactive lanes (#4080, fixes #3765).
- Build: the Qwen ModelOpt admission host test gets the
livingmodule, sotest-cuda-hostcompiles on Windows again after #3294 (#4146).
Tools and tests
- Tools: served checks reject unexercised draft, seed, cache, cancellation and logit comparisons, covered by 11 served and constraint regression tests, and benchmark receipts name vacuous comparisons (#3772, refs #2460).
- Tests: for Qwen3.5 dense EXL3 at TP=2, a rank's column cut of a weight can keep the whole weight's K-split plan (
Weight.pinnedColumns), andtf-cuda-test qwen35-tp-cut PACKcompares each rank's columns with one GPU's whole-weight bytes;--tp 1is unchanged and--tp 2stays refused (#3602). - Tests: a third stream at
--parallel 2waits with theengine_busyreason in FIFO order, then decodes in every shared round with the backend's own tokens and never takes the lone path (#3757). - Tests: on macOS, threaded host tests no longer hang in Zig's debug stack capture: the test allocator keeps its leak and safety checks but records no allocation stacks there; Linux and custom runners are unchanged (#3855).
- Tests: the benchmark tests' fake server pads its first stream event past the client's 576 KiB read buffer so the two events arrive in separate reads, and two cluster bring-up tests run on a lockstep clock through a new
clockoption onbringup.Options, which defaults to the real clock (#3750); the served-evidence concurrency test streams long enough to overlap on a slow CI runner (#4182). - Tests (Web): the loopback startup regression sets its stand-in past the three-second warm-up, so it passes standalone and in the full suite alike (#4086, fixes #3752), and the startup test imports tensorfold_web's modules on one line, as ruff's import order asks (#4202).
- CI: a landing train's pull request skips GitHub's hosted checks, which our own runners already run on its tip (a red local run still starts them by hand), and a newer push cancels an older Zig format run, so main's and contributors' checks no longer queue behind trains (#4106); the lean check on a run started by hand compares against main instead of failing (#4151).
What changes by default
- DeepSeek-V4.1 on Metal runs its GPU work through a Metal 4 command queue on macOS 26 and later, with bit-identical outputs, and
TF_METAL4=0keeps Metal 3 (#3374); its faster decode (#2983, #3287) and prompt paths (#3669, #3668) are on for everyone, with tokens or bits unchanged as each bullet states. - GLM-5.3-Flash on CUDA launches its decode kernels as programmatic dependent launches (
TF_GLM_PDL=0launches them plain) and picks its expert form per window width at load (TF_GLM_EXPERT_FORMnames one) (#3776, #3249). - Flash Next on CUDA holds 3,072 prompt rows beside decoding streams (#3726), Flash Next on HIP verifies eight-row windows whose snapshots take more device memory (#2730), and Flash Next on M5 keeps DeltaNet states and uses the half-nibble converts (#3271).
- Qwen3.8-27B on Metal before M5 reads cached keys through the prefix kernels (
TF_QWEN27_SHARED_PREFIX=0keeps the tail kernel) (#3677); with--thinking-reserveit reorders reasoning replies, and in the measured case a long cold prompt's fill took 17% longer beside them (#3371). --tptakes 1 to 64 with each family admitting its own and--pptakes 1 (#2917), pulls send a Hugging Face token when one is set (#3524), and malformedTF_FLASHNEXT_SPLIT_DENSEorTF_FLASHNEXT_SHARD_HEADvalues and zero head counts are refused by name (#3749, #3777).- Opt-in only:
TF_FLASHNEXT_READOUT_FUSED=1(#3413),TF_QWEN35_CHUNK_SOLO=8192(#3294),TF_QWEN_REQUEST_STARTS=1(#3896), the CUDA slab mode (#4003) and image input with--vision(#3926, #2771).
Thanks
@AIFlowML, @ajensenwaud, @BadAd84, @bikepresentball, @Bizuayeu, @BobClawblaw, @davidzogg13-boop, @devopsfortunato, @ElderOrb, @gilby, @GumbiiDigital, @hobbesd, @jamesadcock, @javierbits, @jayleaton, @joshuaswarren, @jschmied, @laudney, @Nipale-ai, @plotarmordev, @SergiioB, @shantanugoel, @Shoestring-dev, @supernovae, @trickyfalcon, @ultradaoto and @yguanrong.