We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d2be732 commit c7c4d65Copy full SHA for c7c4d65
llama.cpp/llama-bench/llama-bench.cpp
@@ -265,8 +265,8 @@ static const cmd_params cmd_params_defaults = {
265
/* n_pg */ {},
266
/* n_batch */ {2048},
267
/* n_ubatch */ {512},
268
- /* type_k */ {GGML_TYPE_F16},
269
- /* type_v */ {GGML_TYPE_F16},
+ /* type_k */ {X86_HAVE(AVX512_BF16) ? GGML_TYPE_BF16 : GGML_TYPE_F16},
+ /* type_v */ {X86_HAVE(AVX512_BF16) ? GGML_TYPE_BF16 : GGML_TYPE_F16},
270
/* n_threads */ {cpu_get_num_math()},
271
/* n_gpu_layers */ {0},
272
/* split_mode */ {LLAMA_SPLIT_MODE_LAYER},
0 commit comments