Skip to content

Basalt 0.5.7

Latest

Choose a tag to compare

@jesdga95 jesdga95 released this 24 Nov 02:18
· 124 commits to main since this release

0.5.7

2026-11-23. Taken from main. Build from source: building, or take a release archive (platforms). A breaking release for every config that names more than one card: three settings replace each model's own multi-GPU logic, and gpu: auto is gone. The .basalt format stays version 2 and the config stays version 2.

Highlights

  • Three settings say what several cards do. gpu names the cards, gpu-mode (peer, split or tensor) what they do together, gpu-share their proportions. The engine no longer prices mechanisms, picks a main card or leaves a card idle on its own: your mode decides, and a mode the model cannot run, or a card that would hold nothing, is refused with the reason before the load. The same three names work in the server config, basalt, basalt-bench and basalt-probe. GPUs
  • One shared layer for every model. Cards, shares, placement, refusals and the start lines are shared code; a model fills a small contract per mode (model::PeerHooks, model::SplitHooks) and is checked against one card with --diag-gpu-check. design
  • Qwen3.8-27B: peer reads a 64K prompt 17% faster than one card (7,410 against 6,336 tok/s) and split holds the later layers, both with the tokens of one card. --kv nvfp4 refuses a second card in either mode.
  • Inkling 2 Mini peers. gpu-mode peer puts the hottest experts that spilled from the main card in the second card's VRAM: with 1,572 experts spilled a 16K prompt reads 7,445 against 6,234 tok/s and conversation decodes 290 against 117. It helps only when experts spill beyond what the elastic copies cover; at default settings one card is fastest up to 1M tokens, and a split is about 25% slower than one card there. Inkling
  • Qwen3.8-Flash-Next, DeepSeek-V4.1-Flash and Hy4-flash keep their expert peers (gpu-mode peer) with no speed loss against 0.5.6 (Flash-Next 64K prefill 9,823 against 9,835 tok/s), and Flash-Next's layer split (gpu-mode split) takes unlike cards and up to eight.
  • An unused card is no longer a mystery. With gpu unset and more cards visible, every model warns once at start, in the CLI, the server and the bench: GPU 1 (RTX 5060 Ti) unused; to use more cards set gpu (0,1 or all) and gpu-mode.

