Skip to content

Basalt 0.5.6

Choose a tag to compare

@jesdga95 jesdga95 released this 23 Nov 08:09
· 266 commits to main since this release

0.5.6

2026-11-23. Taken from main. Build from source: building, or take a release archive (platforms). A patch release: Inkling 2 Mini runs on more setups and reads prompts faster, parallel slots decode together on every model, and Hy4-flash stops producing stray tokens. The .basalt format stays version 2 and the config stays version 2.

Highlights

  • Parallel slots decode together on every model. --parallel N runs the busy slots as one pass through the weights, up to 8 rows, the rows going to the drafts likeliest kept. A request alone in its slot gives the tokens it gives with --parallel 1. batched decoding
  • Inkling 2 Mini on a small card or two cards. Experts that live in RAM are computed on the CPU instead of read over the bus: an RTX 5060 Ti alone decodes conversation at 59 tok/s, struct 118, prose 53, about 2.6 times as fast as before. An RTX 5090 held to 16 GB beside an RTX 5060 Ti splits the layers between them: conversation 246 tok/s, a 16K prompt 9,140 tok/s.
  • Faster Inkling 2 Mini prompts and decode. Prompts read 21 to 25% faster (#555): a 16K prompt on an RTX 5090 at 400 W goes from 12,710 to 15,820 tok/s. Plain decode (--spec 1) is 4 to 5% faster, drafted struct and prose 4 to 6%, with the same output.
  • A new default Inkling pack. Inkling-2-Mini-NVFP4-MX8.basalt (19.6 GB) keeps the release's MXFP8 experts as they are and reads prompts about 5% faster on the card, at level quality. It is the new default download; Inkling-2-Mini-NVFP4-DQ8.basalt still loads. pack
  • Hy4-flash no longer emits stray tokens. The Engram gate used bf16's epsilon where the model uses FP32's. Against the rebuilt BF16 base (100 chunks): mean KLD 0.782 to 0.209, top-1 76.77% to 86.14%; the stray answers in JSON and code went from 3 to 4 of 48 to 0 of 48 (#556). precision

Inkling 2 Mini

  • Experts in RAM on the CPU (#536, @YurkoHoshko's idea): after a layer's router the rows go to RAM and the CPU pool computes the RAM experts while the card computes the rest. The CPU rows take the card's softcapped SwiGLU, so the 5060 Ti alone scores 0.00298 KLD and 97.70% top-1 over 90 chunks, level with the whole model on the card.
  • Two cards as a layer split (#527): the second card runs the later layers with their experts and caches, each window and prompt chunk crossing through page-locked RAM inside one graph. The start prices it against the main card alone and splits only when the split holds every expert and is cheaper. --diag-split-at forces a cut. 0.00304 KLD, 97.70% top-1 over 100 chunks.
  • Prompts: a fused loop controller and message mix, tiled convolutions, a fused Q/K/V projection and a 256-row FP4 expert kernel (#555); native MXFP8 experts for layers 20 to 23 on block-scaled MXFP8 tensor cores and a 2-CTA TMA Q8_0 projection GEMM (#575). The MX8 pack scores 0.00297 KLD and 97.83% top-1 over 100 chunks (the DQ8 pack 0.00305 and 97.76%); with its RAM experts on the CPU 0.00303 and 97.72%.
  • Decode: a 3-row window runs the fused window attention, a 5 to 8-row window's loop controllers take two outputs a down-projection block, moe_plan scans with every warp, the glue's sums shuffle less, kernels read before their wait what no earlier kernel writes, and the drafter head's final pick reads a quarter of the scores.
  • Prompt lookup drafts. A window takes tokens copied from an earlier repeat of the context (at least 3 tokens) when the draft policy expects more from them than from the DSpark block. A 2,405-token copy prompt decodes 13% faster; prompts without repeats are unchanged. The model takes no --suffix-draft flag.
  • Images keep no card memory with --vision dynamic (#541): a request's pictures borrow the encoder's region from the experts and the experts come back byte for byte. The pixels are prepared as the reference does (CLIP normalisation with its two bf16 roundings).
  • Idle sleep and VRAM lending: a sleep sends the card copies of RAM experts back to RAM and the wake returns them; POST /v1/vram resizes them against the free VRAM asked.
  • Tool calls written as XML (<invoke name>, <parameter name>) are read as tool calls when they name a tool of the request; a call with no name in its header, no header, or cut off before its end is still a call, and one cut by max_tokens streams arguments that parse (#540, #553).
  • Tokenizer: a piece that is itself a vocabulary entry is that one token, as the checkpoint sets ignore_merges (337 entries the merges cannot build now tokenize as the official tokenizer does).
  • JSON schema: under a schema the model thinks first and the grammar holds only the answer (#557). reasoning_effort minimal is Inkling's own minimal level, not none.
  • Eight parallel slots at 4K keep every expert on the card (956 were in RAM before).

Hy4-flash

  • The Engram gate norms the stream and the key with FP32's machine epsilon, as the reference does (bf16's 0.0078 swamped small keys) (#556).
  • --parallel slots share one forward scratch and decode together, so extra slots stop costing expert copies.
  • The engine reports where its experts live, so basalt-bench --community can check for SSD spill.

DeepSeek-V4.1-Flash

  • --vision dynamic keeps no RAM at rest: a slot's picture and patch rows grow while its pictures are read, which gives the experts' RAM tier back (6 GiB; 18 experts a layer had been homed on the main card in place of 60 copies).
  • An image's encoder buffers are reserved where the tier can lend for them, their work pointers go with them, and a failed allocation leaves no CUDA error behind (#515, @DaRealDaHoodie).
  • --parallel slots decode together on the shared batch driver.

Qwen3.8-Flash-Next and Qwen3.8-27B

  • Both batch their slots through the shared driver. Flash-Next's own rounds are gone and its speed matches them at 1, 2, 4 and 8 slots; slots whose drafter sets its own length take max-min fair shares of a round.
  • Flash-Next: the wide QSA threshold selection of long prompts scans with every warp (#486, @LoneFireBlossom).

Shared engine

  • Batched decoding (model/batch_driver.hpp): a model writes its hooks (stage, forward over the segments, each session's logits and draws), and the driver runs the composition as one graph. --diag-batch-check checks every slot's windows alone against batched, bitwise, and tools/batch_identity.py checks a model's slots alone and together. A batch's rows go to the drafts likeliest kept. design
  • basalt generate --seed samples on every model (the CLI path had built no sampler, so every run was greedy): a seed gives one text at any window; --temperature 0 and no seed stay greedy.
  • POST /v1/vram while the model sleeps keeps the reserve and applies it at the wake (200 {"status": "asleep"}).
  • CPU: MXFP8 rows run on AVX2 + F16C and AVX-512, a weight block decoded once for every token of a window, bit for bit the scalar row (#575). One start-up pick of the expert pool's workers (--pool-workers, else automatic) for every model's pool.
  • Flash-Next's --batch-groups pipeline is gone: no flag had set it since 0.1.0.

Serve

  • A session holds every slot its conversations took: parallel agents of one session each keep the slot their K/V sits in (#532, @cloudfinapps).
  • The slot a prompt continues is told from one that merely shares its head, so a reply the client sends back cut into other pieces no longer reads as another conversation (#532).
  • Anthropic clients can use a base URL that ends in /v1 (#441, @woodsonl).
  • A whole call close quoted inside a string value is kept (#533, @anonimousA).
  • A thinking budget caps only the thinking: the request's own total cap stays (#512).

Fixes and platforms

  • basalt-bench --community takes Hy4-flash and Inkling 2 Mini, names the quant from the model's adapter and the KV format from it too (#471, #494, @bovali, @beastrobin); cpu_label drops a plural "N-Cores" tag (#487, @sramteare).
  • The NVIDIA driver note: keep it current; an older Linux 615 build looped every reply and 615.71.09 fixed it (#514).
  • Docs: Ko-fi and PayPal beside GitHub Sponsors; CI skips changes that touch only docs.
  • Community benchmark rows: RTX 5090, 5080, 5070 Ti, 5060 Ti, PRO 4000, PRO 4500, PRO 6000, laptop 5090 and multi-card machines, on Flash-Next, DeepSeek, Inkling 2 Mini and the 27B (community).

Upgrading

  • --exp concur5_digest=1 is removed with the batch pipeline it printed for.
  • No flag or config key is renamed. The .basalt format stays version 2 and the config version stays 2. Packs built for 0.5.5, including Inkling-2-Mini-NVFP4-DQ8.basalt, load as they are.
  • Inkling-2-Mini-NVFP4-MX8.basalt needs 0.5.6 or later.
  • convert.py --checkpoint on the Inkling 2 Mini release writes the MX8 form.

Checked

At 400 W (+ 180 W), on the release branch against 0.5.5 (v0.5.5, ff0b978):

  • Greedy output equal to 0.5.5 (CLI, 24 tokens) on DeepSeek-V4.1-Flash, Qwen3.8-27B and Inkling 2 Mini; Hy4-flash differs by design (the Engram epsilon). With the epsilon fix added to 0.5.5 its decode is the same speed (within 0.3%, --spec 1).
  • Every model built in Release with warnings as errors. CPU tests (106, also run with no GPU), GPU tests (258 in all, 6 skipped for want of packs; two timing-sensitive ones fail only under ctest -j6 and pass alone), serve tests (1,288), tool tests and the repository checks pass.
  • Every model in the daily config started, generated and answered a request: Qwen3.8-Flash-Next, Hy4-flash, Inkling 2 Mini, Qwen3.8-27B and DeepSeek-V4.1-Flash (two cards).
  • Speed, basalt-bench --seed 1, A B B A against 0.5.5 with the daily config's flags: Qwen3.8-27B and Qwen3.8-Flash-Next decode and 2K prompts within 1% (the 27B's struct within 2%); DeepSeek plain decode within 0.5%, its 2K prompt 16% faster with --vision dynamic (no RAM at rest); Inkling 2 Mini as above, its 2K prompt 12,250 to 14,900 tok/s.
  • Inkling 2 Mini drafted conversation decodes 1 to 5% slower than 0.5.5 (windows of 1.5 tokens against 1.9, 60% of drafts kept against 66%): it comes with the prompt path of #555, not with the batched drafter commit; the model's quality (0.00264 KLD over 20 chunks) is unchanged.

Contributors of merged pull requests since 0.5.5: @YurkoHoshko, @tjm8874, @DaRealDaHoodie, @LoneFireBlossom, @cloudfinapps, @woodsonl, @anonimousA, @bovali, @beastrobin, @sramteare, @giveen, @aamsellem, @stephen304, @Zigenzag, @void-mckenzie, @sean640112, @obiscr, @ABigGoy4U, @46135413, @jie3000, @Adam90a, @redsoul1905, @miloaissatu, @noveminfo, @wiechapeter.