server: disable llm logs if SERVER_VERBOSE is off

This commit is contained in:
Olexiy Buyanskyy 2023-10-25 18:52:39 +03:00
parent 6961c4bd0b
commit 1aef336f16
No known key found for this signature in database
GPG key ID: 21AEED2285E00857

View file

@ -2193,6 +2193,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;