Skip to content

Commit d60fdbf

Browse files
llama-bench: default params for depth arg for faster execution
1 parent 27a8248 commit d60fdbf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/llama-bench/llama-bench.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1649,7 +1649,7 @@ int main(int argc, char ** argv) {
16491649
fprintf(stderr, "llama-bench: benchmark %d/%zu: depth run %d/%d\n", params_idx, params_count,
16501650
i + 1, params.reps);
16511651
}
1652-
test_prompt(ctx, t.n_depth, t.n_batch, t.n_threads);
1652+
test_prompt(ctx, t.n_depth, 512, cpu_get_num_math());
16531653
}
16541654

16551655
uint64_t t_start = get_time_ns();

0 commit comments

Comments
 (0)