-
Notifications
You must be signed in to change notification settings - Fork 9.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
llama-bench : log benchmark progress #9287
Conversation
b3ff9a5
to
893f9f4
Compare
This will break every use case except when redirecting stdout. |
Are you aware that you can use I could see this implemented as type of printer that only prints a detailed progress report so that you can use eg. |
Every use case? 😱 😄 Fair, I added a commit to only print them when
Yep, I am (via #9288 :) ) |
7c3023e
to
02ac357
Compare
@slaren Mind taking another look? Thanks :) |
I do not really see the point of this change. Even with verbose, this would add output that I would rather not see in verbose mode. It seems that it is trying to solve the same problem for which |
My UC is simply being able to see the progress of a benchmark run more granularly. For instance, it's not quite clear that there's a warmup thing – I was initially mightily confused seeing 6 I think progress indication is also useful to figure out if e.g. a remote benchmark run may have crashed or timed out. |
I wouldn't want to see this even in verbose mode, but that wouldn't be a problem if it was optional and gated behind a command line parameter. Also please change the |
Sure.
Will do.
It is (since #8672 last week), which is why I was using it: llama.cpp/examples/llama-bench/llama-bench.cpp Line 1559 in 8ebe8dd
llama.cpp/examples/llama-bench/llama-bench.cpp Line 1568 in 8ebe8dd
Should these get changed too? |
02ac357
to
eb9f945
Compare
Yes, thanks for pointing that. It can be done in a different PR. |
* llama-bench : add optional progress messages
Simply adds logging for the parameter set index and number of parameter sets before each test in
llama-bench
, to make it easier to gauge how long it'll still take.