Skip to content

Commit

Permalink
add space in "-1"
Browse files Browse the repository at this point in the history
  • Loading branch information
tc-mb committed Jun 25, 2024
1 parent e68c8bc commit 4c67d7c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/llava/clip.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit 4c67d7c

Please sign in to comment.