We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent baa882a commit 0531096Copy full SHA for 0531096
tools/mtmd/clip.cpp
@@ -2602,7 +2602,6 @@ struct clip_model_loader {
2602
img->nx = hparams.warmup_audio_size;
2603
img->ny = hparams.n_mel_bins;
2604
}
2605
- img->buf.resize(img->nx * img->ny * 3);
2606
batch.entries.push_back(std::move(img));
2607
2608
ggml_cgraph * gf = clip_image_build_graph(&ctx_clip, batch);
tools/mtmd/clip.h
@@ -24,7 +24,6 @@ enum clip_modality {
24
25
struct clip_context_params {
26
bool use_gpu;
27
- enum clip_modality modality;
28
enum ggml_log_level verbosity;
29
};
30
0 commit comments