Performance

These figures were measured on particular computers. Other cards, drivers or models give other numbers.

On this page

Long texts do not block others

Plain llama.cpp makes later requests wait almost until a long text has been read. Raubot LM cuts the reading into pieces so everyone takes turns (--prefill-budget, 512 by default).

AMD R9700, 27B model: time to the first word for a short request while a long one reads 20,000 tokens (about 0.23 s normally):

SettingLong one aheadLong one behindTime of the long request
Off23.8 to 25.7 s4.9 to 5.1 s24.2 to 26.4 s
512 (default)0.97 to 1.77 s1.5 to 1.65 s24.2 to 24.8 s
2560.71 to 0.99 s1.0 to 1.04 s25.4 to 26.0 s

NVIDIA RTX 5060, 4B model: with the long one ahead, from 2.3–3.0 s down to 0.22–0.66 s.

Graphics card versions compared

AMD R9700, tokens per second, higher is faster:

ModelVersionReadingAnswering
27B Q6Vulkan93123.5
27B Q6HIP100823.4
Gemma 4B Q8Vulkan735598.0
Gemma 4B Q8HIP1036588.3

Going faster

  • Keep loaded the models you use often. Reloading a 27B model takes about 16 s.
  • Putting models on an SSD is recommended. On a hard disk, image, video, and flow models are automatically read sequentially into the OS file cache before starting the engine (with file-reading progress shown in the status bar) to avoid slow cold random reads.

If this page differs from the Traditional Chinese version, the Traditional Chinese version prevails.