Llama 2 7B on the NVIDIA A40
Best measured: 126 tokens/s generation and 5,256 tokens/s prompt processing (Q4_0, CUDA, FA on).
Every run
| Quant | Backend | Generate tok/s | Prompt tok/s | Test | Build / by / notes | Source |
|---|---|---|---|---|---|---|
| Q4_0 | CUDA FA on | 126 | 5,256 | tg128 | 3470a5c @Hedede | llama.cpp CUDA scoreboard (#15013) |
| Q4_0 | CUDA FA off | 124 | 4,609 | tg128 | 3470a5c @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 RunPodAffiliate link: if you sign up, RigBench may earn a referral credit. It never affects rankings or numbers.
All results for the NVIDIA A40 · Llama 2 7B on other hardware