server : disable llm logs if SERVER_VERBOSE is off (#3792)

This commit is contained in:
olexiyb authored and GitHub committed 2023-12-17 17:02:16 +02:00
1 parent 8edd2b40fd
commit 0ffc92d2d2
1 file changed
+3
+3
View File
@@ -2645,6 +2645,9 @@ static void append_to_generated_text_from_generated_token_probs(llama_server_con
int main(int argc, char **argv)
{
#if SERVER_VERBOSE != 1
log_disable();
#endif
// own arguments required by this example
gpt_params params;
server_params sparams;