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
| Quant | Backend | Generate tok/s | Prompt tok/s | Test | Build / by / notes | Source |
|---|---|---|---|---|---|---|
| Q4_0 | CUDA FA off | 33.3 | 515 | tg128 | c76b420 @m18coppola | llama.cpp CUDA scoreboard (#15013) |
| Q4_0 | CUDA FA on | 33.1 | 530 | tg128 | c76b420 @m18coppola | llama.cpp CUDA scoreboard (#15013) |
| Q4_0 | Vulkan FA on | 28.4 | 287 | tg128 | 24d2ee0 | llama.cpp Vulkan scoreboard (#10879) |
| Q4_0 | Vulkan FA off | 28.0 | 266 | tg128 | 24d2ee0 | 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 RunPodAffiliate 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