Skip to content

Commit

Permalink
llama-bench: more compact markdown tables (ggerganov#7879)
Browse files Browse the repository at this point in the history
  • Loading branch information
JohannesGaessler authored Jun 11, 2024
1 parent 4bfe50f commit 148995e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions examples/llama-bench/llama-bench.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1033,6 +1033,27 @@ struct markdown_printer : public printer {
if (field == "n_gpu_layers") {
return 3;
}
if (field == "n_threads") {
return 7;
}
if (field == "n_batch") {
return 7;
}
if (field == "n_ubatch") {
return 8;
}
if (field == "type_k" || field == "type_v") {
return 6;
}
if (field == "split_mode") {
return 5;
}
if (field == "flash_attn") {
return 2;
}
if (field == "use_mmap") {
return 4;
}
if (field == "test") {
return 13;
}
Expand Down

0 comments on commit 148995e

Please sign in to comment.