Skip to content

Commit b3ff9a5

Browse files
committed
llama-bench : log benchmark progress
1 parent b60074f commit b3ff9a5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

examples/llama-bench/llama-bench.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1491,7 +1491,10 @@ int main(int argc, char ** argv) {
14911491
llama_model * lmodel = nullptr;
14921492
const cmd_params_instance * prev_inst = nullptr;
14931493

1494+
int params_idx = 1;
14941495
for (const auto & inst : params_instances) {
1496+
LOG_TEE("llama-bench: starting benchmark %d/%ld\n", params_idx, params_instances.size());
1497+
params_idx ++;
14951498
// keep the same model between tests when possible
14961499
if (!lmodel || !prev_inst || !inst.equal_mparams(*prev_inst)) {
14971500
if (lmodel) {

0 commit comments

Comments
 (0)