Llama 2 7B › NVIDIA A40

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

QuantBackendGenerate tok/sPrompt tok/sTestBuild / by / notesSource
Q4_0CUDA FA on1265,256tg1283470a5c @Hedede llama.cpp CUDA scoreboard (#15013)
Q4_0CUDA FA off1244,609tg1283470a5c @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 A40 · Llama 2 7B on other hardware