Skip to content

Commit 148995e

Browse files
llama-bench: more compact markdown tables (#7879)
1 parent 4bfe50f commit 148995e

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

examples/llama-bench/llama-bench.cpp

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1033,6 +1033,27 @@ struct markdown_printer : public printer {
10331033
if (field == "n_gpu_layers") {
10341034
return 3;
10351035
}
1036+
if (field == "n_threads") {
1037+
return 7;
1038+
}
1039+
if (field == "n_batch") {
1040+
return 7;
1041+
}
1042+
if (field == "n_ubatch") {
1043+
return 8;
1044+
}
1045+
if (field == "type_k" || field == "type_v") {
1046+
return 6;
1047+
}
1048+
if (field == "split_mode") {
1049+
return 5;
1050+
}
1051+
if (field == "flash_attn") {
1052+
return 2;
1053+
}
1054+
if (field == "use_mmap") {
1055+
return 4;
1056+
}
10361057
if (field == "test") {
10371058
return 13;
10381059
}

0 commit comments

Comments
 (0)