Repository navigation
Basalt 0.6.1
0.6.1
2026-12-01. Taken from main. Build from source: building, or take a release archive (platforms). Two models join: Qwen3.6-35B-A3B and Z.ai's GLM-5.3-Flash. --gpu-mode split comes to DeepSeek-V4.1-Flash, ERNIE-5.5-Flash and Hy4-flash, the Qwen3.8-27B layer split takes three or more cards, Inkling 2 Mini decodes faster and loads the context it used to on a small card, and the server answers raw text completions. The .basalt format stays version 2 and the config stays version 2.
Highlights
- Qwen3.6-35B-A3B (
Qwen/Qwen3.6-35B-A3B, #820, #942, #998): a hybrid of 30 gated delta-net and 10 gated attention layers with 256 routed experts (top 8) and a shared expert, on one card with the same command as any model. The converter reads the official checkpoint and rounds the experts to NVFP4 on the GPU; the pack carries the MTP drafter. On an RTX 5090 at 400 W,--kv int8, drafting on: a 16K prompt 25,517 tok/s, decode conversation 544 / struct 1,005 / prose 503 tok/s. Quality suite: 0.0119 KLD, 96.82% top-1 against BF16. guide, precision - GLM-5.3-Flash (
zai-org/GLM-5.3-Flash, #817, #1025, #1069): KDA linear attention with sparse MLA blocks between them, 288 routed experts a layer plus one shared, mHC hyper-connections, the pack's next-n drafter. Packs are converted from Unsloth's GGUFs or NVIDIA's NVFP4 checkpoint (convert.py); the routed experts live in the card, a peer card and the CPU tier. Prompts go through batched MMQ grouped by expert (16K prompt on a 5090 with a 5060 Ti as peer: 34 to 1,275 tok/s), decode is 64.3 to 58.1 ms a token on the NVFP4 pack on one card, and a rejected draft rolls the KDA state back so--specequals plain decoding. guide --gpu-mode spliton DeepSeek-V4.1-Flash, ERNIE-5.5-Flash and Hy4-flash (#937, #938, #939, #940, @florian862-art): two cards, the layers divided between them with a dynamic cut, the experts' tiers per card, the drafter on the head card (ERNIE). With two or more slots decoding, a 2-stage pipeline runs two microbatches on the two cards at once: +17 to 21% on DeepSeek (#1055), +16 to 23% on ERNIE (#1057), +5 to 7% on Hy4-flash (#1060). multi-GPU- Three or more cards on Qwen3.8-27B (#388, @jaderinoo): the dense layer split spreads the layers over every card in
--gpu, with pipelined prompts, per-card state, and the cut moved onto a card with room when it does not fit. - Inkling 2 Mini decodes faster. Single-conversation expert windows (#972), a faster DFlash 2 drafter (#974), a 32,768-token draft vocabulary the engine ships and loads by default (#1072), 158.9 MiB back for the expert copies (#973), and stochastic DSpark drafting (#1013, #826). On an RTX 5090 at 475 W,
--kv int8, the community row went from 564.7 to 638.8 tok/s decode (+13.1%), prompts level. - Inkling 2 Mini on a small card, as in 0.5.7 (#936, #945): the load plan charged a one-slot run the 64-slot batch scratch and a flat 128 MiB VMM margin, which left an 8 GB RTX 5070 about 69 MiB short of
--max-context 94208where 0.5.7 fitted. The batch scratch now follows the rows one window of the run can hold (a lone slot pays a sixteenth of it), the margin is 16 MiB plus 2% of the bytes the pool backs, capped at 128 MiB, and a context still refused for want of room names the largest one that fits:... the card is 69 MiB short (--max-context 94208); --max-context 88064 fits. guide - Raw text completions and the KoboldCpp API (#655, @TriDefender):
POST /v1/completionsruns a prompt as plain text (no template, no thinking, no tool parsing),echo,suffix,stopandlogit_biasincluded; the KoboldCpp generate, stream and token-count routes take its sampler names;tfs,typical,top_a,xtc, dynamic temperature and smoothing join the CUDA sampler chain. sampling
Other models
- DeepSeek-V4.1-Flash: zero-copy VRAM experts, a fused clamped SwiGLU-MMQ quantize and an overlapped router copy in prompts (#971, @HyacinthLo); a fused FP16 tensor-core MQA, a BF16 tensor-core indexer and a 2-pass top-K (#1042, @killthrash); Engram rows staged under the layers before the one that reads them (#1073, @giveen). On one RTX 5090 with the IQ1_M pack, 16K prompt +18.8%, 64K +33.2%, decode +18.2% (#1074). ExpertTier gets an adaptive bus-versus-CPU miss split, a shared CPU pool across cards and per-card profile slices (#937).
- ERNIE-5.5-Flash: decode waves (MLA-DSA reuse, split per-layer graphs, a non-evicting PCIe scratch, aligned MXFP4 and Q8_0 loads; #1005), the spilled-expert graph-capture deadlock fixed (#1058, @killthrash), tool and reply grammar forms (#902).
- Hy4-flash: a pack larger than RAM reads its experts from the pack (#800, @selimsengil); prefill with SSD-backed experts and multi-GPU decode stalls fixed (#844, @ggppdk); a BF16
token_embd.weightloads (#762); the peer prompt cap followskMaxChunk(#922); bit-exact AVX2 multi-token IQ1_S and IQ1_M expert rows (#953, @HyacinthLo). - Qwen3.8-Flash-Next: a host-sync-free GPU-grouped NVFP4 batched MoE in prompts and a 65,536 auto chunk ceiling (#1041, @killthrash);
--kv nvfp4(#675); the prompt split capped by the peer's PCIe link (#1059); image and text requests mixed with--parallelqueue instead of failing with HTTP 500 (#981). - Qwen3.8-27B and Qwen3.6-35B-A3B: the MTP drafter reads an NVFP4-plane head's scale plane where it lies, where every draft confidence had been NaN (#1026, @aamsellem); a prompt chunk shrinks to fit a card short of memory (#1027); decode windows run between single-card prompt chunks (#850, @WeiLiuu).
--kv k8v5(#1049): a rotated Q8_0 K and rotated Q5_1 V cache between int8 and k8v4 on Qwen3.8-Flash-Next, Qwen3.8-27B and Qwen3.6-35B-A3B.--kv nvfp4on Inkling 2 Mini (#702, @Sypher760-gif): 10 KiB a position over the full-attention visits, 37.5% under FP8.- Inkling 2 Mini, more: the next visit's input projection is read into L2 while a merge waits on the CPU pool (#779), deep INT8 decode windows stage their tiles through registers (#783), a card's expert copies follow the conversation at every context, single-visit layers spill before looped layers when unprofiled (#930), a DSpark VRAM reclamation of about 316 MiB (#825), an answer block opens after a thinking-budget wrap-up (#632), a fallback for Q8_0 expert layers (#917).
Server
- Sleep and wake (#993, @NektoDron): authenticated
POST /sleepandPOST /wakegive the GPU to another workload and take it back; the engine process and the conversations stay in RAM. A sleep is refused while a request owns the engine. - Long prompts yield to short requests on Inkling 2 Mini (#1021, #928, #1084, #1083): batch decode windows run during a long read, and a prefill steps aside between image blocks.
- Thinking that is cut at its budget wraps up to curb stray tool calls (#443, @woodsonl), and a call written inside the thinking ends it (#1018, @bellkin); the Anthropic route orders tool results by call ID and a cancelled non-streaming
/v1/responsesends cleanly (#961);--no-kv-pooltakes two slots or more (#996). - Completed prompt checkpoints survive a cancellation (#1020), a checkpoint save in flight keeps its bytes alive on any card (#1056), a prompt read beside decoding slots keeps its buffers outside the expert cache when the card has room (#1047), the system prompt's root goes past a token that opens the prompt (#976), prompt prefixes are respelled before later images (#548).
- Batch engines that stop answering are retired (#1032) and slot cleanup is isolated across engine restarts (#1033); a stalled engine leaves without a fault report (#1014); an incomplete HTTP request body is rejected (#1036); Prometheus reports waiting requests per model (#1037); the server listens on IPv6 for an IPv6 literal host (#458); a single-model server serves an unknown model name rather than a 404 (#457); the expert cache hit rate is per request (#585); VRAM is read through
nvmlDeviceGetMemoryInfo_v2to leave the driver's reserve out (#962); Ctrl+C lets the serve child finish (#991). - Hardening (@larryllr, about 30 more pull requests, among them #868, #870, #880, #885, #887, #891 and #893): metadata and bounds checks in the pack loaders, multi-GPU
OnDevice, VMM and teardown fixes, router NaN and out-of-bounds fixes, CPU kernel bounds, grammar and JSON Schema bounds (#903, #965, #966), a streaming output parser that is O(N) (#960).
Engine, tools and docs
- Tools:
convert.pywrites the PLE n-gram table as IQ4_NL with--ple-q iq4_nl(#311, 23 GiB smaller on the Flash-Next pack; Q8_0 stays the default), an Inkling 2 GGUF converter (#750), staging files are isolated and dry runs read only (#1035); the quality suite reads the recorded target log-probability below the test top-K (#987) and rejects score rows with mismatched targets (#1034);basalt --versionprints the engine version (#910). - CPU kernels: vectorized Q8_K
native_quant_hand exact multi-token IQ down rows (#876); DeepSeek and Hy4-flash take an sm_89 (Ada) second card in a-DPEER_ADA=ONbuild (#589, @Xiaomi2008); the prebuilt Linux archives state their glibc and libstdc++ floor (#1006). - Docs:
docs/models/models.jsonlists the supported models for programs to read (#1062); the platform pages and the Qwen3.6-35B-A3B and GLM-5.3-Flash pages follow the code. - CI and community: a release is built as a draft and published once its archives are attached (#914);
/askanswers a question about a pull request and/reviewhas a deep mode (#950, #1066); issues a maintainer is waiting on close after five days and stale ones after ninety. Community benchmark runs landed or were refreshed on 0.6.0 and later, on cards from an RTX 5060 Ti to dual RTX PRO 6000. community
Upgrading
- No flag or config key is removed or renamed.
--no-kv-poolis refused with one slot, where the pool already backs only what the conversation reaches. -DBASALT_MODELStakesqwen35moeandglm5nextbeside the others;allbuilds them.
Known issues
- Qwen3.6-35B-A3B takes one card:
peerandsplitare refused. - GLM-5.3-Flash is a first pass at the model, for the experts-in-RAM setups it was measured on; drafting (
--spec) is not yet token-exact against plain decoding; no published pack yet. - Windows: the new models and split pipelines were built on Linux only at merge; the CI build is their first Windows compile.
Checks of this release
- Qwen3.6-35B-A3B: greedy output drafted and plain identical over 900 tokens, batch windows (2 and 4 slots) identical, a 3.8K-token checkpoint restored identical. Inkling 2 Mini gives the tokens of 0.6.0.
- CPU tests (
ctest -L cpu -LE avx512) pass with all models built,-DWERROR=ON; serve and tools tests pass; GPU tests (ctest -L gpu, RTX 5090) pass.
Contributors of merged pull requests since 0.6.0: @giveen, @florian862-art, @larryllr, @xyehya, @Icehunter, @HyacinthLo, @yomgui1, @killthrash, @NektoDron, @WeiLiuu, @tselle, @jaderinoo, @tjm8874, @DaRealDaHoodie, @selimsengil, @sramteare, @Sypher760-gif, @huangwb68, @ApexArray, @aamsellem, @Creepypoke, @jemo19, @Adam90a, @DanielTillett, @SuperDistance, @Xiaomi2008, @Notte118, @nilspolek, @sweatybridge, @wiechapeter, @RecklessactN, @Megumeow, @MadStrangerUA, @bellkin, @woodsonl, @bovali, @Zigenzag, @stalexteam, @Hunting4you, @TriDefender, @petercham, @Phillis, @aruametello, @Schumi08, @jbagdonas, @ggppdk, @azido-azide-azide, @thisisspartan, @Niko1221. Qwen3.6-35B-A3B's weights are Qwen's and GLM-5.3-Flash's Z.ai's.