Strata 0.2.14 prompt kernels: reading prompts with its own code on NVIDIA and AMD

What changed is not how fast the answer arrives but when it starts.

Strata 0.2.14 replaces llama.cpp code with its own kernels for reading prompts1. Output speed barely moves while long inputs finish sooner, and one short-prompt measurement fell from 2,010 ms to 408 ms.

Requirements and key details
  • Prompt processing moved from llama.cpp code to its own kernels.
  • An RTX 5090 at a 32K prompt rose from 6,851 to 7,870 tok/s.
  • Output speed barely moves, and answers can differ in wording.

What actually changed

Until now prompt reading used code taken from llama.cpp. 0.2.14 replaces it with Strata's own kernels on NVIDIA and AMD cards, on both Windows and Linux.

Source builds take the same path. To keep the old behaviour, build with -DSTRATA_MMQ=ON and it returns to the llama.cpp path.

An RTX 3090 in a case, colored blocks moving along a conveyor to shelves, and cards printed with network diagrams on the work surface
Only the prompt step moved to its own kernels.

The improvement in numbers

The drop is largest on short prompts: on Strix Halo under Windows, 256 tokens2 fell from 2,010 ms to 408 ms and 1,000 tokens from 3,112 ms to 877 ms.

Long prompts shrink in absolute time even when the ratio is small: an RTX 4090 at 20,000 tokens went 6,110 to 5,656 ms, and an M5 Max at 7,755 tokens 4,581 to 4,488 ms.

Scroll sideways to compare all columns.

Measured against 0.2.13
Machine, modelPrompt0.2.130.2.14
Strix Halo (Win)256 tokens2,010ms408ms
Strix Halo (Win)1,000 tokens3,112ms877ms
RTX 4090 IQ3_S20,000 tokens6,110ms5,656ms
RTX 5090 UD-Q432,000 tokens6,851 tok/s7,870 tok/s
M5 Max IQ3_S7,755 tokens4,581ms4,488ms

Why output speed stays put

The change covers prompt reading only; the step that writes the answer token by token is untouched.

Output on the M5 Max moved 92.8 to 94.7 tok/s with identical text. If waiting for the first token is the problem this helps; if continuation speed is, look elsewhere.

A small computer running a search system beside document stacks
Short prompts see the biggest drop.

Keeping versions straight

In 0.2.14 the app and Terminal are 0.2.14 while Control and the engine packages are 0.1.60; the differing numbers are expected.

The newest 0.2.15 fixes only the app and Terminal, so the kernel improvement arrived with 0.2.14 and updating does not re-download the engine.

Two metal devices sit on a desk and shelf beside a laptop, with cables connected to a switch box in front
Output speed stays about the same.

Terminology notes

  1. Prompt — The input text sent to a model. For generative models it describes the desired result and strongly shapes the output.

    Back to the text
  2. Token — A unit into which a model divides input or output for processing.

    Back to the text

Frequently asked questions

What should you check first in this article?
Strata 0.2.14 replaces llama.cpp code with its own kernels for reading prompts. Output speed barely moves while long inputs finish sooner, and one short-prompt measurement fell from 2,010 ms to 408 ms.