diff options
author | crasm <crasm@git.vczf.us> | 2023-12-12 04:25:57 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-12 11:25:57 +0200 |
commit | 6391817cd19a4507c6c941a1fd08756268662b2d (patch) | |
tree | 846d721b6a2f605c1010b43d4eee6cc28db88782 | |
parent | d9d4cfef64ea416dd66632173787d03ffb180cc7 (diff) |
llama : document logits_all deprecation (#4418)
llama_context_params.logits_all is a parameter for controlling
llama_eval. This documents that logits_all should not be used with
llama_decode and llama_batch.
-rw-r--r-- | llama.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -216,7 +216,7 @@ extern "C" { // Keep the booleans together to avoid misalignment during copy-by-value. bool mul_mat_q; // if true, use experimental mul_mat_q kernels (DEPRECATED - always true) - bool logits_all; // the llama_eval() call computes all logits, not just the last one + bool logits_all; // the llama_eval() call computes all logits, not just the last one (DEPRECATED - set llama_batch.logits instead) bool embedding; // embedding mode only bool offload_kqv; // whether to offload the KQV ops (including the KV cache) to GPU }; |