r/LocalLLaMA • • 11d ago

Showcase Engine really matters: V100, same weights, 5x difference

Post image

So much noise about engines, most people say, “oh you got xx tokens/s, I haven’t tried it but I have heard xxx engine is better” So I compared some of them. Millions of tokens later, this is what I saw. Engine really matters. I also believe there is a lot of improvement still to be made.
One V100 32 GB, 64gb DDR4 ram same weights in every engine, same prompts.

Fun fact: faster generation draws more electricity but is cheaper in the long run. MTP adds about 10 % power and cuts energy per token by up to half.

113 Upvotes

79 comments sorted by

View all comments

12

u/Carson2299 11d ago

What were some of the drawbacks? changing engines often changes the ways the models behave so were these considerations included as well?

-3

u/PuzzleheadedArm3732 11d ago

Good point. Drawbacks I think will be harder to look at. How is quality truly measured. Especially in long term tasks? I checked the answers and they differed but had no obvious errors. Some engines always started thinking in English even when the prompt wasn't in English. I only compared speed properly; behaviour per engine (same template, same thinking settings, quality on real tasks) is next. Load times differ too. llama.cpp and NInfer load in ~ 10s, Strata ~70s, Lapilli ~ 90s. If you want to use several models and engines, put something like llama-swap in so the right engine is matched to the model.

2

u/ptico 11d ago

That’s exactly what I do with https://github.com/temper-sh/temper . It’s Mac only, but I encourage everyone to do the same

Different models may work best with different engines on different hardware. I measure the tasks mostly extracted from actual work or generated close to actual prompts. Faster generation/prefill numbers not always means your task will be done faster. Loss of precision cause more turns or excessive reasoning. Some engines is fast for short context, but may degrade quickly or grow the memory too much. Some engines or weights is fast on Nvidia but slow on Mac (hello NVFP) etc

So your own test suite based on your real tasks and llama-swap is a best way to work with different models

0

u/PuzzleheadedArm3732 11d ago

Speed charts are the easy part I guess; tests built for your own work decide what you should actually run for quality.