Llama 2 7B › NVIDIA Tesla P4

Llama 2 7B on the NVIDIA Tesla P4

Best measured: 33.3 tokens/s generation and 515 tokens/s prompt processing (Q4_0, CUDA, FA off).

Every run

QuantBackendGenerate tok/sPrompt tok/sTestBuild / by / notesSource
Q4_0CUDA FA off33.3515tg128c76b420 @m18coppola llama.cpp CUDA scoreboard (#15013)
Q4_0CUDA FA on33.1530tg128c76b420 @m18coppola llama.cpp CUDA scoreboard (#15013)
Q4_0Vulkan FA on28.4287tg12824d2ee0 llama.cpp Vulkan scoreboard (#10879)
Q4_0Vulkan FA off28.0266tg12824d2ee0 llama.cpp Vulkan scoreboard (#10879)

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 P4 · Llama 2 7B on other hardware