]> git.djapps.eu Git - pkg/ggml/sources/llama.cpp/commitdiff
make kv_f16 the default for api users (#1517)
authorErik Scholz <redacted>
Thu, 18 May 2023 17:31:01 +0000 (19:31 +0200)
committerGitHub <redacted>
Thu, 18 May 2023 17:31:01 +0000 (19:31 +0200)
llama.cpp

index 6e19064fc14daff6b5078250e2f8662276295b3a..1f9d3784415ec132ff2c2c96991cd31cb3b37d18 100644 (file)
--- a/llama.cpp
+++ b/llama.cpp
@@ -814,7 +814,7 @@ struct llama_context_params llama_context_default_params() {
         /*.n_ctx                       =*/ 512,
         /*.gpu_layers                  =*/ 0,
         /*.seed                        =*/ -1,
-        /*.f16_kv                      =*/ false,
+        /*.f16_kv                      =*/ true,
         /*.logits_all                  =*/ false,
         /*.vocab_only                  =*/ false,
         /*.use_mmap                    =*/ true,