This commit is contained in:
Justine Tunney 2025-01-28 13:06:19 -06:00 committed by GitHub
commit 58972e66a1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -588,7 +588,7 @@ struct clip_ctx {
ggml_backend_t backend = NULL;
ggml_gallocr_t compute_alloc = NULL;
struct clip_image_size * load_image_size;
struct clip_image_size * load_image_size = NULL;
};
static ggml_cgraph * clip_image_build_graph(clip_ctx * ctx, const clip_image_f32_batch * imgs, struct clip_image_size * load_image_size, bool is_inf = false) {