Repository navigation
v.0.5.11-alpha
Install command, run in PowerShell. From an admin PowerShell it installs for the whole machine instead.
irm https://raw.githubusercontent.com/omgitsbase/llmash/main/install.ps1 | iexOn Linux, with sudo sh at the end to install for the whole machine:
curl -fsSL https://raw.githubusercontent.com/omgitsbase/llmash/main/install.sh | shAlready installed: llmash update.
Changed
- One stream is faster on every model. Tokens per second at one request, greedy, 600 tokens, the mean of the conversation, coding and thinking workloads; every provider on the same NVFP4 checkpoint, llmash and vLLM measured in alternation with both servers up, three runs each:
| model | llmash 0.5.11 | vLLM 0.32 | llmash 0.5.10 |
|---|---|---|---|
| Gemma 4 E4B (unsloth NVFP4) | 468 | 417 | 422 |
| Qwen3.8 27B (nvidia NVFP4) | 159 | 132 | 138 |
| Qwen3.6 35B-A3B (nvidia NVFP4) | 570 | 468 | 512 |
Against vLLM that is 12, 21 and 22% ahead, where 0.5.10 was 2% behind on Gemma 4 E4B. The 0.5.10 column is that release's own measurement, from another day.
- The pull picker offers an FP4 build as the medium one on every card: NVFP4 on Blackwell, MXFP4 elsewhere, and the other format when a model has no build in the first. Every card the runtime supports runs both.
- A model that fails to load on a CUDA error names the error and the function it came from, where it showed only the line of the check.
llmash ablateshows its run as it goes: a row per stage, the layer the refusal direction was read from on a strip of the model's layers, and each search pass's KL as it lands. Piped or run by an agent it prints the plain lines as before.
Runtime
The runtime changed, build 782 (fork commit 28c87c123), so llmash update replaces the one you have.
- A verify over a few tokens multiplies each quantized matrix in a kernel that gives every warp its own rows across the whole row, with no shared-memory reduction: a short row (Gemma 4 E4B's feed-forward input, 2,560 wide) left a third of the old kernel's lanes idle. NVFP4 and MXFP4 weights are decoded once for all of a verify's tokens, where each token decoded them again. Gemma 4 E4B's feed-forward gate and up run 36% faster at four tokens.
- The residual add, its norm and the next block's input norm run as one launch in front of FP8 products and of a verify's quantized products as well; Gemma 4's per-layer input gate applies its GELU and product as it stores; an FP8 MLP's GEGLU and quantize use a wider block for a verify's few tokens.
- One stream drafts behind its verify on the device, as several streams already did, so the host's acceptance and the next verify's setup run while the drafter works.
Checked before release:
- The client program and its tests on Windows and Linux.
test-backend-opsmatrix multiplication against the CPU, 2,671 cases, with the new kernel on for every verify width.- Wikitext-2 perplexity at verify width (4- and 5-token batches, 16 chunks) with the new paths on and off: Gemma 4 E4B 77.84 against 77.74, Qwen3.8 27B 7.3768 against 7.3752.
- Sampled replies (temperature 0.7) on one stream with the drafter behind the verify and without: draft acceptance 0.334 against 0.342 over about 1,800 drafts each.
- The runtime's 1,024-thread kernels fit a block on every architecture it ships for (registers per thread from each build).