diff --git a/examples/llava/clip.cpp b/examples/llava/clip.cpp index cb6da1f4a..480be8639 100644 --- a/examples/llava/clip.cpp +++ b/examples/llava/clip.cpp @@ -650,7 +650,7 @@ static ggml_cgraph * clip_image_build_graph(clip_ctx * ctx, const clip_image_f32 if (ctx->has_minicpmv_projector){ n_layer += 1; } - for (int il = 0; il < n_layer-1; il++) { + for (int il = 0; il < n_layer - 1; il++) { struct ggml_tensor * cur = embeddings; // embeddings = residual, cur = hidden_states //const size_t nb_q_w = model.layers[il].q_w->nb[0];