From a7054a11a96a15c809042dbe483c04b2569885c8 Mon Sep 17 00:00:00 2001 From: liyuhang Date: Wed, 29 Jan 2025 08:33:58 +0800 Subject: [PATCH] format clip.cpp --- examples/llava/clip.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/llava/clip.cpp b/examples/llava/clip.cpp index 82bf11e16..1e6fb4383 100644 --- a/examples/llava/clip.cpp +++ b/examples/llava/clip.cpp @@ -2553,7 +2553,7 @@ bool clip_image_batch_encode(clip_ctx * ctx, const int n_threads, const clip_ima if (ctx->has_minicpmv_projector) { GGML_ASSERT(batch_size == 1); } - if(ctx->has_glm_projector){ + if(ctx->has_glm_projector) { GGML_ASSERT(batch_size == 1); ggml_tensor * boi = ctx->vision_model.boi_w; ggml_backend_tensor_get(boi,vec,0,ggml_nbytes(boi));