Skip to content

RustingStrata 1.5.1

Latest

Choose a tag to compare

@github-actions github-actions released this 04 Dec 20:10
· 15 commits to main since this release

RustingStrata 1.5.1

New

  • Qwen4: a request's reasoning_effort goes into the template's system line (xhigh, high, low, off; the OpenAI names are taken as the nearest of them), and off turns thinking off (#190). The template variants of other Qwen4 GGUFs are detected (#194).
  • --pretty shows an inline status panel for inference and calibrate, --graph adds prefill and decode speed graphs, and --status-interval sets the refresh rate (#144). The timestamped speed lines stay the default.
  • serve: POST /v1/vram with {"reserve_mib": N} lends expert-cache VRAM to another program on the same GPU and takes it back (admin key, main engine) (#185).
  • --tail-skip R skips the CPU experts that a token ranks at R or lower. Decode gets faster on a card that holds few experts, and the answers differ from the model's. Off by default (#183).
  • --arena, --pin and --prefill-cpu for MoE models that run many experts on the CPU: the model is read into pinned RAM, the CPU expert threads are pinned to cores, and a prompt runs a share of the missed experts on the CPU. All three are off by default. --cpu-frac, --host-share and --no-fused tune them (#178).
  • serve logs how many draft tokens each request accepted (#188, #184).
  • --ple also names the shard of a split model that is in another folder (#189).
  • DFlash2 reads dflash.logit_scale (#192).
  • HIP: GigaChat 4 runs its clamp, indexer and MLA attention on the card (#174). On a 16 GB card it needs a cap such as STRATA_DS_GPU_EXPERTS=4, see docs/HIP.md.

Faster

  • Qwen3.8-Flash-Next: AVX-512 kernels for IQ2_XXS, IQ2_XS and IQ3_XXS experts on the CPU (1.3-1.5x on one thread), and the CPU experts of a decode step run in one dispatch a layer (#178). On an RTX 2080 SUPER 8 GB with a Ryzen 9 7945HX (not the reference machine), IQ3_XXS with a 1.8k-token prompt: decode went from about 35.5 to 38.5 tok/s with the default settings. With --arena --pin --prefill-cpu, prefill is 646 tok/s (about 440 before) and decode 41.5 tok/s, or 43.1 with --vram-margin 272. Details in docs/BENCHMARKS.md.
  • HIP, GigaChat 4 37B-A4B Q4_K_M on an RX 9070 XT: prefill at 4096 tokens went from 137 to 339 tok/s. A 32k prompt prefills at 319 tok/s and decodes at 17.4 tok/s after it (#174).
  • Inkling 2 on CUDA: Q8 attention is on by default, with shared K/V tiles in prefill and a decode kernel for head dimension 128 (#179). The expert staging has a second copy queue, so the copies run while the resident experts compute (#187). Tensor-core prompt attention for an f16 cache is opt-in (STRATA_DS_ATTN_TC=1).

Fixes

  • serve --parallel with a dense model: a greedy decode step grows the slot's KV cache before it writes a row. Before, it wrote past the buffer, and on AMD cards the request ended with "The logical device has been lost" (#150, #180).
  • serve --parallel with a model split over two cards: each part counts only its own weights for the slot fit. Before, the split left room for one slot and the requests ran one after the other (#180).
  • serve --parallel: a long prompt stays in its own slot when another slot decodes between its chunks. Before, the rest of the prompt was written into the slot of the other request (#195).
  • Qwen4: the hyper-connection down/inject split covers a standalone MTP companion GGUF (#193), and a broken fused tensor stops the load.
  • MCP over Streamable HTTP: SSE parsing, session reset, the negotiated protocol version, null errors and empty pages (#181).
  • Vulkan: an iGPU such as the Radeon 890M reports its unified memory (#191).
  • CUDA: the free memory counts what the stream-ordered allocator holds unused (#187).
  • A file that holds only the Qwen3.8-Flash-Next n-gram table does not count toward the model size, so a model that fits in RAM keeps its experts in the page cache (#178).