fixed embeddings, added new parameter to limit max embeddings context

This commit is contained in:
Concedo
2025-06-10 01:11:55 +08:00
parent 8780b33c64
commit 7d8aa31f1f
6 changed files with 360 additions and 9 deletions
+1 -1
View File
@@ -890,7 +890,7 @@ int llama_context::encode(llama_batch & inp_batch) {
int llama_context::decode(llama_batch & inp_batch) {
if (!memory) {
LLAMA_LOG_DEBUG("%s: cannot decode batches with this context (calling encode() instead)\n", __func__);
//LLAMA_LOG_DEBUG("%s: cannot decode batches with this context (calling encode() instead)\n", __func__);
return encode(inp_batch);
}