diff --git a/examples/llava/llava.cpp b/examples/llava/llava.cpp index 42d00082b..4ba89eb97 100644 --- a/examples/llava/llava.cpp +++ b/examples/llava/llava.cpp @@ -101,7 +101,7 @@ static bool handle_patches(clip_ctx * ctx_clip, std::vector & image_emb num_patches_per_side, num_patches_width, num_patches_height, - size_ele * num_patches_per_side * clip_n_mmproj_embd(ctx_clip), + size_ele * num_patches_per_side * clip_n_mmproj_embd(ctx_clip), size_ele * num_patches_per_side * clip_n_mmproj_embd(ctx_clip) * num_patches_per_side, size_ele * num_patches_per_side * clip_n_mmproj_embd(ctx_clip) * num_patches_per_side * num_patches_width, 0); // ggml_tensor_printf(image_features_patchview,"image_features_patchview",__LINE__,false,false);