Skip to content

RustingStrata 1.2.3

Choose a tag to compare

@github-actions github-actions released this 15 Nov 15:12
· 969 commits to main since this release

RustingStrata 1.2.3

Chat page

  • The built-in chat page (rustingstrata serve, then open the server address in a browser) has a new terminal-style design.
  • Message actions: edit, regenerate, continue a reply, copy, delete.
  • Sampler presets, a system prompt for every chat and instructions for one chat.
  • Chats can be searched, renamed, exported and imported. They stay in the browser's localStorage.
  • Model loading from the page with its options (context, MTP drafts, KV cache format, VRAM margin, prefill chunk).
  • The accent color follows the model family.
  • The page offers to calibrate a model that has no calibration file yet.

Serving

  • serve --parallel: on dense models with CUDA, eight or more requests that decode at the same time now run as one batched forward, and queued requests are prefilled together. Under load the batched path can pick a different token at a near-tie than a single request does.
  • serve --parallel 16 on the 35B model no longer runs out of VRAM: the number of cached CUDA graphs is capped.
  • A small GEMM kernel handles dense GEMMs of at most 32 positions.
  • serve prints a hint when the model is not calibrated on this machine. rustingstrata calibrate --model <file> takes a few minutes, once per model.
  • No queue limit by default. Set --max-waiting on a server that strangers can reach (see docs/HOSTING.md).
  • --think is on by default for serve and chat; --think false turns it off.
  • tools/loadtest.py measures throughput with many clients.

Speculative decoding and prompt cache (PR #36 by @ybenyedder)

  • EAGLE3 draft heads through --mtp-model.
  • N-gram drafters: --spec-type ngram-simple|ngram-map-k|ngram-map-k4v|ngram-mod|ngram-cache, with --lookup-cache-static and --lookup-cache-dynamic. They work with one slot (--parallel 1).
  • --prompt-cache PATH keeps KV prefix states on disk across requests and restarts.
  • Vulkan work for AMD RDNA 3.5 integrated GPUs.

Fixes

  • Windows: CUDA now finds NVRTC from CUDA 12.x (nvrtc64_120_0.dll) as well as 13.x, on PATH or under %CUDA_PATH%\bin. STRATA_NVRTC names another file. This was built for Windows but not yet run on a Windows machine; reports are welcome in #35.
  • Vulkan on AMD wave32 devices: rcp_d uses double precision (PR #37 by @ybenyedder).
  • Vulkan lists discrete GPUs before integrated ones.
  • GGUF types TQ1_0 and TQ2_0 are supported.

Files

  • rustingstrata-linux-x86_64: Linux, x86-64-v3.
  • rustingstrata-windows-x86_64.exe: Windows, x86-64-v3.

CUDA needs the NVIDIA driver and the NVRTC library; without them the run falls back to Vulkan. Usage: README and docs/USAGE.md.