summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorJohannes Gäßler <johannesg@5d6.de>2024-06-11 14:45:40 +0200
committerGitHub <noreply@github.com>2024-06-11 14:45:40 +0200
commit148995e5e57b313cce2672f75610db58c6327a51 (patch)
tree6eda6ed84ff3652e6ec9297ec2cebf3e03a5d8f1 /examples
parent4bfe50f741479c1df1c377260c3ff5702586719e (diff)
llama-bench: more compact markdown tables (#7879)
Diffstat (limited to 'examples')
-rw-r--r--examples/llama-bench/llama-bench.cpp21
1 files changed, 21 insertions, 0 deletions
diff --git a/examples/llama-bench/llama-bench.cpp b/examples/llama-bench/llama-bench.cpp
index 5c31548a..61f5a5a0 100644
--- a/examples/llama-bench/llama-bench.cpp
+++ b/examples/llama-bench/llama-bench.cpp
@@ -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;
}