Llama 2 7B › NVIDIA Tesla M40

Llama 2 7B on the NVIDIA Tesla M40

Best measured: 41.7 tokens/s generation and 93 tokens/s prompt processing (Q4_0, Vulkan, FA on).

Every run

QuantBackendGenerate tok/sPrompt tok/sTestBuild / by / notesSource
Q4_0Vulkan FA on41.793tg128b8372ee llama.cpp Vulkan scoreboard (#10879)
Q4_0CUDA FA on40.0290tg12897d5117 @Hedede llama.cpp CUDA scoreboard (#15013)
Q4_0Vulkan FA off39.492tg128b8372ee llama.cpp Vulkan scoreboard (#10879)
Q4_0CUDA FA off38.0283tg12897d5117 @Hedede llama.cpp CUDA scoreboard (#15013)

tg128 = generating 128 tokens; pp512 = reading a 512-token prompt (llama-bench). LocalScore averages several prompt and output lengths, so its numbers run lower than tg128.

Rent one by the hour

Rent a GPU on RunPod

Affiliate link: if you sign up, RigBench may earn a referral credit. It never affects rankings or numbers.

All results for the NVIDIA Tesla M40 · Llama 2 7B on other hardware