Skip to content

Commit dd50832

Browse files
committed
fix style
1 parent 79c5656 commit dd50832

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/llava/clip.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1214,7 +1214,7 @@ struct clip_model_loader {
12141214
get_bool(KEY_HAS_GLM_PROJ, ctx_clip.has_glm_projector, false);
12151215
get_bool(KEY_HAS_QWEN2VL_MERGER, ctx_clip.has_qwen2vl_merger, false);
12161216
// !!! do NOT extend the list above, use KEY_PROJ_TYPE instead
1217-
1217+
12181218
get_bool(KEY_USE_GELU, ctx_clip.use_gelu, false);
12191219
get_bool(KEY_USE_SILU, ctx_clip.use_silu, false);
12201220

@@ -1231,7 +1231,7 @@ struct clip_model_loader {
12311231
get_arr_int(KEY_IMAGE_GRID_PINPOINTS, hparams.image_grid_pinpoints, false);
12321232

12331233
// TODO @ngxson : missing KEY_MM_PATCH_MERGE_TYPE
1234-
1234+
12351235
{
12361236
int idx_mean = gguf_find_key(ctx_gguf.get(), KEY_IMAGE_MEAN);
12371237
int idx_std = gguf_find_key(ctx_gguf.get(), KEY_IMAGE_STD);
@@ -1473,7 +1473,7 @@ struct clip_model_loader {
14731473
if (!fin) {
14741474
throw std::runtime_error(string_format("%s: failed to open %s\n", __func__, fname.c_str()));
14751475
}
1476-
1476+
14771477
// alloc memory and offload data
14781478
ggml_backend_buffer_type_t buft = ggml_backend_get_default_buffer_type(ctx_clip.backend);
14791479
ctx_clip.buf = ggml_backend_alloc_ctx_tensors_from_buft(ctx_clip.ctx_data, buft);

0 commit comments

Comments
 (0)