summaryrefslogtreecommitdiff
path: root/examples/llava/llava-utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/llava/llava-utils.h')
-rw-r--r--examples/llava/llava-utils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/llava/llava-utils.h b/examples/llava/llava-utils.h
index 4e71351d..e050b59b 100644
--- a/examples/llava/llava-utils.h
+++ b/examples/llava/llava-utils.h
@@ -17,7 +17,7 @@ inline bool eval_image_embd(llama_context * ctx_llama, float * embd, int N, int
if (n_eval > n_batch) {
n_eval = n_batch;
}
- llama_batch batch = {int32_t(n_eval), nullptr, (embd+i*n_embd), nullptr, nullptr, nullptr, *n_past, 1, 0, };
+ llama_batch batch = {int32_t(n_eval), nullptr, (embd+i*n_embd), nullptr, nullptr, nullptr, nullptr, *n_past, 1, 0, };
if (llama_decode(ctx_llama, batch)) {
fprintf(stderr, "%s : failed to eval\n", __func__);
return false;