Several GPUs

  • gpu takes a number, a list (the first is the main card) or all (every visible card in order). gpu-mode is required with two or more cards and an error with one. gpu-share is one positive number per card in the order of gpu; by default a split's cut and a peer's experts follow free VRAM and a peer's prompt layers follow memory bandwidth.
  • Each model states the modes it runs (gpu_modes()): Flash-Next peer (up to four cards) and split (up to eight); DeepSeek and Hy4-flash peer; Qwen3.8-27B and Inkling 2 Mini peer and split on two cards. tensor is reserved and refused everywhere. table
  • Sm_89 cards stay peers in a -DPEER_ADA=ON build (Flash-Next); the main card must be sm_120, and split refuses sm_89.
  • Removed: the pricing that chose a mode (plan_multi_gpu, the alike and unlike card rules, the 27B's per-read stage price and its layer stage rule, Flash-Next's layer plan by SMs and clock), gpu auto, --diag-split-at and --no-peer-prefill. A peer now always reads its experts' rows of a prompt; gpu 0 keeps a prompt on the main card.
  • Diagnostics: --diag-gpu-cut L (one cut flag for every model, replaces --diag-split-at), --diag-gpu-check with --diag-gpu-trace and --diag-gpu-ref (a mode against one card: bitwise steps, greedy identity, KLD, top-1), --diag-gpu-same, and for Flash-Next --diag-main-card-bits (the other cards run the main card's cuBLAS algorithms, so prompt stages and a split are bitwise) and --diag-fixed-experts (a prompt's experts all run on the GPU and a window's verifiers see none in VRAM, so two placements of the same experts compute the same rows). diagnostics
  • Quality: Flash-Next peer BF16 KLD 0.06174 against 0.06221 on one card, top-1 91.84% against 91.80% (100 chunks). A peer's prompt differs from one card's at summation-order rounding (about 0.01 KLD on --diag-gpu-check, the same as any reordering of the experts' sum). precision
  • basalt-bench --community takes the user's cards and mode like any run and records them in the row's engine_args; the community gate accepts --gpu-mode and --gpu-share there.
  • The server's expert hit rate counts an Inkling lookup served by the second card as on a GPU, no longer as a miss.

Upgrading

gpu: auto, a gpu list without a gpu-mode, and the two removed flags are errors, with no transition release. The error for a bad gpu or gpu-mode lists the valid forms and names the doc page, for example gpu "auto": expected a card number like 0, a list like 0,1 (the first is the main card), or all; see docs/configuration/gpus.md and gpu 0,1 names 2 cards: set gpu-mode to peer, split or tensor; see docs/configuration/gpus.md. A removed flag is the normal unknown-argument error.

Before and after in the config (each entry of models, or the server section):

0.5.6 0.5.7
"gpu": "auto", Flash-Next, DeepSeek or Hy4-flash on two cards "gpu": "all", "gpu-mode": "peer"
"gpu": "auto", Qwen3.8-27B (it read long prompts on the second card) "gpu": "all", "gpu-mode": "peer", or "gpu": "0" for the main card alone
"gpu": "auto", Qwen3.8-27B that did not fit one card (the layer stage) "gpu": "all", "gpu-mode": "split"
"gpu": "auto", Inkling 2 Mini (a split when it paid, else the main card alone) "gpu": "0" where the main card holds the model; "gpu": "all", "gpu-mode": "split" for a held-back card, "peer" for spilled experts
"gpu": "auto", Flash-Next where the layer split was picked (matched cards) "gpu": "all", "gpu-mode": "split"
"gpu": "0,1" "gpu": "0,1", "gpu-mode": "peer"
"gpu": "1,0" (the second card as main) "gpu": "1,0", "gpu-mode": "peer"
"gpu": "0" unchanged, and silent: naming a card is a choice
gpu unset unchanged; one warning names the other visible cards

Flags and keys:

  • --gpu auto is --gpu all --gpu-mode peer (or split); --gpu 0,1 needs --gpu-mode.
  • --diag-split-at N is --diag-gpu-cut N with --gpu-mode split.
  • --no-peer-prefill is gone: a peer always reads its share of a prompt; --gpu 0 keeps the prompt on the main card.
  • basalt-probe and basalt-bench take --gpu-mode and --gpu-share beside --gpu.
  • A cut of a split now follows gpu-share (free VRAM by default) in place of a priced search: a split that fits one card runs only when gpu-mode split says so.
  • The expert counts the console reads for Inkling count the second card's lookups as hits.

Other changes

  • Inkling 2 Mini: --kv int8 (#552), between fp16 and fp8 in quality (0.00343 KLD, 97.47% top-1); CPU experts take a visit through a mapped doorbell instead of copies (#593); under tool_choice: none a native call is text (#580).
  • Qwen3.8-27B: --kv nvfp4, NVFP4 K/V cells (18 KiB a position against int8's 33), opt-in at +0.0024 KLD over int8 (#604).
  • Qwen3.8-Flash-Next: the router's four-row prompt path and hyper-connection partials that read x once (#570); mixed Q5_1 expert pairs in decode (#500); unused pinned expert copies are skipped (#489).
  • Hy4-flash: elastic KV growth no longer refuses spuriously (#549).
  • Server: /metrics speaks Prometheus text (basalt_* metrics) when asked (#617, #623); persistent totals and prices in the console (#461); the default model answers a request with no model field (#337); a top-level enable_thinking: false turns thinking off (#625); a full batch gives each slot one row next round (#621); streamed replies send without Nagle delay (#447); an encode command that times out retires the engine (#576). The console has a Support Basalt dialog.
  • Community benchmarks: one file per run under docs/community/runs, checked by an automatic gate and model review and merged automatically when they pass; the website reads them from a database the merge refreshes. community

Known issues

  • Qwen3.8-27B gpu-mode peer reads prompts slower than 0.5.6's gpu auto did: a 16K prompt 13,044 against 15,591 tok/s, a 64K prompt 10,437 against 11,168 (still faster than one card at 64K). Decode is unchanged.
  • Hy4-flash on one card stops with an illegal memory access in prompt quantization on prompts of about 600K tokens and more, as 0.5.6 did.

Checks of this release

  • Every model on one card gives the tokens of 0.5.6 (Hy4-flash and DeepSeek with their expert tiers frozen, which also vary between two runs of 0.5.6), at the speed of 0.5.6 within 2% (Flash-Next prompts 1.6% faster).
  • In the daily config's modes, A B B A against 0.5.6's gpu auto: Flash-Next, DeepSeek and Hy4-flash peers and Inkling 2 Mini on one card within noise; BF16 KLD of Flash-Next peer 0.06186 (0.5.6 auto 0.06186), DeepSeek peer 0.2803, Hy4-flash peer 0.2061 (100 chunks).
  • The server answered chat, streamed chat, tool calls, /v1/messages, /metrics and the console page with every model in its mode; every invalid gpu, gpu-mode and gpu-share setting and removed flag stops at start with its message.

Contributors of merged pull requests since 0.5.6: @giveen, @CaptainArni, @xyehya, @LoneFireBlossom, @wiechapeter, @florian862-art, @au70ma70n, @lEWFkRAD, @LarsSimonsen, @hagudelom, @Suppressor72, @Dmitriy-Romanov, @jaylogue, @tselle, @void-mckenzie, @DaRealDaHoodie, @wrongdoug, @utombords, @stanislav-malchev, @wisdommen.