Skip to content

RustingStrata 1.4.0

Choose a tag to compare

@github-actions github-actions released this 26 Nov 18:18
· 95 commits to main since this release

RustingStrata 1.4.0

New

  • Batched serving. serve --gpu --parallel N now runs the requests of many users as one batch on the GPU (up to 128 rows a step), on CUDA and on Vulkan. The same binary serves one user or a small team. Qwen3-4B-Instruct-2507 on one RTX 3060 12 GB, 64 streamed chats at once, 128 reply tokens each, total decode:
    • Q4_K_M: 1694-1699 tok/s on CUDA, 824-960 tok/s on Vulkan.
    • BF16: 1490-1491 tok/s on CUDA (vLLM 0.33 bf16 on the same card: 1470-1473).
  • With --parallel, the KV cache of each slot (for a model without experts) starts small and grows when a request needs more, up to --ctx, so short requests do not each hold a full context of VRAM.
  • --parallel also takes image requests.
  • OpenAI JSON mode: response_format with json_object or json_schema on /v1/chat/completions. A schema is turned into a grammar, and the keys come out in the schema's order.
  • TurboQuant KV cache (--kv turbo4, turbo3, turbo2 and mixed forms) on CUDA and Vulkan, and --k/--v to give K and V their own types (#84).
  • New model: KRAFTON Raon-1 mini (raon1), with its DFlash2 drafter.
  • Inkling 2: the expert slabs can go on a second card (--device 0,1) (#96).
  • STRATA_KV_HOST (opt-in) keeps the attention KV cache in host RAM and runs decode attention on the CPU (#106).
  • CPU generation uses the quantized matvec kernels (#112); long prompts prefetch the next layer's cold experts from disk (#108).
  • --mmproj none loads no projector (#111).
  • ROADMAP.md lists the planned work.

Fixes

  • Without --chunk, a GPU load that runs out of VRAM halves the prefill chunk (down to 512) and tries again, instead of failing.
  • Vulkan prompt attention no longer needs more shared memory than NVIDIA's Vulkan driver allows (48 KB); it failed to load on NVIDIA cards with Vulkan.
  • Linux: NVRTC is also found as libnvrtc.so.13/.12 and as the libnvrtc.alt.so build, so a CUDA install without the -dev package no longer falls back to Vulkan (#41).
  • Gemma 4: CPU experts of a type with no integer dot kernel no longer panic (#115).
  • DFlash: draft features on hyper-connection models are captured correctly (#113).
  • Inkling 2: a file whose attention.qk_clip is not positive is refused.