Distribute and run LLMs with a single file.
C++ cross-platformggufllama-cpplocal-ailocal-inferencelocal-llmopen-source-aisingle-file-executablespeech-to-text
Fix logic around <img> prompts
Justine Tunney85f9c74df132
diff --git a/llama.cpp/main/main.cpp b/llama.cpp/main/main.cppindex 3b8ebcec..5eea639f 100644--- a/llama.cpp/main/main.cpp+++ b/llama.cpp/main/main.cpp@@ -152,7 +152,7 @@ int main(int argc, char ** argv) {llama_log_set(llama_log_callback_logTee, nullptr);#endif // LOG_DISABLE_LOGS- if (!params.image.empty() ||+ if (!params.image.empty() &¶ms.prompt.find("<img src=\"") != std::string::npos) {return llava_cli(argc, argv, ¶ms);}