Distribute and run LLMs with a single file.
C++ cross-platformggufllama-cpplocal-ailocal-inferencelocal-llmopen-source-aisingle-file-executablespeech-to-text
Fix undefined behavior in llava clip
Justine Tunney65745b0da840
diff --git a/llama.cpp/llava/clip.cpp b/llama.cpp/llava/clip.cppindex 93608117..d7989562 100644--- a/llama.cpp/llava/clip.cpp+++ b/llama.cpp/llava/clip.cpp@@ -545,7 +545,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) {