Skip to content

Distribute and run LLMs with a single file.

Make LLaVA more shell script friendly

Justine Tunney6cb036c80dde
diff --git a/llama.cpp/llava/llava-cli.cpp b/llama.cpp/llava/llava-cli.cpp
index d68a12fd..acdc94fa 100644
--- a/llama.cpp/llava/llava-cli.cpp
+++ b/llama.cpp/llava/llava-cli.cpp
@@ -219,7 +219,7 @@ static void process_prompt(struct llava_context * ctx_llava, struct llava_image_
// generate the response
- printf("\n");
+ fprintf(stderr, "\n");
for (int i = 0; i < max_tgt_len; i++) {
const char * tmp = sample(ctx_llava->ctx_llama, *params, &n_past);