Skip to content

Commit 978c88b

Browse files
committed
cont : add TODO
1 parent 5e58711 commit 978c88b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/llama.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -956,6 +956,7 @@ extern "C" {
956956
// in the order they have appeared in the batch.
957957
// Rows: number of tokens for which llama_batch.logits[i] != 0
958958
// Cols: n_vocab
959+
// TODO: deprecate in favor of llama_get_logits_ith() (ref: https://github.com/ggml-org/llama.cpp/pull/14853#issuecomment-3113143522)
959960
LLAMA_API float * llama_get_logits(struct llama_context * ctx);
960961

961962
// Logits for the ith token. For positive indices, Equivalent to:
@@ -970,6 +971,7 @@ extern "C" {
970971
// in the order they have appeared in the batch.
971972
// shape: [n_outputs*n_embd]
972973
// Otherwise, returns NULL.
974+
// TODO: deprecate in favor of llama_get_embeddings_ith() (ref: https://github.com/ggml-org/llama.cpp/pull/14853#issuecomment-3113143522)
973975
LLAMA_API float * llama_get_embeddings(struct llama_context * ctx);
974976

975977
// Get the embeddings for the ith token. For positive indices, Equivalent to:

0 commit comments

Comments
 (0)