|
28 | 28 | "model_type", "model_size", "model_n_params", "n_batch", "n_ubatch", "n_threads", |
29 | 29 | "cpu_mask", "cpu_strict", "poll", "type_k", "type_v", "n_gpu_layers", |
30 | 30 | "split_mode", "main_gpu", "no_kv_offload", "flash_attn", "tensor_split", "tensor_buft_overrides", |
31 | | - "use_mmap", "embeddings", "no_op_offload", "n_prompt", "n_gen", "n_depth", |
| 31 | + "load_mode", "embeddings", "no_op_offload", "n_prompt", "n_gen", "n_depth", |
32 | 32 | "test_time", "avg_ns", "stddev_ns", "avg_ts", "stddev_ts", "n_cpu_moe", |
33 | 33 | "fit_target", "fit_min_ctx" |
34 | 34 | ] |
|
38 | 38 | "TEXT", "INTEGER", "INTEGER", "INTEGER", "INTEGER", "INTEGER", |
39 | 39 | "TEXT", "INTEGER", "INTEGER", "TEXT", "TEXT", "INTEGER", |
40 | 40 | "TEXT", "INTEGER", "INTEGER", "INTEGER", "TEXT", "TEXT", |
41 | | - "INTEGER", "INTEGER", "INTEGER", "INTEGER", "INTEGER", "INTEGER", |
| 41 | + "TEXT", "INTEGER", "INTEGER", "INTEGER", "INTEGER", "INTEGER", |
42 | 42 | "TEXT", "INTEGER", "INTEGER", "REAL", "REAL", "INTEGER", |
43 | 43 | "INTEGER", "INTEGER" |
44 | 44 | ] |
|
63 | 63 | LLAMA_BENCH_KEY_PROPERTIES = [ |
64 | 64 | "cpu_info", "gpu_info", "backends", "n_gpu_layers", "n_cpu_moe", "tensor_buft_overrides", "model_filename", "model_type", |
65 | 65 | "n_batch", "n_ubatch", "embeddings", "cpu_mask", "cpu_strict", "poll", "n_threads", "type_k", "type_v", |
66 | | - "use_mmap", "no_kv_offload", "split_mode", "main_gpu", "tensor_split", "flash_attn", "n_prompt", "n_gen", "n_depth", |
| 66 | + "load_mode", "no_kv_offload", "split_mode", "main_gpu", "tensor_split", "flash_attn", "n_prompt", "n_gen", "n_depth", |
67 | 67 | "fit_target", "fit_min_ctx" |
68 | 68 | ] |
69 | 69 |
|
|
73 | 73 | ] |
74 | 74 |
|
75 | 75 | # Properties that are boolean and are converted to Yes/No for the table: |
76 | | -LLAMA_BENCH_BOOL_PROPERTIES = ["embeddings", "cpu_strict", "use_mmap", "no_kv_offload", "flash_attn"] |
| 76 | +LLAMA_BENCH_BOOL_PROPERTIES = ["embeddings", "cpu_strict", "no_kv_offload", "flash_attn"] |
77 | 77 | TEST_BACKEND_OPS_BOOL_PROPERTIES = ["supported", "passed"] |
78 | 78 |
|
79 | 79 | # Header names for the table (llama-bench): |
|
82 | 82 | "tensor_buft_overrides": "Tensor overrides", "model_filename": "File", "model_type": "Model", "model_size": "Model size [GiB]", |
83 | 83 | "model_n_params": "Num. of par.", "n_batch": "Batch size", "n_ubatch": "Microbatch size", "embeddings": "Embeddings", |
84 | 84 | "cpu_mask": "CPU mask", "cpu_strict": "CPU strict", "poll": "Poll", "n_threads": "Threads", "type_k": "K type", "type_v": "V type", |
85 | | - "use_mmap": "Use mmap", "no_kv_offload": "NKVO", "split_mode": "Split mode", "main_gpu": "Main GPU", "tensor_split": "Tensor split", |
| 85 | + "load_mode": "Load mode", "no_kv_offload": "NKVO", "split_mode": "Split mode", "main_gpu": "Main GPU", "tensor_split": "Tensor split", |
86 | 86 | "flash_attn": "FlashAttention", |
87 | 87 | } |
88 | 88 |
|
|
0 commit comments