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

This commit is contained in:
olexiyb 2023-12-17 17:02:16 +02:00 committed by GitHub
parent 8edd2b40fd
commit 0ffc92d2d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;