make kv_f16 the default for api users (#1517)

This commit is contained in:
Erik Scholz 2023-05-18 19:31:01 +02:00 committed by GitHub
parent ee9654138a
commit 5ea4339273
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -814,7 +814,7 @@ struct llama_context_params llama_context_default_params() {
/*.n_ctx =*/ 512, /*.n_ctx =*/ 512,
/*.gpu_layers =*/ 0, /*.gpu_layers =*/ 0,
/*.seed =*/ -1, /*.seed =*/ -1,
/*.f16_kv =*/ false, /*.f16_kv =*/ true,
/*.logits_all =*/ false, /*.logits_all =*/ false,
/*.vocab_only =*/ false, /*.vocab_only =*/ false,
/*.use_mmap =*/ true, /*.use_mmap =*/ true,