mirror of
https://github.com/ggerganov/llama.cpp.git
synced 2024-12-24 13:28:50 +01:00
server : disable llm logs if SERVER_VERBOSE is off (#3792)
This commit is contained in:
parent
8edd2b40fd
commit
0ffc92d2d2
@ -2645,6 +2645,9 @@ static void append_to_generated_text_from_generated_token_probs(llama_server_con
|
|||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
|
#if SERVER_VERBOSE != 1
|
||||||
|
log_disable();
|
||||||
|
#endif
|
||||||
// own arguments required by this example
|
// own arguments required by this example
|
||||||
gpt_params params;
|
gpt_params params;
|
||||||
server_params sparams;
|
server_params sparams;
|
||||||
|
Loading…
Reference in New Issue
Block a user