Skip to content

Commit 1576c82

Browse files
committed
fix compilation unused var warn
1 parent 3b25bd9 commit 1576c82

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/llava/llava2.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,8 @@ int32_t llava2_tokenize(llava2_context_ptr & ctx,
151151
}
152152

153153
llava2_image_tokens image_tokens;
154-
//image_tokens.nx = ...;
155-
//image_tokens.ny = ...;
154+
image_tokens.nx = 0; // TODO
155+
image_tokens.ny = 0; // TODO
156156
image_tokens.n_tokens = clip_n_patches(ctx->ctx_clip); // TODO @ngxson : use clip_n_patches_by_image
157157
image_tokens.data = std::unique_ptr<llava2_image_tokens_data>(
158158
new llava2_image_tokens_data{

0 commit comments

Comments
 (0)