You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I tested the performance of 512 prompts using both llama-bench and llama-cli. The results indicate that llama-bench achieves better single-threaded performance compared to llama-cli. What could be the reason for this difference?
test command:
./bin/llama-cli -m ../../../llm-model/qwen2.5-3b-q41.gguf -p "a prompt with 512 tokens" -n 128 -no-cnv --cpu-strict 1 -ngl 0 -t 1
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I tested the performance of 512 prompts using both llama-bench and llama-cli. The results indicate that llama-bench achieves better single-threaded performance compared to llama-cli. What could be the reason for this difference?
test command:
./bin/llama-cli -m ../../../llm-model/qwen2.5-3b-q41.gguf -p "a prompt with 512 tokens" -n 128 -no-cnv --cpu-strict 1 -ngl 0 -t 1
./bin/llama-bench -m ../../../llm-model/qwen2.5-3b-q41.gguf -t 1--n-gpu-layers 0
test result:
231.98 ± 0.91 - 12.66 ± 0.00 (llama-bench)
183.56 - 12.08 (llama-cli)
Beta Was this translation helpful? Give feedback.
All reactions