Skip to content

Commit

Permalink
server : disable llm logs if SERVER_VERBOSE is off (ggerganov#3792)
Browse files Browse the repository at this point in the history
  • Loading branch information
olexiyb authored Dec 17, 2023
1 parent 8edd2b4 commit 0ffc92d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions examples/server/server.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 0ffc92d

Please sign in to comment.